Skip to content
Permalink
Browse files

py-websocket-client: update to 0.56.0

- install files in post-destroot
- add test dependency on py-backports-ssl_match_hostname for py27
  • Loading branch information
reneeotten committed Apr 18, 2019
1 parent bf52830 commit c2f6e66eaa18db81f33c06f5de835bdc758ee5f1
Showing with 15 additions and 4 deletions.
  1. +15 −4 python/py-websocket-client/Portfile
@@ -4,7 +4,8 @@ PortSystem 1.0
PortGroup python 1.0

name py-websocket-client
version 0.54.0
version 0.56.0
revision 0
categories-append devel
platforms darwin
supported_archs noarch
@@ -16,19 +17,29 @@ long_description websocket-client module is WebSocket client for python

master_sites pypi:w/${python.rootname}
distname websocket_client-${version}
checksums rmd160 9058c0b2d691f1bab5e0e6359e4cbc09ad1a103a \
sha256 e51562c91ddb8148e791f0155fdb01325d99bb52c4cdbb291aee7a3563fd0849 \
size 36413
checksums rmd160 9c9a12d55de6300790cab77e0fdc614f27180ebd \
sha256 1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a \
size 36951

python.versions 27 34 35 36 37

if {${subport} ne ${name}} {
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-six

if {${python.version} eq 27} {
depends_test-append port:py${python.version}-backports-ssl_match_hostname
}
test.run yes
test.env TEST_WITH_INTERNET=1
test.cmd ${python.bin} setup.py

post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
ChangeLog ${destroot}${docdir}
}

livecheck.type none
}

0 comments on commit c2f6e66

Please sign in to comment.
You can’t perform that action at this time.