aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-django-filter/APKBUILD
blob: 4765c93df64585a91f9919ce2e5f718798a5945f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer:
pkgname=py3-django-filter
_pkgname=django-filter
pkgver=2.0.0
pkgrel=3
pkgdesc="Generic system for filtering Django QuerySets based on user selections"
url="https://github.com/carltongibson/django-filter"
arch="noarch"
license="BSD-3-Clause"
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

build() {
	python3 setup.py --quiet build
}

check() {
	python3 runtests.py
}

package() {
	mkdir -p "$pkgdir"/usr/bin
	python3 setup.py --quiet install --prefix=/usr --root="$pkgdir"
}


sha512sums="48a2741e1f15eb756cdba7575943401fc211b398cf91d40cad4159d44fbd2303449bddc7cd791bf7857506bc98a4e9ff2143ed29781b9a884b2d6f35cceaf4a0  py3-django-filter-2.0.0.tar.gz"