ayaports/backports/py3-nose2/APKBUILD
2023-01-12 18:10:32 +00:00

26 lines
704 B
Text

# Maintainer: psykose <alice@ayaya.dev>
pkgname=py3-nose2
pkgver=0.12.0
pkgrel=1
pkgdesc="Successor to nose, based on unittest"
url="https://docs.nose2.io/en/latest/"
arch="noarch"
license="LGPL-2.0-or-later"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/nose-devs/nose2/archive/refs/tags/$pkgver/nose2-$pkgver.tar.gz"
options="!check" # don't work
builddir="$srcdir/nose2-$pkgver"
build() {
rm -rf nose2/tests
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir" --skip-build
}
sha512sums="
7f1462613b7d38a77cd0764f721be4223b8f4ae4694c49ba416a076c321e07484969ee1a7c2d2f89484c0c3b2a96e74d6a42321981af4930ebe5f63f07df7755 nose2-0.12.0.tar.gz
"