[93999] trunk/dports/python/py-pyquery/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jun 6 11:05:05 PDT 2012


Revision: 93999
          https://trac.macports.org/changeset/93999
Author:   ryandesign at macports.org
Date:     2012-06-06 11:05:05 -0700 (Wed, 06 Jun 2012)
Log Message:
-----------
py-pyquery: maintainer update to 1.2.1; noarch; adjust livecheck (#34728)

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

Modified: trunk/dports/python/py-pyquery/Portfile
===================================================================
--- trunk/dports/python/py-pyquery/Portfile	2012-06-06 18:00:53 UTC (rev 93998)
+++ trunk/dports/python/py-pyquery/Portfile	2012-06-06 18:05:05 UTC (rev 93999)
@@ -5,39 +5,42 @@
 PortGroup                   python 1.0
 
 name                        py-pyquery
-version                     1.1.1
+version                     1.2.1
 categories-append           devel
 platforms                   darwin
+supported_archs             noarch
 license                     BSD
 maintainers                 gmail.com:larry.velazquez
-description                 A jQuery-like library for Python.
+
+description                 A jQuery-like library for Python
+
 long_description            Pyquery allows you to make jQuery queries on XML \
                             documents.
+
 homepage                    http://pypi.python.org/pypi/pyquery
-                            
 master_sites                http://pypi.python.org/packages/source/p/pyquery
 distname                    pyquery-${version}
-                            
-checksums                   md5     cd2884653df59c4587e57d5f1ed94de5 \
-                            sha1    be1d145af0b5c10112f604eff5da35dcf18a0281 \
-                            rmd160  e79b002f0ca31107987194ab2ec94b227d969cba
 
+checksums                   rmd160  f74c85ee0ef903260bd31e5e102c4ea51ae460b5 \
+                            sha256  a607f81a628887e2cf03d5dddee6f092faf411e51b894130a2b4c839e60c408f
+
 python.versions             25 26 27 31 32
 python.default_version      27
 
 if {${subport} != ${name}} {
     depends_build-append    port:py${python.version}-distribute
-    depends_run-append      port:py${python.version}-lxml
+    depends_run-append      port:py${python.version}-lxml \
+                            port:py${python.version}-cssselect
     post-destroot {
         set doc ${destroot}${prefix}/share/doc/${subport}
-        xinstall -m 755 -d ${doc}
         xinstall -m 644 -W ${worksrcpath} CHANGES.txt README.txt ${doc}
         xinstall -m 644 -W ${worksrcpath}/docs ajax.txt api.txt \
           attributes.txt css.txt future.txt index.txt \
           manipulating.txt testing.txt tips.txt traversing.txt ${doc}
     }
+    livecheck.type          none
+} else {
+    livecheck.type          regex
+    livecheck.url           ${homepage}
+    livecheck.regex         "pyquery-(\\d+(?:\\.\\d+)*)${extract.suffix}"
 }
-
-livecheck.type             regex
-livecheck.url              ${homepage}
-livecheck.regex            "pyquery-(\[0-9.\]+)${extract.suffix}"
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120606/367107a4/attachment.html>


More information about the macports-changes mailing list