diff options
-rw-r--r-- | community/py3-django-filter/APKBUILD | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/community/py3-django-filter/APKBUILD b/community/py3-django-filter/APKBUILD index 4765c93df6..66d45b41d8 100644 --- a/community/py3-django-filter/APKBUILD +++ b/community/py3-django-filter/APKBUILD @@ -1,9 +1,8 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> -# Maintainer: +# Maintainer: Justin Berthault <justin.berthault@zaclys.net> pkgname=py3-django-filter -_pkgname=django-filter -pkgver=2.0.0 -pkgrel=3 +pkgver=2.2.0 +pkgrel=0 pkgdesc="Generic system for filtering Django QuerySets based on user selections" url="https://github.com/carltongibson/django-filter" arch="noarch" @@ -12,8 +11,8 @@ 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 +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 +23,8 @@ 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="16a4336d1558cabfe497dd9736a2f652c9f9d141a72c856cf13f3ca56db4da85b5926b05c772aef5fa43a75e085025244b8deaf7facbc5bfa68907bd99f4f95d django-filter-2.2.0.tar.gz" |