New package: python3-sniffio-1.2.0
This commit is contained in:
parent
3813d16dd0
commit
08fac09fbc
1 changed files with 23 additions and 0 deletions
23
srcpkgs/python3-sniffio/template
Normal file
23
srcpkgs/python3-sniffio/template
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Template file for 'python3-sniffio'
|
||||
pkgname=python3-sniffio
|
||||
version=1.2.0
|
||||
revision=1
|
||||
wrksrc="sniffio-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest python3-pytest-cov python3-curio"
|
||||
short_desc="Sniff out which async library your code is running under"
|
||||
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
|
||||
license="Apache-2.0, MIT"
|
||||
homepage="https://github.com/python-trio/sniffio"
|
||||
distfiles="${PYPI_SITE}/s/sniffio/sniffio-${version}.tar.gz"
|
||||
checksum=c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de
|
||||
|
||||
do_check() {
|
||||
PYTHONPATH=$(cd build/lib* && pwd) pytest
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue