Commits

Marcus Calhoun-Lopez authored 4420aaa8e21
py-openssl: update version 17.5.0->18.0.0
No tags

python/py-openssl/Portfile

Modified
1 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 2
3 3 PortSystem 1.0
4 4 PortGroup python 1.0
5 +PortGroup github 1.0
5 6
6 -set _name pyOpenSSL
7 -set _n [string index ${_name} 0]
8 -
7 +github.setup pyca pyopenssl 18.0.0
9 8 name py-openssl
10 -version 17.5.0
11 -
12 9 categories-append devel security
13 10 license Apache-2
14 11 maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
15 12 platforms darwin freebsd
16 13
17 14 description python wrapper around the OpenSSL library
18 15 long_description \
19 16 This python module is a rather thin wrapper around (a subset of) the \
20 17 OpenSSL library. With thin wrapper a lot of the object methods do \
21 18 nothing more than calling a corresponding function in the OpenSSL library.
19 +homepage https://pyopenssl.org/
20 +supported_archs noarch
21 +installs_libs no
22 22
23 -homepage https://github.com/pyca/pyopenssl
24 -distname ${_name}-${version}
25 -#master_sites pypi:${_n}/${_name}/
26 -# use new pypi.python.org url scheme
27 -master_sites pypi:3b/15/a5d90ab1a41075e8f0fae334f13452549528f82142b3b9d0c9d86ab7178c
28 -
29 -checksums rmd160 2b46a05a02bd5b276abb0afc14e9e3cc900ca8c8 \
30 - sha256 2c10cfba46a52c0b0950118981d61e72c1e5b1aac451ca1bc77de1a679456773
23 +checksums rmd160 5975fedfb9ab9affee0ade1952f09de13393de57 \
24 + sha256 4dcba81bc253a730932d87b10f2992cc3ab5978d7382cee36bc662d8d1bca48c \
25 + size 172848
31 26
32 27 python.versions 27 34 35 36 37
33 28
34 29 if {${name} ne ${subport}} {
35 30 depends_build-append port:py${python.version}-setuptools
36 31
37 32 depends_lib-append path:lib/libssl.dylib:openssl \
38 33 port:py${python.version}-cryptography \
39 34 port:py${python.version}-six
40 35
50 45 INSTALL.rst \
51 46 README.rst \
52 47 LICENSE \
53 48 ${destroot}${prefix}/share/doc/${subport}
54 49
55 50 file delete ${destroot}${prefix}/share/doc/${subport}/examples
56 51 copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${subport}
57 52 }
58 53
59 54 variant doc description {build html documentation} {
60 - depends_build-append port:py${python.version}-sphinx
61 - #depends_build-append port:latex2html
62 -
63 - post-patch {
64 - # Ensure that the correct sphinx-build is used.
65 - reinplace "s|sphinx-build|sphinx-build-${python.branch}|" ${worksrcpath}/doc/Makefile
66 - }
55 + depends_build-append port:py${python.version}-sphinx \
56 + port:py${python.version}-sphinx_rtd_theme
67 57
68 58 post-build {
69 - system "cd ${worksrcpath}/doc && /usr/bin/make html"
59 + system -W ${worksrcpath}/doc "/usr/bin/make SPHINXBUILD=${prefix}/bin/sphinx-build-${python.branch} html"
70 60 }
71 61
72 62 post-destroot {
73 63 copy ${worksrcpath}/doc/_build/html ${destroot}${prefix}/share/doc/${subport}
74 64 }
75 65 }
76 66
77 67 livecheck.type none
78 -} else {
79 - livecheck.type regex
80 - livecheck.url https://pypi.python.org/pypi/${_name}/json
81 - livecheck.regex "\"${_name}-(\[.\\d\]+)\\${extract.suffix}\""
82 68 }

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut