dev-python/tinyrpc: new version

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-05-24 18:25:40 +02:00
parent efa76d7d80
commit 9240b7c775
3 changed files with 45 additions and 43 deletions

View File

@@ -1,2 +1,2 @@
DIST tinyrpc-1.1.2.tar.gz 77020 BLAKE2B 1b5fc9126288e8046adb0bb1fb97b94cbff655d4d4573e3b7b369e3739746ccd96a6db9ad2a6bdf7a935a96d6c808ca0891619693669b1d8cee30a7c231c6f9a SHA512 d2322f852bf320e4e27917bdb3aa0acd05f00c3ab242e367602df7e2db700e3b3556600a45d57b3a92abf00b54c184891f3b40c18fbb42ed97a0f1387aa97abd
DIST tinyrpc-1.1.4.tar.gz 77281 BLAKE2B 880c9e53ba39e1a6e5992d91b3f2d2991117c6122e504f1b4cc2ff685f467ed1592bbd28cbca584ad104b1f5f340272cdffb86ea5ef28940b12dbc60e9a50d7e SHA512 423a76ae12dc7a46579574c12ea12168cf04f71b3988067e2889cacbf67f5575e946f4f6b854a63bac2fb56915f5659669ad7974730cdec5482434403143912e
DIST tinyrpc-1.1.5.tar.gz 29134 BLAKE2B 6d0dd14bfcd9804bcc9b2517eaa41808b1018274471d0a82af384c000a9eba0b90f4fa815dc10b704db0331f77f67f765dbfcd486ba15ea3309979fb25acf055 SHA512 885aa07c67aca8071c48f2f3922fbfd59ca085651883dc791ca219afaea28eea76bdb514ba3ef113bbd5fb08c86c7b471518a3c8db0d6ffb05538586b0d97350

View File

@@ -1,42 +0,0 @@
# Copyright 2019-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 optfeature
DESCRIPTION="A protocol neutral RPC library that supports JSON-RPC and zmq."
HOMEPAGE="https://github.com/mbr/tinyrpc"
SRC_URI="https://github.com/mbr/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
BDEPEND="test? (
dev-python/gevent-websocket[${PYTHON_USEDEP}]
dev-python/gevent[${PYTHON_USEDEP}]
dev-python/jsonext[${PYTHON_USEDEP}]
dev-python/msgpack[${PYTHON_USEDEP}]
dev-python/pika[${PYTHON_USEDEP}]
dev-python/pyzmq[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/websocket-client[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
)"
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
pkg_postinst() {
optfeature "gevent support" dev-python/gevent
optfeature "httpclient support" \
"dev-python/requests dev-python/websocket-client dev-python/gevent-websocket"
optfeature "websocket support" dev-python/gevent-websocket
optfeature "wsgi support" dev-python/werkzeug
optfeature "zmq support" dev-python/pyzmq
optfeature "jsonext support" dev-python/jsonext
}

View File

@@ -0,0 +1,44 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1 optfeature
DESCRIPTION="A protocol neutral RPC library that supports JSON-RPC and zmq"
HOMEPAGE="https://github.com/mbr/tinyrpc"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=">=dev-python/six-1.16.0[${PYTHON_USEDEP}]"
DEPEND="
${RDEPEND}
test? (
>=dev-python/gevent-websocket-0.10.1[${PYTHON_USEDEP}]
>=dev-python/gevent-21.1.2[${PYTHON_USEDEP}]
dev-python/jsonext[${PYTHON_USEDEP}]
>=dev-python/msgpack-1.0.2[${PYTHON_USEDEP}]
>=dev-python/pika-1.2.0[${PYTHON_USEDEP}]
>=dev-python/pyzmq-22.0.3[${PYTHON_USEDEP}]
>=dev-python/requests-2.25.1[${PYTHON_USEDEP}]
dev-python/websocket-client[${PYTHON_USEDEP}]
>=dev-python/werkzeug-2.0.0[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs dev-python/sphinx_rtd_theme
pkg_postinst() {
optfeature "gevent support" dev-python/gevent
optfeature "httpclient support" "dev-python/requests dev-python/websocket-client dev-python/gevent-websocket"
optfeature "websocket support" dev-python/gevent-websocket
optfeature "wsgi support" dev-python/werkzeug
optfeature "zmq support" dev-python/pyzmq
optfeature "jsonext support" dev-python/jsonext
}