dev-python/sniffio: longdescription, pypi

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2020-03-27 18:40:01 +01:00
parent c18bc4dee7
commit 1ff4fa9568
2 changed files with 19 additions and 5 deletions

View File

@@ -2,8 +2,19 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<maintainer type="person">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<longdescription>
sniffio: Sniff out which async library your code is running under
You're writing a library. You've decided to be ambitious, and support multiple async I/O packages, like Trio, and asyncio, and ... You've written a bunch of clever code to handle all the differences. But... how do you know which piece of clever code to run?
This is a tiny package whose only purpose is to let you detect which async library your code is running under.
</longdescription>
<upstream>
<remote-id type="github">python-trio/sniffio</remote-id>
<remote-id type="pypi">sniffio</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -8,7 +8,10 @@ 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"
HOMEPAGE="
https://github.com/python-trio/sniffio
https://pypi.org/project/sniffio
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( Apache-2.0 MIT )"