diff options
Diffstat (limited to 'dev-python/python-socks')
-rw-r--r-- | dev-python/python-socks/Manifest | 2 | ||||
-rw-r--r-- | dev-python/python-socks/python-socks-2.2.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/python-socks/Manifest b/dev-python/python-socks/Manifest index d23dbe9e68bb..a575a109df7c 100644 --- a/dev-python/python-socks/Manifest +++ b/dev-python/python-socks/Manifest @@ -1,7 +1,9 @@ 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 DIST python-socks-2.1.1.gh.tar.gz 31306 BLAKE2B f42f88089b0438722b076bcbbbe194b6ed621dec34f850861d791418ff453e6f97aa4e2f2ccf69024c5c562f7d1c8e1110e9930360252556bc77dd44b9a20fc0 SHA512 d68c5d0b0975283a8a86f701db5a8037beb9368edef591876abba2524593114fdcc933fa3dc5eca8123afcc6fc0eb3eacfbbf40e54acb87e973fc7b49ed3c8dc +DIST python-socks-2.2.0.gh.tar.gz 32483 BLAKE2B 44dba93f29b3466515591bced694b1f17a76d7a9410829f8d4cfe0c4da18b00dddb9a84b37a9ce74dd20517a3567c06f4b96e4cc4724e88244dd11b097b3da9e SHA512 7189a249fcbc80c13f6070cd82d785ca4be48cbaf0a0e37da486b8517f551b9a22678a0c4d65f98adb30c719b5f47a3e9cd0133633a429283b04cdae089ed6a6 EBUILD python-socks-2.0.3.ebuild 1177 BLAKE2B 710337b75cb519dfe23742eed7c32195bc796cd9fd559e868db50c7c44a69502921ba6a210ae62df6e5baf5c2c263ace5732c183cda5c2c64bb07989d1cd3976 SHA512 923eba73e3797c5599680e0b2ee5808f10dd2cfb56e2c91bac9bdaab16ebb7d20be88db952ba915303938ecaf81445459c4c52b4db770d9dee6bf241ce34283a EBUILD python-socks-2.1.0.ebuild 1187 BLAKE2B e4eebd72d33a48a68b2a0efe11000b8c0cde2e934acdefe7e66c9f45eb01f30ad21e4c37036f2f9aea6724865ad6958d2c85d6a1e4965a73af0f08a9463abff3 SHA512 abc7716ff5ba9aa15b713c9de903fd0e8fd495935faa87e59c401f85f3d95725a2bd671f6283a3b0349200718cfc73d2c7baa0cabd9c774e6321cc30a60fa489 EBUILD python-socks-2.1.1.ebuild 1233 BLAKE2B 60d31a62d5dfdb942b06ae994664565d45a9406243e676ef546211af3f8077356673a3aac009e72769735a1e09326cf5a9144a33441e4689782103a19062092e SHA512 005eb2a745c0c31ad432b5ea11c5a13969250a9dcf74b54a60691ed81ee3d80205b0c76bd31022f4160a8b4851bba59603bda37a309ef7de1a1dc4512e97d83f +EBUILD python-socks-2.2.0.ebuild 1238 BLAKE2B 811100a5b7d30d2a4d3f3fd8bfc9f0cbe4ba1d6bc223cc3a6d2886d2910c78a74b0aa95e2892a7f60cf4f8836c1677210884cec5249b67f79b7f2e965da5e49d SHA512 d74762f5ed702f1881030a04e1edb30226b72e55384292e3d60d1704f74adff573af24616cf2ad3ff22644fbda961b042e215a16d3b2f8aef1830a7605a075ee MISC metadata.xml 380 BLAKE2B 2209abdbafd26baae585840e774843c37e0c6103fa93d75e8c1ddbc8dd1b96f269a3e76f14c39a55294d4d642d7fbe9f87c6b1a0b64152c671590a9e0a6ef959 SHA512 ccbb1a5c9fd05ae1da346f4f92efe156921f7adf9f5544635a407ba4a8154c896bda2e445e05e70a8e46c2829b8d4a38d3bf5d73804a3641c811acd2be62099a diff --git a/dev-python/python-socks/python-socks-2.2.0.ebuild b/dev-python/python-socks/python-socks-2.2.0.ebuild new file mode 100644 index 000000000000..255c91fccda5 --- /dev/null +++ b/dev-python/python-socks/python-socks-2.2.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..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 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~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 |