ports/149423: Update port: security/py-pycrypto
Keith Gaughan
k at stereochro.me
Wed Aug 11 17:40:03 UTC 2010
The following reply was made to PR ports/149423; it has been noted by GNATS.
From: Keith Gaughan <k at stereochro.me>
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: ports/149423: Update port: security/py-pycrypto
Date: Wed, 11 Aug 2010 18:19:56 +0100
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Tested. Fixed an issue with the setup.py patch involving tabs where
there ought to have been spaces. Otherwise the patch was good. Fixed
patch is attached.
--
Keith Gaughan - k at stereochro.me - http://stereochro.me/ - CF9F6473
... you've left the lens cap on your mind again.
-- from "Pinky and The Brain"
--3MwIy2ne0vdjdPXF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pycrypto.2.2.patch.txt"
diff -ruNd py-pycrypto.bak/Makefile py-pycrypto/Makefile
--- py-pycrypto.bak/Makefile 2010-04-19 11:43:41.000000000 +0100
+++ py-pycrypto/Makefile 2010-08-09 13:14:28.000000000 +0100
@@ -6,8 +6,7 @@
#
PORTNAME= pycrypto
-PORTVERSION= 2.1.0
-PORTREVISION= 1
+PORTVERSION= 2.2
CATEGORIES= security python
MASTER_SITES= http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff -ruNd py-pycrypto.bak/distinfo py-pycrypto/distinfo
--- py-pycrypto.bak/distinfo 2010-01-01 04:47:56.000000000 +0000
+++ py-pycrypto/distinfo 2010-08-09 13:14:28.000000000 +0100
@@ -1,3 +1,3 @@
-MD5 (pycrypto-2.1.0.tar.gz) = 1d3eb04f06e6f09a080bc37fb019f9bf
-SHA256 (pycrypto-2.1.0.tar.gz) = 253e1c22ea0249f0429df4f7e2eb973b119c83b146c0f421298f5e8e6822d8a2
-SIZE (pycrypto-2.1.0.tar.gz) = 265388
+MD5 (pycrypto-2.2.tar.gz) = 4f0ed728b14b98f09120cb2ec461ec98
+SHA256 (pycrypto-2.2.tar.gz) = 9219449bc85ab4f4ff61fc83b0cbe0ec23d46943caab3d5413c6ba52da6f922c
+SIZE (pycrypto-2.2.tar.gz) = 331270
diff -ruNd py-pycrypto.bak/files/patch-setup.py py-pycrypto/files/patch-setup.py
--- py-pycrypto.bak/files/patch-setup.py 2010-01-01 04:47:56.000000000 +0000
+++ py-pycrypto/files/patch-setup.py 2010-08-09 13:18:10.000000000 +0100
@@ -1,14 +1,14 @@
---- ./setup.py.orig 2009-12-13 21:39:29.000000000 +0100
-+++ ./setup.py 2009-12-14 16:48:47.000000000 +0100
-@@ -136,6 +136,7 @@
+--- setup.py.orig 2010-08-08 14:02:23.895825034 +0200
++++ setup.py 2010-08-08 14:04:31.663792751 +0200
+@@ -139,6 +139,7 @@
# especially helps the DES modules.
self.__add_compiler_option("-O3")
self.__add_compiler_option("-fomit-frame-pointer")
+ self.__add_compiler_option("-D_WCHAR_T_DEFINED")
# Don't include debug symbols unless debugging
self.__remove_compiler_option("-g")
- if USE_GCOV:
-@@ -152,7 +153,7 @@
+ # Don't include profiling information (incompatible with -fomit-frame-pointer)
+@@ -157,7 +158,7 @@
self.compiler.include_dirs.insert(0, "src/inc-msvc/")
# Detect libgmp and don't build _fastmath if it is missing.
@@ -17,7 +17,7 @@
if not (self.compiler.find_library_file(lib_dirs, 'gmp')):
print >>sys.stderr, "warning: GMP library not found; Not building Crypto.PublicKey._fastmath."
self.__remove_extensions(["Crypto.PublicKey._fastmath"])
-@@ -259,6 +260,7 @@
+@@ -264,6 +265,7 @@
Extension("Crypto.PublicKey._fastmath",
include_dirs=['src/'],
libraries=['gmp'],
diff -ruNd py-pycrypto.bak/pkg-plist py-pycrypto/pkg-plist
--- py-pycrypto.bak/pkg-plist 2010-01-01 04:47:56.000000000 +0000
+++ py-pycrypto/pkg-plist 2010-08-09 13:14:28.000000000 +0100
@@ -175,6 +175,9 @@
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_RSA.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_RSA.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_RSA.pyo
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_importKey.py
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_importKey.pyc
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_importKey.pyo
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Random/Fortuna/__init__.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Random/Fortuna/__init__.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Random/Fortuna/__init__.pyo
@@ -217,6 +220,9 @@
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/__init__.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/__init__.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/__init__.pyo
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_asn1.py
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_asn1.pyc
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_asn1.pyo
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_Counter.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_Counter.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_Counter.pyo
@@ -232,6 +238,9 @@
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/st_common.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/st_common.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/st_common.pyo
+%%PYTHON_SITELIBDIR%%/Crypto/Util/asn1.py
+%%PYTHON_SITELIBDIR%%/Crypto/Util/asn1.pyc
+%%PYTHON_SITELIBDIR%%/Crypto/Util/asn1.pyo
%%PYTHON_SITELIBDIR%%/Crypto/Util/Counter.py
%%PYTHON_SITELIBDIR%%/Crypto/Util/Counter.pyc
%%PYTHON_SITELIBDIR%%/Crypto/Util/Counter.pyo
--3MwIy2ne0vdjdPXF--
More information about the freebsd-python
mailing list