user/py3-drf-writable-nested: new aport
This commit is contained in:
parent
b11a2325ae
commit
2ea2deb1ca
1 changed files with 33 additions and 0 deletions
33
user/py3-drf-writable-nested/APKBUILD
Normal file
33
user/py3-drf-writable-nested/APKBUILD
Normal file
|
@ -0,0 +1,33 @@
|
|||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
pkgname=py3-drf-writable-nested
|
||||
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||||
_pkgreal=drf-writable-nested
|
||||
pkgver=0.7.0
|
||||
pkgrel=0
|
||||
pkgdesc="Writable nested helpers for django-rest-framework's serializers"
|
||||
url="https://pypi.python.org/project/drf-writable-nested"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
depends="py3-django-rest-framework"
|
||||
checkdepends="py3-pytest py3-pytest-cov py3-pytest-django"
|
||||
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/beda-software/drf-writable-nested/archive/refs/tags/v$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
subpackages="$pkgname-pyc"
|
||||
|
||||
build() {
|
||||
gpep517 build-wheel \
|
||||
--wheel-dir .dist \
|
||||
--output-fd 3 3>&1 >&2
|
||||
}
|
||||
|
||||
package() {
|
||||
python3 -m installer -d "$pkgdir" \
|
||||
.dist/*.whl
|
||||
}
|
||||
|
||||
|
||||
sha512sums="
|
||||
674e2206a8dad2f61f6eed9bbf137593bacbceb4789c5e46e0e5a965f172daac76878e13d3f1492b2a2d8bc97d310b0625b1fd65de19f92d7f71153e9f5c3089 py3-drf-writable-nested-0.7.0.tar.gz
|
||||
"
|
Loading…
Reference in a new issue