[128503] trunk/dports/python/py-speaklater/Portfile
petr at macports.org
petr at macports.org
Sat Nov 22 08:46:59 PST 2014
Revision: 128503
https://trac.macports.org/changeset/128503
Author: petr at macports.org
Date: 2014-11-22 08:46:59 -0800 (Sat, 22 Nov 2014)
Log Message:
-----------
py-speaklater: remove github portgroup (not really used), update/correct livecheck
Modified Paths:
--------------
trunk/dports/python/py-speaklater/Portfile
Modified: trunk/dports/python/py-speaklater/Portfile
===================================================================
--- trunk/dports/python/py-speaklater/Portfile 2014-11-22 16:33:08 UTC (rev 128502)
+++ trunk/dports/python/py-speaklater/Portfile 2014-11-22 16:46:59 UTC (rev 128503)
@@ -3,11 +3,12 @@
PortSystem 1.0
PortGroup python 1.0
-PortGroup github 1.0
-github.setup mitsuhiko speaklater 1.3
+set _name speaklater
+set _n [string index ${_name} 0]
-name py-speaklater
+name py-${_name}
+version 1.3
categories-append textproc
platforms darwin
supported_archs noarch
@@ -17,14 +18,19 @@
description lazy strings for translations
long_description ${description}
-master_sites http://pypi.python.org/packages/source/s/speaklater
-distname speaklater-${version}
+homepage https://github.com/mitsuhiko/speaklater
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}
+distname ${_name}-${version}
checksums rmd160 70c03aa32233a9f4a6dd352c4dca1fe0d1888ffe \
sha256 59fea336d0eed38c1f0bf3181ee1222d0ef45f3a9dd34ebe65e6bfffdd6a65a9
python.versions 24 25 26 27 31 32 34
-livecheck.type regex
-livecheck.url http://pypi.python.org/pypi/speaklater
-livecheck.regex speaklater-(\[0-9.\]+)${extract.suffix}
+if {${name} eq ${subport}} {
+ livecheck.type regex
+ livecheck.url [lindex ${master_sites} 0]
+ livecheck.regex ">${_name}-(\\d+(\\.\\d+)+)\\${extract.suffix}<"
+} else {
+ livecheck.type none
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141122/81293d4f/attachment.html>
More information about the macports-changes
mailing list