[140157] trunk/dports/python/py-openssl/Portfile
petr at macports.org
petr at macports.org
Thu Sep 10 14:17:59 PDT 2015
Revision: 140157
https://trac.macports.org/changeset/140157
Author: petr at macports.org
Date: 2015-09-10 14:17:58 -0700 (Thu, 10 Sep 2015)
Log Message:
-----------
py-openssl: update to 0.15.1, livecheck, closes #48769, maintainer timeout
Modified Paths:
--------------
trunk/dports/python/py-openssl/Portfile
Modified: trunk/dports/python/py-openssl/Portfile
===================================================================
--- trunk/dports/python/py-openssl/Portfile 2015-09-10 15:30:34 UTC (rev 140156)
+++ trunk/dports/python/py-openssl/Portfile 2015-09-10 21:17:58 UTC (rev 140157)
@@ -4,8 +4,11 @@
PortSystem 1.0
PortGroup python 1.0
+set _name pyOpenSSL
+set _n [string index ${_name} 0]
+
name py-openssl
-version 0.14
+version 0.15.1
categories-append devel security
license Apache-2
maintainers mcalhoun openmaintainer
@@ -18,12 +21,12 @@
nothing more than calling a corresponding function in the OpenSSL library.
homepage https://github.com/pyca/pyopenssl
-master_sites http://pypi.python.org/packages/source/p/pyOpenSSL/
-distname pyOpenSSL-${version}
+distname ${_name}-${version}
+master_sites https://pypi.python.org/packages/source/${_n}/${_name}/
-checksums md5 8579ff3a1d858858acfba5f046a4ddf7 \
- sha1 eb51f23f29703b647b0f194beaa9b2412c05e0f6 \
- rmd160 19169cb1d5969a130173174e1fdd90311bd35fc7
+checksums md5 f447644afcbd5f0a1f47350fec63a4c6 \
+ sha1 e4d752de1fea5a40a982d4d55004cfb14109ba99 \
+ rmd160 e3161873d453b5653705711a9f2cc8500ea6c94f
python.versions 26 27 33 34
@@ -41,9 +44,9 @@
post-destroot {
xinstall -m 644 -W ${worksrcpath} \
ChangeLog \
- INSTALL \
+ INSTALL.rst \
LICENSE \
- README \
+ README.rst \
TODO \
${destroot}${prefix}/share/doc/${subport}
@@ -78,6 +81,6 @@
livecheck.type none
} else {
livecheck.type regex
- livecheck.url ${master_sites}
- livecheck.regex "pyOpenSSL-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+ livecheck.url https://pypi.python.org/pypi/${_name}/json
+ livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150910/729b5f00/attachment.html>
More information about the macports-changes
mailing list