[109023] trunk/dports/python/py-gmpy2
macsforever2000 at macports.org
macsforever2000 at macports.org
Tue Aug 6 10:42:47 PDT 2013
Revision: 109023
https://trac.macports.org/changeset/109023
Author: macsforever2000 at macports.org
Date: 2013-08-06 10:42:47 -0700 (Tue, 06 Aug 2013)
Log Message:
-----------
py-gmpy2: Update to version 2.0.1. (#40028)
Modified Paths:
--------------
trunk/dports/python/py-gmpy2/Portfile
Added Paths:
-----------
trunk/dports/python/py-gmpy2/files/
trunk/dports/python/py-gmpy2/files/patch-setup.py.diff
Modified: trunk/dports/python/py-gmpy2/Portfile
===================================================================
--- trunk/dports/python/py-gmpy2/Portfile 2013-08-06 17:05:53 UTC (rev 109022)
+++ trunk/dports/python/py-gmpy2/Portfile 2013-08-06 17:42:47 UTC (rev 109023)
@@ -6,7 +6,7 @@
name py-gmpy2
epoch 1
-version 2.0.0
+version 2.0.1
maintainers alluvialsw.com:md14-macports openmaintainer
license LGPL-2.1+
platforms darwin
@@ -21,14 +21,20 @@
master_sites googlecode:gmpy
distname gmpy2-${version}
use_zip yes
-checksums rmd160 f46c4ee9af8828bce476c940878616003bc06519 \
- sha256 ecaccceb8fa4f75e631ae0211fd1e1ca1c24d8cdcc371e961052d1d038ac577a
+checksums rmd160 b0ccb003b8733f2413647592fc2a34695b717a83 \
+ sha256 dee3515909ddcce704d666cd9716d04ed345e6368b77a7a0121e95c2dc86ab74
python.versions 26 27 31 32 33
if {$subport != $name} {
depends_lib-append port:gmp port:libmpc port:mpfr
+ patchfiles patch-setup.py.diff
+
+ post-patch {
+ reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
+ }
+
post-destroot {
xinstall -m 644 -W ${worksrcpath} README \
${destroot}${prefix}/share/doc/${subport}
Added: trunk/dports/python/py-gmpy2/files/patch-setup.py.diff
===================================================================
--- trunk/dports/python/py-gmpy2/files/patch-setup.py.diff (rev 0)
+++ trunk/dports/python/py-gmpy2/files/patch-setup.py.diff 2013-08-06 17:42:47 UTC (rev 109023)
@@ -0,0 +1,11 @@
+--- setup.py.orig 2013-07-27 18:48:08.000000000 -0700
++++ setup.py 2013-08-05 23:39:39.000000000 -0700
+@@ -87,7 +87,7 @@
+ if sys.version.find('MSC') == -1:
+ windows = False
+ base_dir = ['/usr']
+- addin_dirs = ['/usr/local']
++ addin_dirs = ['@PREFIX@']
+ else:
+ windows = True
+ base_dir = []
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130806/d7cb2b61/attachment.html>
More information about the macports-changes
mailing list