2018-08-01 08:55:03 +02:00
|
|
|
|
# Tanım: Python3 django web çerçevesi
|
|
|
|
|
# URL: https://www.djangoproject.com/
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: python3-setuptools python3
|
|
|
|
|
# Grup: sistem
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=python3-django
|
|
|
|
|
surum=1.11.2
|
|
|
|
|
devir=1
|
|
|
|
|
|
|
|
|
|
kaynak=(https://pypi.python.org/packages/c0/31/4bffd9183066eea645430114419c30b030b599320da8246701b81c6a78d2/Django-1.11.2.tar.gz)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd Django-$surum
|
|
|
|
|
python3 setup.py build
|
|
|
|
|
python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
|
|
|
|
ln -s django-admin.py "$PKG"/usr/bin/django-admin3.py
|
|
|
|
|
ln -s django-admin "$PKG"/usr/bin/django-admin3
|
|
|
|
|
install -Dm644 extras/django_bash_completion "$PKG"/usr/share/bash-completion/completions/django-admin.py
|
|
|
|
|
ln -s django-admin.py "$PKG"/usr/share/bash-completion/completions/django-admin
|
|
|
|
|
ln -s django-admin.py "$PKG"/usr/share/bash-completion/completions/manage.py
|
|
|
|
|
}
|