[144779] trunk/dports/python/py-translationstring/Portfile

stromnov at macports.org stromnov at macports.org
Mon Jan 18 02:38:49 PST 2016


Revision: 144779
          https://trac.macports.org/changeset/144779
Author:   stromnov at macports.org
Date:     2016-01-18 02:38:48 -0800 (Mon, 18 Jan 2016)
Log Message:
-----------
py-translationstring: add py35 subport

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

Modified: trunk/dports/python/py-translationstring/Portfile
===================================================================
--- trunk/dports/python/py-translationstring/Portfile	2016-01-18 10:35:08 UTC (rev 144778)
+++ trunk/dports/python/py-translationstring/Portfile	2016-01-18 10:38:48 UTC (rev 144779)
@@ -12,7 +12,7 @@
 license             BSD
 supported_archs     noarch
 
-python.versions     27 34
+python.versions     27 34 35
 
 maintainers         stromnov openmaintainer
 
@@ -20,9 +20,9 @@
 long_description    ${description}
 
 homepage            http://www.repoze.org/
-master_sites        https://pypi.python.org/packages/source/t/translationstring/
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
 
-distname            translationstring-${version}
+distname            ${python.rootname}-${version}
 
 checksums           rmd160  8464d86b1bbdc4dcf4992b2d65df29c4ac50f975 \
                     sha256  4ee44cfa58c52ade8910ea0ebc3d2d84bdcad9fa0422405b1801ec9b9a65b72d
@@ -33,7 +33,5 @@
 
     livecheck.type      none
 } else {
-    livecheck.type      regex
-    livecheck.url       https://pypi.python.org/pypi/translationstring/json
-    livecheck.regex     {translationstring-(\d+(?:\.\d+)*)\.[tz]}
+    livecheck.type      pypi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160118/2e4ed66d/attachment.html>


More information about the macports-changes mailing list