diff --git a/dev-python/tinyrpc/Manifest b/dev-python/tinyrpc/Manifest index 865e723426..1ae04e1e32 100644 --- a/dev-python/tinyrpc/Manifest +++ b/dev-python/tinyrpc/Manifest @@ -1 +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 diff --git a/dev-python/tinyrpc/tinyrpc-1.1.4.ebuild b/dev-python/tinyrpc/tinyrpc-1.1.4.ebuild new file mode 100644 index 0000000000..c8d5c756f0 --- /dev/null +++ b/dev-python/tinyrpc/tinyrpc-1.1.4.ebuild @@ -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="https://github.com/mbr/${PN}/archive/refs/tags/${PV}.tar.gz -> ${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 +}