mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
38 lines
1.1 KiB
Text
38 lines
1.1 KiB
Text
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer:
|
|
_pkgname=django-compress-staticfiles
|
|
pkgname="py3-$_pkgname"
|
|
pkgver=1.0.1_beta0
|
|
pkgrel=6
|
|
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 py3-gpep517"
|
|
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() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
gpep517 install-wheel --destdir "$pkgdir" \
|
|
.dist/*.whl
|
|
|
|
rm -rf "$pkgdir"/usr/lib/python3*/site-packages/tests
|
|
}
|
|
|
|
sha512sums="
|
|
f877e7cf6e1406743a5940f47cc5de8376fefb182e92864c1176cd94c2a88d135bcefbb8189a3d54ca51c30e8854b44fde43f47c5906eb9e50a04176332e26cc django-compress-staticfiles-1.0.1b0.tar.gz
|
|
"
|