mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 00:12:05 +01:00 
			
		
		
		
	this marginally increases install speed by not checking if it needs a rebuild. also remove --prefix=/usr as it defaults to /usr already. might break a build or two, will fix later
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
 | |
| # Maintainer:
 | |
| pkgname=py3-django-js-asset
 | |
| _pkgname=django-js-asset
 | |
| pkgver=1.2.2
 | |
| pkgrel=4
 | |
| pkgdesc="script tag with additional attributes for django.forms.Media"
 | |
| url="https://github.com/matthiask/django-js-asset"
 | |
| arch="noarch"
 | |
| license="BSD-3-Clause"
 | |
| depends="py3-django"
 | |
| makedepends="py3-setuptools"
 | |
| checkdepends="py3-coverage"
 | |
| source="$pkgname-$pkgver.tar.gz::https://github.com/matthiask/$_pkgname/archive/$pkgver.tar.gz
 | |
| 	Adapt-the-test-suite-to-changes-in-Django.patch
 | |
| 	"
 | |
| builddir="$srcdir"/$_pkgname-$pkgver
 | |
| 
 | |
| replaces="py-django-js-asset" # Backwards compatibility
 | |
| provides="py-django-js-asset=$pkgver-r$pkgrel" # Backwards compatibility
 | |
| 
 | |
| build() {
 | |
| 	python3 setup.py --quiet build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	python3 tests/manage.py test -v 2 testapp
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	python3 setup.py --quiet install --skip-build --root="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="ad2c51399da9b5d75305c0fa257cc75496df3f6704a827a0d297a4d762712039c3ebd921afbe6e10672626f1badd8637728292dd700ba41c4192c95ec73095a9  py3-django-js-asset-1.2.2.tar.gz
 | |
| 2319e16762981fa0b5e6fa09be470ef3d2f7e5b39e383945574859b6ca1e216a5b3f45d9624f595717d9e501b79e9be0985cafc10328f84d1fed7a590de7a893  Adapt-the-test-suite-to-changes-in-Django.patch"
 |