From 832c501faf2239f5371de133a29a7eaca68a3121 Mon Sep 17 00:00:00 2001 From: Arthur Zamarin Date: Wed, 19 Jan 2022 08:49:55 +0200 Subject: dev-python/socksio: initial import Signed-off-by: Arthur Zamarin --- dev-python/socksio/Manifest | 1 + dev-python/socksio/metadata.xml | 13 +++++++++++++ dev-python/socksio/socksio-1.0.0.ebuild | 25 +++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-python/socksio/Manifest create mode 100644 dev-python/socksio/metadata.xml create mode 100644 dev-python/socksio/socksio-1.0.0.ebuild (limited to 'dev-python/socksio') diff --git a/dev-python/socksio/Manifest b/dev-python/socksio/Manifest new file mode 100644 index 000000000000..13d23662b672 --- /dev/null +++ b/dev-python/socksio/Manifest @@ -0,0 +1 @@ +DIST socksio-1.0.0.tar.gz 19055 BLAKE2B aa6bff92ae19611151070fc8e9661d532bd970d5d9d7ab8752fe77f7b4444957710ceff09d76b9f69ff71b48daf54659b4d523bc6dd01a28580d25f1e0ac055f SHA512 89bce7294555e2623df68e99352c27b83af38a4fcc4e3b86c8826c9c4bf545eeaf0a6328b000cfe1d286fa442c756c4579b4887cff03bc9e559cd66414a7ac6f diff --git a/dev-python/socksio/metadata.xml b/dev-python/socksio/metadata.xml new file mode 100644 index 000000000000..0e61b117868b --- /dev/null +++ b/dev-python/socksio/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + + socksio + sethmlarson/socksio + + diff --git a/dev-python/socksio/socksio-1.0.0.ebuild b/dev-python/socksio/socksio-1.0.0.ebuild new file mode 100644 index 000000000000..b22dc901f6ec --- /dev/null +++ b/dev-python/socksio/socksio-1.0.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_USE_PEP517=flit +inherit distutils-r1 + +DESCRIPTION="Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5" +HOMEPAGE="https://pypi.org/project/socksio/ https://github.com/sethmlarson/socksio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +distutils_enable_tests pytest + +src_prepare() { + # remove coverage args for tests + rm pytest.ini || die + + distutils-r1_src_prepare +} -- cgit v1.2.3-65-gdbad