ayaports/user/py3-django-extensions/APKBUILD

27 lines
890 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-django-extensions
_pyname="django-extensions"
pkgver=3.2.1
pkgrel=0
arch="noarch"
pkgdesc="A collection of custom extensions for the Django Framework"
url="https://pypi.python.org/project/$_pyname"
license="MIT"
depends='python3 py3-django py3-six'
makedepends='py3-setuptools'
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
}
sha512sums="
570989844035d688684b524abc8a20b6043b7cd76fd14dde6b2efe7e32b295f8f3a39a8ecceaae7c86233a5e56b6a8d33381b8f7aa18f153c2d79d4b007d3e34 py3-django-extensions-3.2.1.tar.gz
"