aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-06-08 23:34:48 -0400
committerRob Austein <sra@hactrn.net>2017-06-08 23:34:48 -0400
commit1f2bce7a6aba39599e888a6bbe47f8fad4e98acb (patch)
treea8eaaa6a0d837c18f720a5bce623dada0dd0ad4e
parent95ca2a828316b5350325d9c4bf33b0e2085ff360 (diff)
Add PyCrypto to package dependencies on OSX.
Python package dependencies in Homebrew packages are tricky enough that it's easiest just to install PyCrypto unconditionally on OSX.
-rwxr-xr-xscripts/build-homebrew-formula.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/build-homebrew-formula.py b/scripts/build-homebrew-formula.py
index a8e387c..54cdcae 100755
--- a/scripts/build-homebrew-formula.py
+++ b/scripts/build-homebrew-formula.py
@@ -81,6 +81,11 @@ class {classname} < Formula
sha256 "033be54514a03e255df75c5aee8f9e672f663f93abb723444caec8fe43437bde"
end
+ resource "pycrypto" do
+ url "https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz"
+ sha256 "f2ce1e989b272cfcb677616763e0a2e7ec659effa67a88aa92b3a65528f60a3c"
+ end
+
def install
ENV.prepend_create_path "PYTHONPATH", libexec/"vendor/lib/python2.7/site-packages"