ayaports/user/py3-django-cleanup/APKBUILD

31 lines
959 B
Text

# 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
"