milis/talimatname/genel/p/python3-django/talimat

23 lines
763 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Python3 django web çerçevesi
# URL: https://www.djangoproject.com/
# Paketçi: milisarge
# Gerekler: python3-setuptools python3
# Grup: sistem
isim=python3-django
surum=2.1
devir=1
kaynak=(https://www.djangoproject.com/m/releases/$surum/Django-$surum.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
}