void-packages/srcpkgs/python3-Django/template
2020-06-14 08:23:43 +02:00

22 lines
722 B
Bash

# Template file for 'python3-Django'
pkgname=python3-Django
version=3.0.7
revision=1
archs=noarch
wrksrc="Django-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-pytz python3-setuptools"
short_desc="High-level Python3 Web framework"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://www.djangoproject.com/"
distfiles="https://media.djangoproject.com/releases/3.0/Django-${version}.tar.gz"
checksum=5052b34b34b3425233c682e0e11d658fd6efd587d11335a0203d827224ada8f2
alternatives="django:django-admin:/usr/bin/django-admin3"
post_install() {
vlicense LICENSE
rm -f ${DESTDIR}/usr/bin/django-admin.py*
mv ${DESTDIR}/usr/bin/django-admin{,3}
}