[129173] trunk/dports/python

petr at macports.org petr at macports.org
Mon Dec 8 06:56:17 PST 2014


Revision: 129173
          https://trac.macports.org/changeset/129173
Author:   petr at macports.org
Date:     2014-12-08 06:56:17 -0800 (Mon, 08 Dec 2014)
Log Message:
-----------
py-aplpy: update to 0.9.14, also:
 * fix livecheck
 * PyPI pattern & minor formating
 * remove +montage variant
 * replace py{26,33} subports with py{27,34} respectively

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

Modified: trunk/dports/python/py-aplpy/Portfile
===================================================================
--- trunk/dports/python/py-aplpy/Portfile	2014-12-08 14:34:46 UTC (rev 129172)
+++ trunk/dports/python/py-aplpy/Portfile	2014-12-08 14:56:17 UTC (rev 129173)
@@ -4,31 +4,34 @@
 PortSystem          1.0
 PortGroup           python 1.0
 
+set _name           APLpy
+set _n              [string index ${_name} 0]
+
 name                py-aplpy
-version             0.9.12
+version             0.9.14
+categories-append   science
+platforms           darwin
+supported_archs     noarch
+license             MIT
 maintainers         robitaille stsci.edu:mperrin openmaintainer
 
-categories-append   science
 description         The Astronomical Plotting Library in Python
-long_description    APLpy (the Astronomical Plotting Library in Python) is a \
-                    Python module aimed at producing publication-quality plots \
-                    of astronomical imaging data in FITS format. The module \
-                    uses Matplotlib, a powerful and interactive plotting \
-                    package. It is capable of creating output files in several \
-                    graphical formats, including EPS, PDF, PS, PNG, and SVG.
+long_description    \
+    APLpy (the Astronomical Plotting Library in Python) is a Python module \
+    aimed at producing publication-quality plots of astronomical imaging data \
+    in FITS format. The module uses Matplotlib, a powerful and interactive \
+    plotting package. It is capable of creating output files in several \
+    graphical formats, including EPS, PDF, PS, PNG, and SVG.
 
-platforms           darwin
-license             MIT
-
 homepage            http://aplpy.github.com/
-master_sites        https://pypi.python.org/packages/source/A/APLpy/
-distname            APLpy-${version}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+distname            ${_name}-${version}
 
-checksums           md5     aeff0c49f43847819ab5e94e63abd74c \
-                    sha1    cde95e803980a69de907011d960831cca8ed778d \
-                    rmd160  2e4fd68de4887f07c4851d846ed92ec585ce776d
+checksums           md5     d95e1649f7afe479f2d093d987cfd861 \
+                    rmd160  d9b78ab394f0d558bcf9adade8d3ccc609e6472e \
+                    sha256  0313a91523b6a32a40e5b97da55243d5e59722cd8fa2e6642915edd26d464d69
 
-python.versions     26 27 33 34
+python.versions     27 34
 
 if {${name} ne ${subport}} {
 
@@ -53,8 +56,11 @@
         depends_run-append  port:py${python.version}-pyregion
     }
 
-    variant montage description {Deprecated variant - Montage and montage-wrapper should be installed manually} {
-    }
+    default_variants    +rgb +avm +ds9
 
-    default_variants    +rgb +avm +ds9
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   [lindex ${master_sites} 0]
+    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
 }

Modified: trunk/dports/python/py-graveyard/Portfile
===================================================================
--- trunk/dports/python/py-graveyard/Portfile	2014-12-08 14:34:46 UTC (rev 129172)
+++ trunk/dports/python/py-graveyard/Portfile	2014-12-08 14:56:17 UTC (rev 129173)
@@ -41,7 +41,7 @@
 aniso8601           0.82_1      31 32 33
 anyjson             0.3.3_1     25 26 31 32 33
 antlr3              3.1.3_1     25 26
-aplpy               0.9.12_1    32
+aplpy               0.9.12_1    26 32 33
 appscript           1.0.0_1     24 25 26 31 32
 aspects             1.3_1       25 26
 astroid             1.2.1_1     26 32 33
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141208/2beb9210/attachment-0001.html>


More information about the macports-changes mailing list