python-Django: update to 1.11.29
python2 support is dropped after 2.0
This commit is contained in:
parent
e544c01b37
commit
13eeac7ef4
|
@ -1,35 +1,22 @@
|
||||||
# Template file for 'python-Django'
|
# Template file for 'python-Django'
|
||||||
pkgname=python-Django
|
pkgname=python-Django
|
||||||
version=1.11.25
|
version=1.11.29
|
||||||
revision=2
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
wrksrc="Django-${version}"
|
wrksrc="Django-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
pycompile_module="django"
|
hostmakedepends="python-setuptools"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
|
||||||
depends="python-pytz python-setuptools"
|
depends="python-pytz python-setuptools"
|
||||||
short_desc="High-level Python2 Web framework"
|
short_desc="High-level Python2 Web framework"
|
||||||
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://www.djangoproject.com/"
|
homepage="https://www.djangoproject.com/"
|
||||||
distfiles="${PYPI_SITE}/D/Django/Django-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/D/Django/Django-${version}.tar.gz"
|
||||||
checksum=5314e8586285d532b7aa5c6d763b0248d9a977a37efec86d30f0212b82e8ef66
|
checksum=4200aefb6678019a0acf0005cd14cfce3a5e6b9b90d06145fcdd2e474ad4329c
|
||||||
alternatives="django:django-admin:/usr/bin/django-admin2"
|
alternatives="django:django-admin:/usr/bin/django-admin2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
rm -f ${DESTDIR}/usr/bin/django-admin.py*
|
rm -f ${DESTDIR}/usr/bin/django-admin.py*
|
||||||
}
|
mv ${DESTDIR}/usr/bin/django-admin{,2}
|
||||||
|
|
||||||
python3-Django_package() {
|
|
||||||
archs=noarch
|
|
||||||
pycompile_module="django"
|
|
||||||
depends="python3-setuptools python3-pytz"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
alternatives="django:django-admin:/usr/bin/django-admin3"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/bin/*3
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
ignore="*a* *b* *rc*"
|
ignore="*a* *b* *rc* [2-9]*"
|
||||||
|
|
Loading…
Reference in New Issue