From f287ecad888abdeb38e617d0485de282cd6819db Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 19 Dec 2022 19:49:08 +0000 Subject: gentoo auto-resync : 19:12:2022 - 19:49:08 --- dev-python/python-socks/Manifest | 2 + dev-python/python-socks/python-socks-2.1.0.ebuild | 45 +++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 dev-python/python-socks/python-socks-2.1.0.ebuild (limited to 'dev-python/python-socks') diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index b1d3f060a98d..4fe591bc27fb 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,3 +1,5 @@ DIST python-socks-2.0.3.gh.tar.gz 40697 BLAKE2B c1e6f72763d1bd767af78ea1188e411814a6d41f703488dd67165d5a9b9ce1e2f9070b35a46cd72859b65c10519cdb02c91d1702a97c2d82cb5891b46187d02a SHA512 9d51e61d03b4a46e94a66fc037ac759715db2e2c5d631aaf6088a0363ad13140c00da44a513088a40c0f149b9d4ee2bb4165f59f76c3956f0aede8104772fc5d +DIST python-socks-2.1.0.gh.tar.gz 31251 BLAKE2B b32b35c746066c10fa1e52677e42058e6196eb1c19cfc120a670e86daf8f920a4d6be3d1d92f984b68d635496da992b33f196277a1b22b254fe045988a15d2f1 SHA512 66da2da1d8103570e44d0a2ace03c24695b7319c562d7f96242c713b9d03ea693a2ece3cf6869cea686c330a9fb05aa35a443bad5a638d843b4fc7b24a8e6a82 EBUILD python-socks-2.0.3.ebuild 1177 BLAKE2B 7002fa042421d7e5c7b9304df69c8cdf33367865794d0451e69ce884681c44b5747a75d7c989c074c67a8d7fcbf0f67bdac5a7bf71af5d36021997515ee1f75d SHA512 a7dda1248c6fa29c4fadc83a170f57ea1d1fc3326ba7a6bb6fed26cbc74d62308bbb1092af439a5248eb88518b14d49b4d078a7ba415fff82e8412402f6fc6eb +EBUILD python-socks-2.1.0.ebuild 1187 BLAKE2B 0bdc2c6bd34398eaad0528f3ba3b63eede179763f1dc8a9dd89cfac05b44e30190b70b266c12eaca74eb54a9a24b97f401335b931b036d06527d8e1c9520cbf1 SHA512 7900eb19699d291dbe34d5eaf40d46014e601ce8f99d57dd0a8f79687fb6b30731e1f91a8f40e8ef19027e23359605ac8ca67ce90c0bf83e55c064de785b515e MISC metadata.xml 380 BLAKE2B 2209abdbafd26baae585840e774843c37e0c6103fa93d75e8c1ddbc8dd1b96f269a3e76f14c39a55294d4d642d7fbe9f87c6b1a0b64152c671590a9e0a6ef959 SHA512 ccbb1a5c9fd05ae1da346f4f92efe156921f7adf9f5544635a407ba4a8154c896bda2e445e05e70a8e46c2829b8d4a38d3bf5d73804a3641c811acd2be62099a diff --git a/dev-python/python-socks/python-socks-2.1.0.ebuild b/dev-python/python-socks/python-socks-2.1.0.ebuild new file mode 100644 index 000000000000..ead55902eb67 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.1.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="SOCKS4, SOCKS5, HTTP tunneling functionality for Python" +HOMEPAGE=" + https://github.com/romis2012/python-socks/ + https://pypi.org/project/python-socks/ +" +SRC_URI=" + https://github.com/romis2012/python-socks/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# curio is not packaged +# asyncio is the only backend we have, so dep on its deps unconditionally +# TODO: revisit +RDEPEND=" + dev-python/async-timeout[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/anyio-3.4.0[${PYTHON_USEDEP}] + >=dev-python/async-timeout-3.0.1[${PYTHON_USEDEP}] + >=dev-python/flask-1.1.2[${PYTHON_USEDEP}] + >=dev-python/pytest-asyncio-0.18.3[${PYTHON_USEDEP}] + >=dev-python/pytest-trio-0.7.0[${PYTHON_USEDEP}] + >=dev-python/tiny-proxy-0.1.1[${PYTHON_USEDEP}] + >=dev-python/trio-0.16.0[${PYTHON_USEDEP}] + >=dev-python/trustme-0.9.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.4.2[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest -- cgit v1.2.3