Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/sniffio/
Date: Mon, 03 Feb 2020 18:07:56
Message-Id: 1580751965.8d187fc4b081528e8dc012246e1f33122755b5a1.andrewammerlaan@gentoo
1 commit: 8d187fc4b081528e8dc012246e1f33122755b5a1
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Mon Feb 3 17:46:05 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon Feb 3 17:46:05 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d187fc4
7
8 dev-python/sniffio: Sniff out which async lib code is running under
9
10 Package-Manager: Portage-2.3.86, Repoman-2.3.20
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 dev-python/sniffio/Manifest | 1 +
14 dev-python/sniffio/metadata.xml | 9 +++++++++
15 dev-python/sniffio/sniffio-1.1.0.ebuild | 23 +++++++++++++++++++++++
16 3 files changed, 33 insertions(+)
17
18 diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest
19 new file mode 100644
20 index 0000000..6a1b47b
21 --- /dev/null
22 +++ b/dev-python/sniffio/Manifest
23 @@ -0,0 +1 @@
24 +DIST sniffio-1.1.0.tar.gz 15285 BLAKE2B fc2887150c8b64cc9ba5eb261d2f04650033279e5b5a6527f28fa8eff6cda409ffddb0986bba1358288fd35e0bbd09d90a7c4a0893a612f1efdbec393c2d9e3c SHA512 f315c79245ccec8e1e6e0f8ffe4cf42fdab7f5fe3e680ddc05c65732a6d26989ac1459135f13938380928b02802bc0a6b1174c83118a60b0ad15f59730927912
25
26 diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml
27 new file mode 100644
28 index 0000000..628ab20
29 --- /dev/null
30 +++ b/dev-python/sniffio/metadata.xml
31 @@ -0,0 +1,9 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +
35 +<pkgmetadata>
36 + <maintainer type="person">
37 + <email>andrewammerlaan@××××××.net</email>
38 + <name>Andrew Ammerlaan</name>
39 + </maintainer>
40 +</pkgmetadata>
41
42 diff --git a/dev-python/sniffio/sniffio-1.1.0.ebuild b/dev-python/sniffio/sniffio-1.1.0.ebuild
43 new file mode 100644
44 index 0000000..abdb93e
45 --- /dev/null
46 +++ b/dev-python/sniffio/sniffio-1.1.0.ebuild
47 @@ -0,0 +1,23 @@
48 +# Copyright 1999-2020 Gentoo Authors
49 +# Distributed under the terms of the GNU General Public License v2
50 +
51 +EAPI=7
52 +
53 +PYTHON_COMPAT=( python3_{6,7,8} )
54 +
55 +inherit distutils-r1
56 +
57 +DESCRIPTION="Sniff out which async library your code is running under"
58 +HOMEPAGE="https://github.com/python-trio/sniffio"
59 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
60 +
61 +LICENSE="|| ( Apache-2.0 MIT )"
62 +KEYWORDS="~amd64 ~x86"
63 +SLOT="0"
64 +
65 +RDEPEND="python_targets_python3_6? ( dev-python/contextvars[python_targets_python3_6] )"
66 +
67 +DEPEND="test? ( dev-python/curio[${PYTHON_USEDEP}] )"
68 +
69 +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio
70 +distutils_enable_tests pytest