user/py3-pytest-factoryboy: new aport
This commit is contained in:
parent
7223c02683
commit
7083e622eb
1 changed files with 32 additions and 0 deletions
32
user/py3-pytest-factoryboy/APKBUILD
Normal file
32
user/py3-pytest-factoryboy/APKBUILD
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
# 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
|
||||||
|
"
|
Loading…
Reference in a new issue