[133788] trunk/dports/python/py-python-poppler-qt4/Portfile

petr at macports.org petr at macports.org
Wed Mar 11 07:38:51 PDT 2015


Revision: 133788
          https://trac.macports.org/changeset/133788
Author:   petr at macports.org
Date:     2015-03-11 07:38:51 -0700 (Wed, 11 Mar 2015)
Log Message:
-----------
py-python-poppler-qt4: switch from GitHub to PyPI

Modified Paths:
--------------
    trunk/dports/python/py-python-poppler-qt4/Portfile

Modified: trunk/dports/python/py-python-poppler-qt4/Portfile
===================================================================
--- trunk/dports/python/py-python-poppler-qt4/Portfile	2015-03-11 14:30:51 UTC (rev 133787)
+++ trunk/dports/python/py-python-poppler-qt4/Portfile	2015-03-11 14:38:51 UTC (rev 133788)
@@ -3,19 +3,25 @@
 
 PortSystem          1.0
 PortGroup           python 1.0
-PortGroup           github 1.0
 
-github.setup        wbsoft python-poppler-qt4 0.18.2 v
+set _name           python-poppler-qt4
+set _n              [string index ${_name} 0]
 
-name                py-${github.project}
+name                py-${_name}
+version             0.18.2
 platforms           darwin
 license             LGPL-2.1+
 maintainers         gmail.com:davide.liessi openmaintainer
 
 description         Python binding for Poppler-Qt4
-long_description    ${github.project} is a Python binding for Poppler-Qt4.
+long_description    ${_name} is a Python binding for Poppler-Qt4.
 
-checksums           rmd160  f1dda7e851a9cc7dcb9eb39e835395fcd9039a89 \
+homepage            https://github.com/wbsoft/${_name}
+master_sites        https://pypi.python.org/packages/source/${_n}/${_name}/
+distname            ${_name}-${version}
+
+checksums           md5     b9498b37006c8e3a525ad7cb0d2a3fe8 \
+                    rmd160  f1dda7e851a9cc7dcb9eb39e835395fcd9039a89 \
                     sha256  bb3ec0f6154903911d759e0d95f6b4b68b8fed39831f1590b4962f012e6453d8
 
 python.versions     27 34
@@ -41,4 +47,10 @@
         xinstall -d ${examples_dir}
         xinstall -m 644 -W ${worksrcpath} demo.py ${examples_dir}
     }
+
+    livecheck.type  none
+} else {
+    livecheck.type  regex
+    livecheck.url   https://pypi.python.org/pypi/${_name}
+    livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150311/d3d15eca/attachment.html>


More information about the macports-changes mailing list