1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 20:25:17 +03:00
aports/testing/py3-django-compress-staticfiles/APKBUILD
2022-11-22 20:33:36 +01:00

38 lines
1 KiB
Text

# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
_pkgname=django-compress-staticfiles
pkgname="py3-$_pkgname"
pkgver=1.0.1b0
pkgrel=2
pkgdesc="Django static files storage backend inheriting from ManifestFilesMixin and StaticFilesStorage"
url="https://github.com/armandtvz/django-compress-staticfiles"
arch="noarch"
license="GPL-3.0-only"
depends="
py3-django
py3-brotli
py3-csscompressor
"
makedepends="py3-setuptools_scm"
checkdepends="py3-django-utils-six"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
options="!check" # requires py3-django-utils-six
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --root "$pkgdir"
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
}
sha512sums="
f877e7cf6e1406743a5940f47cc5de8376fefb182e92864c1176cd94c2a88d135bcefbb8189a3d54ca51c30e8854b44fde43f47c5906eb9e50a04176332e26cc django-compress-staticfiles-1.0.1b0.tar.gz
"