mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # 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
 | |
| "
 |