mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/py3-pytest-asyncio: new aport
https://github.com/pytest-dev/pytest-asyncio Pytest support for asyncio
This commit is contained in:
parent
4d52258445
commit
47ab913c0f
29
testing/py3-pytest-asyncio/APKBUILD
Normal file
29
testing/py3-pytest-asyncio/APKBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
||||
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
||||
pkgname=py3-pytest-asyncio
|
||||
pkgver=0.10.0
|
||||
pkgrel=0
|
||||
pkgdesc="Pytest support for asyncio"
|
||||
url="https://github.com/pytest-dev/pytest-asyncio"
|
||||
arch="noarch"
|
||||
license="Apache-2.0"
|
||||
depends="python3 py3-pytest"
|
||||
makedepends="py3-setuptools"
|
||||
checkdepends="py3-async_generator py3-coverage py3-hypothesis"
|
||||
options="!check" # doesn't find its own modules
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/pytest-dev/pytest-asyncio/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/pytest-asyncio-$pkgver"
|
||||
|
||||
build() {
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
check() {
|
||||
PYTHONPATH="$PWD/build/lib" py.test-3
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
}
|
||||
|
||||
sha512sums="78160d1918c5d3d2172f74fa07bf4bf6d0bc416666011dd5b83b3a7f385ec30fc65d49c01bba5dd0e16ad9dcd9d72d8ab062526f3268d60cd2e24a35b5a8f883 py3-pytest-asyncio-0.10.0.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user