mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-14 02:53:50 +02:00
New package: python-Django-1.8.3
This commit is contained in:
parent
019f4d7fde
commit
ea415bef34
2 changed files with 41 additions and 0 deletions
40
srcpkgs/python-Django/template
Normal file
40
srcpkgs/python-Django/template
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Template file for 'python-Django'
|
||||||
|
pkgname=python-Django
|
||||||
|
version=1.8.3
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="Django-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
pycompile_module="django"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
makedepends="python-devel python3.4-devel"
|
||||||
|
depends="python"
|
||||||
|
short_desc="A high-level Python2 Web framework"
|
||||||
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
||||||
|
license="BSD"
|
||||||
|
homepage="http://www.djangoproject.com/"
|
||||||
|
distfiles="${PYPI_SITE}/D/Django/Django-${version}.tar.gz"
|
||||||
|
checksum=2bb654fcc05fd53017c88caf2bc38b5c5ea23c91f8ac7f0a28b290daf2305bba
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
rm -f ${DESTDIR}/usr/bin/django-admin*
|
||||||
|
vbin build-2.7/scripts-2.7/django-admin.py
|
||||||
|
ln -s django-admin.py ${DESTDIR}/usr/bin/django-admin
|
||||||
|
vbin build-3.4/scripts-3.4/django-admin.py django-admin3.py
|
||||||
|
ln -s django-admin3.py ${DESTDIR}/usr/bin/django-admin3
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-Django_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="django"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove 'usr/bin/django-admin3*'
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-Django
Symbolic link
1
srcpkgs/python3.4-Django
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-Django
|
Loading…
Add table
Reference in a new issue