python3: revision for gdbm
add regression test for _gdbm module import Closes #22395. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
ed36130bc3
commit
5c1b8d6e22
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue