source: trunk/dports/python/py-backports-ssl/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           python 1.0
6
7name                py-backports-ssl
8version             0.0.9
9revision            1
10categories-append   devel
11platforms           darwin
12license             BSD
13supported_archs     noarch
14
15python.versions     27
16
17maintainers         stromnov openmaintainer
18
19description         The Python 3.4 standard `ssl` module API implemented on top of pyOpenSSL.
20long_description    ${description}
21
22homepage            https://github.com/alekstorm/backports.ssl
23master_sites        pypi:b/backports.ssl
24
25distname            backports.ssl-${version}
26
27checksums           rmd160  fabfae2fd24c6f057629929bc8032e8b13b39152 \
28                    sha256  079549f44a5d52e6b6c97455cc322725e0590772237d6dc362cda57635128e1d
29
30if {${name} ne ${subport}} {
31    depends_lib-append  port:py${python.version}-backports \
32                        port:py${python.version}-six \
33                        port:py${python.version}-asn1 \
34                        port:py${python.version}-openssl
35
36    post-destroot {
37        foreach f {__init__.py __init__.pyc __init__.pyo __pycache__} {
38            set fp "${destroot}${python.pkgd}/backports/$f"
39            if {[file exists ${fp}]} {
40                file delete -force ${fp}
41            }
42        }
43    }
44
45    livecheck.type      none
46} else {
47    livecheck.name      backports.ssl
48    livecheck.type      pypi
49}
Note: See TracBrowser for help on using the repository browser.