[110574] trunk/dports/python/py-dynd/Portfile

stromnov at macports.org stromnov at macports.org
Mon Sep 2 02:03:49 PDT 2013


Revision: 110574
          https://trac.macports.org/changeset/110574
Author:   stromnov at macports.org
Date:     2013-09-02 02:03:49 -0700 (Mon, 02 Sep 2013)
Log Message:
-----------
py-dynd: simplify (#40345)

Modified Paths:
--------------
    trunk/dports/python/py-dynd/Portfile

Modified: trunk/dports/python/py-dynd/Portfile
===================================================================
--- trunk/dports/python/py-dynd/Portfile	2013-09-02 09:02:13 UTC (rev 110573)
+++ trunk/dports/python/py-dynd/Portfile	2013-09-02 09:03:49 UTC (rev 110574)
@@ -6,12 +6,9 @@
 PortGroup           python 1.0
 PortGroup           cmake 1.0
 
-set version_string  "v0.4.2"
-set git_sha1        "9f9044e1b6f80869d230f9de73cfe887884bb04d"
-set distname_suf    "07f39d0"
+set git_sha1        9f9044e1b6f80869d230f9de73cfe887884bb04d
+github.setup        ContinuumIO dynd-python 0.4.2 v
 
-github.setup        ContinuumIO dynd-python ${version_string}
-
 name                py-dynd
 categories-append   devel
 platforms           darwin
@@ -27,12 +24,10 @@
                     Python exposure of the DyND dynamic multi-dimensional \
                     array library.
 
-homepage            https://github.com/ContinuumIO/dynd-python
-
 checksums           rmd160  41ca9cd0faa0903cea34977f2ca9d39535cc4dcc \
                     sha256  aadb8ba2d654c026d92bf8740c35211457f3ea12b3541dc623094a70164968ff
 
-if {$subport != $name} {
+if {$subport ne $name} {
     depends_lib-append  port:libdynd \
                         port:py${python.version}-numpy \
                         port:py${python.version}-cython
@@ -41,7 +36,7 @@
 
     post-patch {
         reinplace "s|@@DYND_PYTHON_GIT_SHA1@@|${git_sha1}|g" ${worksrcpath}/CMakeLists.txt
-        reinplace "s|@@DYND_PYTHON_VERSION_STRING@@|${version_string}|g" ${worksrcpath}/CMakeLists.txt
+        reinplace "s|@@DYND_PYTHON_VERSION_STRING@@|v${version}|g" ${worksrcpath}/CMakeLists.txt
     }
 
     use_configure       yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130902/c5c97721/attachment.html>


More information about the macports-changes mailing list