diff options
Diffstat (limited to 'community/py3-django-filter/APKBUILD')
-rw-r--r-- | community/py3-django-filter/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/community/py3-django-filter/APKBUILD b/community/py3-django-filter/APKBUILD index 4765c93df64..eff98ec5242 100644 --- a/community/py3-django-filter/APKBUILD +++ b/community/py3-django-filter/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: +# Contributor: Justin Berthault <justin.berthault@zaclys.net> +# Maintainer: Kaarle Ritvanen <kunkku@alpinelinux.org> pkgname=py3-django-filter -_pkgname=django-filter -pkgver=2.0.0 +pkgver=22.1 pkgrel=3 pkgdesc="Generic system for filtering Django QuerySets based on user selections" url="https://github.com/carltongibson/django-filter" @@ -12,8 +12,9 @@ depends="py3-django" makedepends="py3-setuptools" checkdepends="py3-markdown py3-core-api py3-coverage py3-tz py3-django-crispy-forms py3-django-rest-framework py3-mock" -source="$pkgname-$pkgver.tar.gz::https://github.com/carltongibson/$_pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver +subpackages="$pkgname-pyc" +source="https://files.pythonhosted.org/packages/source/d/django-filter/django-filter-$pkgver.tar.gz" +builddir="$srcdir"/django-filter-$pkgver build() { python3 setup.py --quiet build @@ -24,9 +25,9 @@ check() { } package() { - mkdir -p "$pkgdir"/usr/bin - python3 setup.py --quiet install --prefix=/usr --root="$pkgdir" + python3 setup.py install --skip-build --prefix=/usr --root="$pkgdir" } - -sha512sums="48a2741e1f15eb756cdba7575943401fc211b398cf91d40cad4159d44fbd2303449bddc7cd791bf7857506bc98a4e9ff2143ed29781b9a884b2d6f35cceaf4a0 py3-django-filter-2.0.0.tar.gz" +sha512sums=" +0b92186cc6831351b22a7d0d8c447ec3fbd25db03402b47cdae650c8e4f9a80f384c49540bcacf1f15bfe07f27b77e0950d9ec69fab4b839f23a89486d611be9 django-filter-22.1.tar.gz +" |