# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python27 1.0 name py27-openssl version 0.13 license Apache-2 categories python devel security maintainers nomaintainer platforms darwin freebsd description python wrapper around the OpenSSL library long_description This python module is a rather thin wrapper around (a \ subset of) the OpenSSL library. With thin wrapper a lot of the \ object methods do nothing more than calling a corresponding \ function in the OpenSSL library. homepage http://launchpad.net/pyopenssl master_sites http://pypi.python.org/packages/source/p/pyOpenSSL/ distname pyOpenSSL-${version} checksums md5 767bca18a71178ca353dff9e10941929 \ sha1 b4de25c5e4e9d9bc375c419071efc45fa96d5597 \ rmd160 85d6a8a5ca43ee12c4054f8f483db20e13dd6551 depends_lib-append port:openssl post-patch { reinplace "s|#!/usr/bin/env python|#!${prefix}/bin/python2.7|g" ${worksrcpath}/examples/proxy.py } post-destroot { xinstall -m 644 -W ${worksrcpath} \ 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} } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "pyOpenSSL-(\\d+(?:\\.\\d+)*)${extract.suffix}"