From 5c1b8d6e22ed1cea45ee5a1d6eba2ed213f298d5 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Wed, 3 Jan 2018 02:23:18 -0800 Subject: [PATCH] python3: revision for gdbm add regression test for _gdbm module import Closes #22395. Signed-off-by: ilovezfs --- Formula/python3.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/python3.rb b/Formula/python3.rb index 8f0cdadf14..880b67eab0 100644 --- a/Formula/python3.rb +++ b/Formula/python3.rb @@ -3,6 +3,7 @@ class Python3 < Formula homepage "https://www.python.org/" url "https://www.python.org/ftp/python/3.6.4/Python-3.6.4.tar.xz" sha256 "159b932bf56aeaa76fd66e7420522d8c8853d486b8567c459b84fe2ed13bcaba" + revision 1 head "https://github.com/python/cpython", :using => :git bottle do @@ -357,6 +358,7 @@ class Python3 < Formula system "#{bin}/python#{xy}", "-c", "import sqlite3" # Check if some other modules import. Then the linked libs are working. system "#{bin}/python#{xy}", "-c", "import tkinter; root = tkinter.Tk()" + system "#{bin}/python#{xy}", "-c", "import _gdbm" system bin/"pip3", "list" end end