talimat 822 B

1234567891011121314151617181920212223
  1. # Tanım: Python2 django web çerçevesi
  2. # URL: https://www.djangoproject.com/
  3. # Paketçi: milisarge
  4. # Gerekler: python-setuptools python
  5. # Grup: ağ sistem
  6. isim=python-django
  7. surum=1.11.2
  8. devir=1
  9. kaynak=(https://pypi.python.org/packages/c0/31/4bffd9183066eea645430114419c30b030b599320da8246701b81c6a78d2/Django-1.11.2.tar.gz)
  10. derle() {
  11. cd Django-$surum
  12. python2 setup.py build
  13. python2 setup.py install --prefix=/usr --root=$PKG --optimize=1
  14. ln -s django-admin.py "$PKG"/usr/bin/django-admin2.py
  15. ln -s django-admin "$PKG"/usr/bin/django-admin2
  16. install -Dm644 extras/django_bash_completion "$PKG"/usr/share/bash-completion/completions/django-admin2.py
  17. ln -s django-admin.py "$PKG"/usr/share/bash-completion/completions/django-admin2
  18. ln -s django-admin.py "$PKG"/usr/share/bash-completion/completions/manage2.py
  19. }