mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-10-26 14:02:00 +01:00
These packages i've chose to maintain as they were relevant to a project that has since been inactive/dropped. I do not wish to further maintain them, as they have no use for me. Anyone is free to pick up maintainership if they wish.
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer:
|
|
_pkgname=django-compress-staticfiles
|
|
pkgname="py3-$_pkgname"
|
|
pkgver=1.0.1_beta0
|
|
pkgrel=5
|
|
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"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-${pkgver//_beta/b}.tar.gz"
|
|
builddir="$srcdir/$_pkgname-${pkgver//_beta/b}"
|
|
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
|
|
"
|