ayaports/user/py3-django-extensions/APKBUILD
2022-07-29 15:47:03 +00:00

33 lines
944 B
Text

# Maintainer: Antoine Martin <dev@ayakael.net>
_pyname=django-extensions
pkgname="py3-$_pyname"
pkgver=3.1.3
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'
# graphviz ipython py3-werkzeug
makedepends='py3-setuptools'
options="!check"
source="${pkgname}-${pkgver}.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-${pkgver}.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
cd "$builddir"
python3 setup.py build
}
package() {
cd "$builddir"
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="
d4c9159899f94a89c158f2b63ab633337dd8a8d7c4dbfb9ea5913262f15b2e765a752a63ecc903bf48b32dd60524687f5c354d99cb5f308edb2a7097086c9b97 py3-django-extensions-3.1.3.tar.gz
"