[152239] trunk/dports/python/py-gsl/Portfile
petr at macports.org
petr at macports.org
Thu Sep 1 10:45:45 PDT 2016
Revision: 152239
https://trac.macports.org/changeset/152239
Author: petr at macports.org
Date: 2016-09-01 10:45:45 -0700 (Thu, 01 Sep 2016)
Log Message:
-----------
py-gsl: update to @2.2.0, adds py34 and py35 subport, closes #50069.
Modified Paths:
--------------
trunk/dports/python/py-gsl/Portfile
Modified: trunk/dports/python/py-gsl/Portfile
===================================================================
--- trunk/dports/python/py-gsl/Portfile 2016-09-01 15:25:19 UTC (rev 152238)
+++ trunk/dports/python/py-gsl/Portfile 2016-09-01 17:45:45 UTC (rev 152239)
@@ -5,8 +5,7 @@
PortGroup python 1.0
name py-gsl
-version 0.9.5
-revision 1
+version 2.2.0
categories-append science
license GPL-2+
platforms darwin
@@ -19,29 +18,23 @@
homepage http://pygsl.sourceforge.net/
master_sites sourceforge:pygsl
distname pygsl-${version}
-checksums md5 fca5cbda1380218a28f2ebdc15a224fb \
- sha1 718064cd6c9d50cae5048c920ab7ab2324d27c88 \
- rmd160 0b9d2654bc1cfb84649603b2680932c4ce47a849
-python.versions 27
+checksums rmd160 60858ec54a2713a6f9eb35d8f03dc865dd6f9f83 \
+ sha256 200e7986c368cb815685e502993e5211702219e1a0bb79030d671c35df25a59e
+python.versions 27 34 35
+
if {${name} ne ${subport}} {
- build.env-append CPPFLAGS="-I${prefix}/include/gsl -I${python.include} ${configure.cppflags}"
depends_build port:swig-python
- depends_lib-append port:gsl
+ depends_lib-append port:gsl\
+ port:py${python.version}-numpy
- variant Numeric conflicts numpy description "Use Numeric as array-object" {
- depends_lib-append port:py${python.version}-numeric
- build.args --array-object=Numeric
- }
- variant numpy conflicts Numeric description "Use numpy as array-object" {
- depends_lib-append port:py${python.version}-numpy
- build.args --array-object=numpy
- }
- if {![variant_isset Numeric]} {
- default_variants +numpy
- }
+ # configure step is new, JJS 4/28/16
+ use_configure yes
+ configure.cmd ${python.bin} setup.py config
+ # blank pre_args
+ configure.pre_args
post-destroot {
xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${subport}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160901/e541183e/attachment.html>
More information about the macports-changes
mailing list