[137929] trunk/dports/python/py-cryptography/Portfile

stromnov at macports.org stromnov at macports.org
Tue Jun 23 01:19:56 PDT 2015


Revision: 137929
          https://trac.macports.org/changeset/137929
Author:   stromnov at macports.org
Date:     2015-06-23 01:19:56 -0700 (Tue, 23 Jun 2015)
Log Message:
-----------
py-cryptography: adapt to new pypi scheme

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

Modified: trunk/dports/python/py-cryptography/Portfile
===================================================================
--- trunk/dports/python/py-cryptography/Portfile	2015-06-23 08:15:42 UTC (rev 137928)
+++ trunk/dports/python/py-cryptography/Portfile	2015-06-23 08:19:56 UTC (rev 137929)
@@ -19,9 +19,9 @@
 long_description    ${description}
 
 homepage            https://github.com/pyca/cryptography
-master_sites        https://pypi.python.org/packages/source/c/cryptography/
+master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
 
-distname            cryptography-${version}
+distname            ${python.rootname}-${version}
 
 checksums           rmd160  46b06b08e6aab0119df60322105d0f5a086d33c9 \
                     sha256  c3bab8f43ac20ca6f5ee4d40ab40fca97e8909c5a9869643cb775a5ed2929595
@@ -38,7 +38,5 @@
 
     livecheck.type      none
 } else {
-    livecheck.type      regex
-    livecheck.url       https://pypi.python.org/pypi/cryptography/json
-    livecheck.regex     {cryptography-(\d+(?:\.\d+)*)\.[tz]}
+    livecheck.type      pypi
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150623/580527c4/attachment.html>


More information about the macports-changes mailing list