23 lines
696 B
Bash
23 lines
696 B
Bash
# Template file for 'python-Django'
|
|
pkgname=python-Django
|
|
version=1.11.29
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="Django-${version}"
|
|
build_style=python2-module
|
|
hostmakedepends="python-setuptools"
|
|
depends="python-pytz python-setuptools"
|
|
short_desc="High-level Python2 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=4200aefb6678019a0acf0005cd14cfce3a5e6b9b90d06145fcdd2e474ad4329c
|
|
alternatives="django:django-admin:/usr/bin/django-admin2"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
rm -f ${DESTDIR}/usr/bin/django-admin.py*
|
|
mv ${DESTDIR}/usr/bin/django-admin{,2}
|
|
}
|