user/py3-django-cleanup: new aport

This commit is contained in:
Antoine Martin 2024-01-04 20:58:54 -05:00
parent b7776f33fa
commit 0c66a3365e

View file

@ -0,0 +1,31 @@
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-cleanup
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
_pkgreal=django-cleanup
pkgver=8.0.0
pkgrel=0
pkgdesc="Deletes old files."
url="https://pypi.python.org/project/django-cleanup"
arch="noarch"
license="MIT"
depends="py3-django"
checkdepends="python3-dev"
makedepends="py3-setuptools py3-gpep517 py3-wheel"
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/d/django-cleanup/django-cleanup-$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="
c11ae07f47c1522afabf477a96e14efee2c86dfb139977bd60e6b293da12181979f1a35295d6bb4822fc0dbfcc2780253faa72ce291f1fdbb02436291c7866db py3-django-cleanup-8.0.0.tar.gz
"