user/py3-django-annoying: new aport

This commit is contained in:
Antoine Martin 2024-01-04 20:58:44 -05:00
parent 8247c09ac0
commit 74c7c8d878

View file

@ -0,0 +1,32 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-annoying
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=django-annoying
pkgver=0.10.6
pkgrel=0
pkgdesc="This is a django application that tries to eliminate annoying things in the Django framework."
url="https://pypi.python.org/project/django-annoying"
arch="noarch"
license="BSD"
depends="py3-django py3-six"
checkdepends="python3-dev"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/d/django-annoying/django-annoying-$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="
7b676c1e5aff6b19ae5bb1ea279cc5e46e28b7adc0afe8e9fc80e72da02378e5264db854e9c48cdc243440193760691d5003c3400a9955bdbfb8d7c7325774ed py3-django-annoying-0.10.6.tar.gz
"