diff --git a/dev-python/sniffio/Manifest b/dev-python/sniffio/Manifest new file mode 100644 index 0000000000..6a1b47b5cd --- /dev/null +++ b/dev-python/sniffio/Manifest @@ -0,0 +1 @@ +DIST sniffio-1.1.0.tar.gz 15285 BLAKE2B fc2887150c8b64cc9ba5eb261d2f04650033279e5b5a6527f28fa8eff6cda409ffddb0986bba1358288fd35e0bbd09d90a7c4a0893a612f1efdbec393c2d9e3c SHA512 f315c79245ccec8e1e6e0f8ffe4cf42fdab7f5fe3e680ddc05c65732a6d26989ac1459135f13938380928b02802bc0a6b1174c83118a60b0ad15f59730927912 diff --git a/dev-python/sniffio/metadata.xml b/dev-python/sniffio/metadata.xml new file mode 100644 index 0000000000..628ab20176 --- /dev/null +++ b/dev-python/sniffio/metadata.xml @@ -0,0 +1,9 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + diff --git a/dev-python/sniffio/sniffio-1.1.0.ebuild b/dev-python/sniffio/sniffio-1.1.0.ebuild new file mode 100644 index 0000000000..abdb93e26c --- /dev/null +++ b/dev-python/sniffio/sniffio-1.1.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Sniff out which async library your code is running under" +HOMEPAGE="https://github.com/python-trio/sniffio" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="|| ( Apache-2.0 MIT )" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +RDEPEND="python_targets_python3_6? ( dev-python/contextvars[python_targets_python3_6] )" + +DEPEND="test? ( dev-python/curio[${PYTHON_USEDEP}] )" + +distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio +distutils_enable_tests pytest