22 lines
699 B
Bash
22 lines
699 B
Bash
# Template file for 'python3-Django'
|
|
pkgname=python3-Django
|
|
version=3.0.5
|
|
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="${PYPI_SITE}/D/Django/Django-${version}.tar.gz"
|
|
checksum=d4666c2edefa38c5ede0ec1655424c56dc47ceb04b6d8d62a7eac09db89545c1
|
|
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}
|
|
}
|