diff options
author | 2019-04-23 18:43:04 +0300 | |
---|---|---|
committer | 2019-04-23 19:16:36 +0300 | |
commit | 5e8e2a372da21b23b11ce289a39ed9d0b93dadc7 (patch) | |
tree | 3038f88e70b1bbbaef36c6353bc0c41e127a0f97 | |
parent | dev-python/typing: Version bump (diff) | |
download | alexxy-5e8e2a372da21b23b11ce289a39ed9d0b93dadc7.tar.gz alexxy-5e8e2a372da21b23b11ce289a39ed9d0b93dadc7.tar.bz2 alexxy-5e8e2a372da21b23b11ce289a39ed9d0b93dadc7.zip |
dev-python/websocket-client: version bump
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-rw-r--r-- | dev-python/websocket-client/Manifest | 1 | ||||
-rw-r--r-- | dev-python/websocket-client/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/websocket-client/websocket-client-0.56.0.ebuild | 42 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/websocket-client/Manifest b/dev-python/websocket-client/Manifest new file mode 100644 index 0000000..265e8be --- /dev/null +++ b/dev-python/websocket-client/Manifest @@ -0,0 +1 @@ +DIST websocket-client-0.56.0.tar.gz 36951 SHA256 1fd5520878b68b84b5748bb30e592b10d0a91529d5383f74f4964e72b297fd3a SHA512 f61497b5fa6deea11d0e81c1c0d3092d1efba9bcdb3427a45f51b81059444a486a9aa6a4d046fc2aa805e855d2c8e68a4ba46669c05a45eb928251c50e2e3a50 WHIRLPOOL c46660667a6bf9019ac5219edba0894d5c959b6e5488c13d6e5593d9f1875b51bbc5a15b6ac06e2ed7aa465609b3cc9d14cd12f6eb3020c60399e8f7d2251336 diff --git a/dev-python/websocket-client/metadata.xml b/dev-python/websocket-client/metadata.xml new file mode 100644 index 0000000..f14d1ae --- /dev/null +++ b/dev-python/websocket-client/metadata.xml @@ -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> diff --git a/dev-python/websocket-client/websocket-client-0.56.0.ebuild b/dev-python/websocket-client/websocket-client-0.56.0.ebuild new file mode 100644 index 0000000..f93ec38 --- /dev/null +++ b/dev-python/websocket-client/websocket-client-0.56.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{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 +} |