1 |
commit: d0635b06164a98ddb5b587586ebeb67595a0aee6 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 18:44:03 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 19:41:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0635b06 |
7 |
|
8 |
dev-python/sniffio: add 1.3.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/sniffio/Manifest | 1 + |
13 |
dev-python/sniffio/sniffio-1.3.0.ebuild | 30 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest |
17 |
index d096430d8bf3..b2afe8788f9f 100644 |
18 |
--- a/dev-python/sniffio/Manifest |
19 |
+++ b/dev-python/sniffio/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sniffio-1.2.0.gh.tar.gz 17335 BLAKE2B 0d67baa18702ac38932680bdc741c87ee0a31342cc752c1463a7f90720ea0ebf6d62ef682a042c58e8fe96456e1461638e0f02c6f60da5f5e0d07464be27a4a3 SHA512 8e1dd2bb6fc22ee5824adfffe688ff0621b8c1ef5daea594dedce13d5e04a498e05816bb32e9bbed206a653a330ff710df57c888ddcff00a6254eafddc538273 |
22 |
+DIST sniffio-1.3.0.gh.tar.gz 16867 BLAKE2B 44ab59d7477055aeaa0b08983094d8d12493edd5ded6ebd8e1bb048fbb2024325473dc37ebb5f66a10d8275b4e68b8c7f8dfb26088dc30c97a29d9f002fbc667 SHA512 3a9584eea20f5a69958f206fad9f01ef7fc40735f48a6cfaa11ba6eea1e7b8cc8c8053416595fe23276e162b0ab5dd6a41fb30bd9f7994f03b3d3242d5b40ef6 |
23 |
|
24 |
diff --git a/dev-python/sniffio/sniffio-1.3.0.ebuild b/dev-python/sniffio/sniffio-1.3.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..d22e05c4e1b3 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/sniffio/sniffio-1.3.0.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Sniff out which async library your code is running under" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/python-trio/sniffio/ |
43 |
+ https://pypi.org/project/sniffio/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/python-trio/sniffio/archive/v${PV}.tar.gz |
47 |
+ -> ${P}.gh.tar.gz |
48 |
+" |
49 |
+ |
50 |
+LICENSE="|| ( Apache-2.0 MIT )" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
53 |
+ |
54 |
+distutils_enable_tests pytest |
55 |
+ |
56 |
+EPYTEST_DESELECT=( |
57 |
+ # curio is not packaged |
58 |
+ sniffio/_tests/test_sniffio.py::test_curio |
59 |
+) |