34 lines
1 KiB
Text
34 lines
1 KiB
Text
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||
|
pkgname=py3-django-autocomplete-light
|
||
|
#_pkgreal is used by apkbuild-pypi to find modules at PyPI
|
||
|
_pkgreal=django-autocomplete-light
|
||
|
pkgver=3.9.7
|
||
|
pkgrel=0
|
||
|
pkgdesc="Fresh autocompletes for Django"
|
||
|
url="https://pypi.python.org/project/django-autocomplete-light"
|
||
|
arch="noarch"
|
||
|
license="MIT"
|
||
|
depends="python3"
|
||
|
depends="py3-django py3-six"
|
||
|
checkdepends="python3-dev"
|
||
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
||
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/d/django-autocomplete-light/django-autocomplete-light-$pkgver.tar.gz"
|
||
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||
|
subpackages="$pkgname-pyc"
|
||
|
|
||
|
build() {
|
||
|
gpep517 build-wheel \
|
||
|
--wheel-dir .dist \
|
||
|
--output-fd 3 3>&1 >&2
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
python3 -m installer -d "$pkgdir" \
|
||
|
.dist/*.whl
|
||
|
}
|
||
|
|
||
|
sha512sums="
|
||
|
c3ddb6870bce2b9bd6912c24bf843945af2b9c6a9477d1e45d4a7c4a9e16dca10e68a4c741cd2448c1c5eb73278d7d963d839769740b8dc61a21ec9fdbecc45a py3-django-autocomplete-light-3.9.7.tar.gz
|
||
|
"
|