aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py3-django-js-asset/APKBUILD
blob: 9db8e059315f4b172c68f0790ac1808ab5c95a52 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                      




                                                                      

                                                  








                                                                                               

         


                                      

                                                 

 

                                                                       

 
                                                                                                                                                                               
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-js-asset
_pkgname=django-js-asset
pkgver=1.2.2
pkgrel=0
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"
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 --prefix=/usr --root="$pkgdir"
}

sha512sums="ad2c51399da9b5d75305c0fa257cc75496df3f6704a827a0d297a4d762712039c3ebd921afbe6e10672626f1badd8637728292dd700ba41c4192c95ec73095a9  py3-django-js-asset-1.2.2.tar.gz"