[86368] trunk/dports/python
devans at macports.org
devans at macports.org
Mon Oct 24 13:31:02 PDT 2011
Revision: 86368
http://trac.macports.org/changeset/86368
Author: devans at macports.org
Date: 2011-10-24 13:30:59 -0700 (Mon, 24 Oct 2011)
Log Message:
-----------
py27-openssl: new port, version 0.13, patterned after py26-openssl, less +doc variant (broken)."
Modified Paths:
--------------
trunk/dports/python/py27-openssl/Portfile
Added Paths:
-----------
trunk/dports/python/py27-openssl/
Modified: trunk/dports/python/py27-openssl/Portfile
===================================================================
--- trunk/dports/python/py26-openssl/Portfile 2011-10-24 15:20:10 UTC (rev 86357)
+++ trunk/dports/python/py27-openssl/Portfile 2011-10-24 20:30:59 UTC (rev 86368)
@@ -2,13 +2,13 @@
# $Id$
PortSystem 1.0
-PortGroup python26 1.0
+PortGroup python27 1.0
-name py26-openssl
-version 0.10
-revision 1
+name py27-openssl
+version 0.13
+license Apache-2.0
categories python devel security
-maintainers mcalhoun openmaintainer
+maintainers nomaintainer
platforms darwin freebsd
description python wrapper around the OpenSSL library
long_description This python module is a rather thin wrapper around (a \
@@ -20,49 +20,25 @@
master_sites http://pypi.python.org/packages/source/p/pyOpenSSL/
distname pyOpenSSL-${version}
-checksums md5 34db8056ec53ce80c7f5fc58bee9f093 \
- sha1 11c956d317ab2b1628937a2681acc31f4b890fe8 \
- rmd160 1e303655754b5652327151a790ac6f3b25959972
+checksums md5 767bca18a71178ca353dff9e10941929 \
+ sha1 b4de25c5e4e9d9bc375c419071efc45fa96d5597 \
+ rmd160 85d6a8a5ca43ee12c4054f8f483db20e13dd6551
depends_lib-append port:openssl
post-patch {
- reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.6|g" ${worksrcpath}/examples/proxy.py
+ reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|g" ${worksrcpath}/examples/proxy.py
}
post-destroot {
xinstall -m 644 -W ${worksrcpath} \
- COPYING ChangeLog INSTALL README TODO \
+ ChangeLog INSTALL LICENSE README TODO \
${destroot}${prefix}/share/doc/${name}
file delete ${destroot}${prefix}/share/doc/${name}/examples
file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
}
-variant doc description {build html documentation} {
- depends_build-append port:latex2html
-
- post-patch {
- # Ensure that the correct binaries are used.
- # Some are not actually invoked because only the html documentation is created.
- foreach bin {bibtex dvips latex latex2html lynx makeindex pdflatex perl python} {
- reinplace "s| = \"${bin}\"| = \"${prefix}/bin/${bin}\"|g" ${worksrcpath}/doc/tools/mkhowto
- }
-
- # Ensure that the correct python is used.
- reinplace "s|${prefix}/bin/python|${prefix}/bin/python2.6|g" ${worksrcpath}/doc/tools/mkhowto
- reinplace "s| python | ${prefix}/bin/python2.6 |g" ${worksrcpath}/doc/Makefile
- }
-
- post-build {
- system "cd ${worksrcpath}/doc && /usr/bin/make html"
- }
-
- post-destroot {
- file copy ${worksrcpath}/doc/html ${destroot}${prefix}/share/doc/${name}
- }
-}
-
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex "pyOpenSSL-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111024/3dc2fcf8/attachment.html>
More information about the macports-changes
mailing list