websocket-client-0.54.0

This commit is contained in:
Andreas Billmeier 2019-03-05 09:37:14 +01:00
parent 5deb709e61
commit b326af1bf7
3 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,3 @@
DIST websocket-client-0.54.0.tar.gz 36413 BLAKE2B 13344b8c43d4c4664005347a4a37c0e32a28dfbe7602c0ad13a46c44a99e6d49675c3c5d038824c557c819d528449d19932b594c470ddef4aaa05c4d082fea6e SHA512 ba4dfb6b879ec88ca446f44a77b91bbace55faa1a276f493174f3dc5b96b4d400d43c886798666da98e331610f71b4629f894d97f4614acf8d64affe8370bfec
EBUILD websocket-client-0.54.0.ebuild 938 BLAKE2B a34221f26dff66fdb3bd401d8607beccdf5dabf85b8a30f990d5f9f9ba3c70b6e133f6a722fe78dab11df0fcdefa2a8731cb0f77aabb791f7a6e95333d93dbd1 SHA512 33aeb75201a696d0d74ba413e40497dbe8491653b356797232ab9509698ce0db17c11d002d75cc845f4bd4f07b1628eda0d49165a34a6ef5cb3db776d8f6de11
MISC metadata.xml 473 BLAKE2B 22faac31bc833792ca0ed170d4a785a85275c81403da85cf04003672ce00c1b28fcbcb0834f03cc872dabef36af53a30e53949c154586f3346c3b731a1fbe56b SHA512 1ed56113c593335003b4ccaadac76f39bf05ca4f403c25bf7f2de655b0047bec86088d56aab803a20540193748b2063846f0c6ea552514907b4ec9da6b6aa106

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="pypi">websocket-client</remote-id>
<remote-id type="github">websocket-client/websocket-client</remote-id>
<bugs-to>https://github.com/websocket-client/websocket-client/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,42 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6,7}} )
inherit distutils-r1
MY_PN=${PN//-/_}
DESCRIPTION="WebSocket client for python with hybi13 support"
HOMEPAGE="https://github.com/websocket-client/websocket-client"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~x64-macos"
IUSE="examples test"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/backports-ssl-match-hostname[${PYTHON_USEDEP}]' pypy python2_7 )
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND} )
"
S="${WORKDIR}/${MY_PN}-${PV}"
python_test() {
esetup.py test
}
python_install_all() {
if use examples; then
docompress -x "/usr/share/doc/${PF}/examples"
dodoc -r examples
fi
distutils-r1_python_install_all
}