[127604] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Thu Oct 30 08:52:29 PDT 2014


Revision: 127604
          https://trac.macports.org/changeset/127604
Author:   stromnov at macports.org
Date:     2014-10-30 08:52:29 -0700 (Thu, 30 Oct 2014)
Log Message:
-----------
py{25,26,32,33}-sympy: Replace with py{27,34}-sympy

Modified Paths:
--------------
    trunk/dports/python/py-graveyard/Portfile
    trunk/dports/python/py-sympy/Portfile

Modified: trunk/dports/python/py-graveyard/Portfile
===================================================================
--- trunk/dports/python/py-graveyard/Portfile	2014-10-30 15:19:26 UTC (rev 127603)
+++ trunk/dports/python/py-graveyard/Portfile	2014-10-30 15:52:29 UTC (rev 127604)
@@ -184,6 +184,7 @@
 stevedore           0.15_1      25 26 31 32 33
 suds                0.4_2       25 26
 sunpy               0.3.1_2     26
+sympy               0.7.5_1     25 26 32 33
 tables              3.1.1_4     26 32 33
 tagcloud            0.3.5_1     24 25 26
 tastypie            0.9.9_1     25 26

Modified: trunk/dports/python/py-sympy/Portfile
===================================================================
--- trunk/dports/python/py-sympy/Portfile	2014-10-30 15:19:26 UTC (rev 127603)
+++ trunk/dports/python/py-sympy/Portfile	2014-10-30 15:52:29 UTC (rev 127604)
@@ -13,7 +13,7 @@
 license             BSD
 supported_archs     noarch
 
-python.versions     25 26 27 32 33 34
+python.versions     27 34
 
 maintainers         stromnov openmaintainer
 
@@ -34,31 +34,14 @@
 checksums           rmd160  e14678d7becc5d48277d5fdb24966cad10856e5a \
                     sha256  2ef97048baf91169fb5987da3dc4d52854072cac69507d8668a475ff4dd5d4a6
 
-# Last release compatible with Python 2.5
-if {${subport} eq "py25-sympy"} {
-    version             0.7.4.1
-    revision            0
-    distname            sympy-${version}
-    checksums           rmd160  087661c59a8f75bee74241ff952dc3ca5f9a84e1 \
-                        sha256  51a8c2377c240a2cdb418bc59dac9ab106258196d04ce131d06806dbea2af456
-}
-
 if {${name} ne ${subport}} {
 
     post-destroot {
         set gzip [findBinary gzip ${portutil::autoconf::gzip_path}]
-        if {${subport} eq "py25-sympy"} {
-            move ${destroot}${prefix}/share/man/man1/isympy.1 \
-                 ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1
-            system "$gzip -9vf ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1"
-            file attributes ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1.gz \
-                -permissions 00444
-        } else {
-            system "$gzip -9vf ${destroot}${python.prefix}/share/man/man1/isympy.1"
-            file attributes ${destroot}${python.prefix}/share/man/man1/isympy.1.gz -permissions 00444
-            ln -s ${python.prefix}/share/man/man1/isympy.1.gz \
-                ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1.gz
-        }
+        system "$gzip -9vf ${destroot}${python.prefix}/share/man/man1/isympy.1"
+        file attributes ${destroot}${python.prefix}/share/man/man1/isympy.1.gz -permissions 00444
+        ln -s ${python.prefix}/share/man/man1/isympy.1.gz \
+            ${destroot}${prefix}/share/man/man1/isympy-${python.branch}.1.gz
     }
 
     depends_build       port:gzip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141030/d429d682/attachment.html>


More information about the macports-changes mailing list