[139511] trunk/dports/python/py-axiom/Portfile

devans at macports.org devans at macports.org
Wed Aug 19 10:46:44 PDT 2015


Revision: 139511
          https://trac.macports.org/changeset/139511
Author:   devans at macports.org
Date:     2015-08-19 10:46:44 -0700 (Wed, 19 Aug 2015)
Log Message:
-----------
py-axiom: update to version 0.7.4, master_sites, dependencies, livecheck.

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

Modified: trunk/dports/python/py-axiom/Portfile
===================================================================
--- trunk/dports/python/py-axiom/Portfile	2015-08-19 17:43:38 UTC (rev 139510)
+++ trunk/dports/python/py-axiom/Portfile	2015-08-19 17:46:44 UTC (rev 139511)
@@ -5,8 +5,8 @@
 PortGroup           python 1.0
 
 name                py-axiom
-set gname           python-axiom
-version             0.7.3
+set gname           Axiom
+version             0.7.4
 license             MIT
 categories-append   databases
 platforms           darwin
@@ -23,15 +23,15 @@
                     message dispatch, without hindering the power of an RDBMS \
                     (Relational DataBase Management System).
 
-homepage            https://pypi.python.org/pypi/Axiom
-master_sites        debian:p/${gname}
+homepage            https://pypi.python.org/pypi/${gname}
+master_sites        https://pypi.python.org/packages/source/A/${gname}/
 
-distname            ${gname}_${version}.orig
+distname            ${gname}-${version}
 
-checksums           rmd160  19898e9ab5e6b075d110eea514c1c8735436efbc \
-                    sha256  f6607717c0ac812eedcbca45927099cd998626bbd7fc6a9cb075295cdc6a403f
+checksums           rmd160  bab07b94dda1551f86d801dd492eef10f1664768 \
+                    sha256  65de17133d232bdbbd4e993330ee833ea85533689569fe9527d6e9e6ec3ed12b
 
-worksrcdir          Axiom-${version}
+worksrcdir          ${gname}-${version}
 
 python.default_version  27
 python.versions     27
@@ -39,16 +39,11 @@
 if {${name} ne ${subport}} {
     depends_build-append    port:py${python.version}-setuptools
     depends_lib-append      port:py${python.version}-epsilon \
-                            port:py${python.version}-sqlite
-
-    post-destroot {
-          set filepath ${destroot}${python.libdir}/site-packages/twisted/plugins/dropin.cache 
-          if {[file exists ${filepath}]} {
-              file delete ${filepath}
-          }
-    }
+                            port:py${python.version}-sqlite \
+                            port:py${python.version}-twisted
+    livecheck.type          none
+} else {
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+    livecheck.regex         "${gname} (\\d+(?:\\.\\d+)*)"
 }
-
-livecheck.type      regex
-livecheck.url       http://ftp.us.debian.org/debian/pool/main/p/${gname}/
-livecheck.regex     "${gname}_(\\d+(?:\\.\\d+)*)\\.orig${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150819/67792664/attachment.html>


More information about the macports-changes mailing list