1 |
commit: 832c501faf2239f5371de133a29a7eaca68a3121 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 19 06:49:55 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 19 06:50:13 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=832c501f |
7 |
|
8 |
dev-python/socksio: initial import |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/socksio/Manifest | 1 + |
13 |
dev-python/socksio/metadata.xml | 13 +++++++++++++ |
14 |
dev-python/socksio/socksio-1.0.0.ebuild | 25 +++++++++++++++++++++++++ |
15 |
3 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/socksio/Manifest b/dev-python/socksio/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000000..13d23662b672 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/socksio/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST socksio-1.0.0.tar.gz 19055 BLAKE2B aa6bff92ae19611151070fc8e9661d532bd970d5d9d7ab8752fe77f7b4444957710ceff09d76b9f69ff71b48daf54659b4d523bc6dd01a28580d25f1e0ac055f SHA512 89bce7294555e2623df68e99352c27b83af38a4fcc4e3b86c8826c9c4bf545eeaf0a6328b000cfe1d286fa442c756c4579b4887cff03bc9e559cd66414a7ac6f |
24 |
|
25 |
diff --git a/dev-python/socksio/metadata.xml b/dev-python/socksio/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000000..0e61b117868b |
28 |
--- /dev/null |
29 |
+++ b/dev-python/socksio/metadata.xml |
30 |
@@ -0,0 +1,13 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="project"> |
35 |
+ <email>python@g.o</email> |
36 |
+ <name>Python</name> |
37 |
+ </maintainer> |
38 |
+ <stabilize-allarches/> |
39 |
+ <upstream> |
40 |
+ <remote-id type="pypi">socksio</remote-id> |
41 |
+ <remote-id type="github">sethmlarson/socksio</remote-id> |
42 |
+ </upstream> |
43 |
+</pkgmetadata> |
44 |
|
45 |
diff --git a/dev-python/socksio/socksio-1.0.0.ebuild b/dev-python/socksio/socksio-1.0.0.ebuild |
46 |
new file mode 100644 |
47 |
index 000000000000..b22dc901f6ec |
48 |
--- /dev/null |
49 |
+++ b/dev-python/socksio/socksio-1.0.0.ebuild |
50 |
@@ -0,0 +1,25 @@ |
51 |
+# Copyright 2022 Gentoo Authors |
52 |
+# Distributed under the terms of the GNU General Public License v2 |
53 |
+ |
54 |
+EAPI=8 |
55 |
+ |
56 |
+PYTHON_COMPAT=( python3_{8..10} ) |
57 |
+DISTUTILS_USE_PEP517=flit |
58 |
+inherit distutils-r1 |
59 |
+ |
60 |
+DESCRIPTION="Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5" |
61 |
+HOMEPAGE="https://pypi.org/project/socksio/ https://github.com/sethmlarson/socksio" |
62 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
63 |
+ |
64 |
+LICENSE="MIT" |
65 |
+SLOT="0" |
66 |
+KEYWORDS="~amd64" |
67 |
+ |
68 |
+distutils_enable_tests pytest |
69 |
+ |
70 |
+src_prepare() { |
71 |
+ # remove coverage args for tests |
72 |
+ rm pytest.ini || die |
73 |
+ |
74 |
+ distutils-r1_src_prepare |
75 |
+} |