ayaports/user/py3-pytest-factoryboy/APKBUILD

32 lines
1.1 KiB
Text

# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-pytest-factoryboy
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=pytest_factoryboy
pkgver=2.6.0
pkgrel=0
pkgdesc="Factory Boy support for pytest."
url="https://pypi.python.org/project/pytest-factoryboy"
arch="noarch"
license="MIT"
depends="py3-pytest py3-inflection py3-factory-boy py3-typing-extensions"
checkdepends="py3-tox py3-coverage py3-mypy"
makedepends="py3-setuptools py3-gpep517 py3-wheel py3-poetry-core"
subpackages="$pkgname-pyc"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/p/pytest_factoryboy/pytest_factoryboy-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
build() {
gpep517 build-wheel \
--wheel-dir .dist \
--output-fd 3 3>&1 >&2
}
package() {
python3 -m installer -d "$pkgdir" \
.dist/*.whl
}
sha512sums="
083ad71de9d61ca29e09b7f1c243f36a75716defbc9639c03719ef6eedf73def6fe5803b50de91bf3d5c5892ff1c082dc6cc960fa4e8b6e9a616bbfac871e4ef py3-pytest-factoryboy-2.6.0.tar.gz
"