Date: Thursday, December 6, 2018 @ 19:29:58 Author: jelle Revision: 341208
archrelease: copy trunk to extra-any Added: python2-django/repos/extra-any/PKGBUILD (from rev 341207, python2-django/trunk/PKGBUILD) Deleted: python2-django/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-06 19:29:47 UTC (rev 341207) +++ PKGBUILD 2018-12-06 19:29:58 UTC (rev 341208) @@ -1,38 +0,0 @@ -# Maintainer: Angel Velasquez <an...@archlinux.org> -# Maintainer: Dan McGee <d...@archlinux.org> -# Contributor: Shahar Weiss <swei...@gmx.net> - -pkgname=python2-django -pkgver=1.11.16 -pkgrel=1 -pkgdesc="A high-level Python Web framework that encourages rapid development and clean design" -arch=('any') -license=('BSD') -url="http://www.djangoproject.com/" -makedepends=('python2' 'python2-setuptools') -depends=('python2' 'python2-setuptools' 'python2-pytz') -optdepends=('mysql-python: for MySQL backend' - 'python2-psycopg2: for PostgreSQL backend') -source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/") -sha512sums=('bf1329ac364c9037fd6cecd0e8565c8bd8d830343671f9ce5415a10e70da37256667675b3f97e4d2508a8a912fa7a06ca7f585586ac18e6734c939bc41a8b455') - -build() { - cd "$srcdir/Django-$pkgver" - python2 setup.py build -} - -package() { - cd "$srcdir/Django-$pkgver" - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/django-admin.py "$pkgdir"/usr/bin/django-admin2.py - mv "$pkgdir"/usr/bin/django-admin "$pkgdir"/usr/bin/django-admin2 - # TODO: this probably won't work due to the `complete` command within not - # knowing about modified our exectuable names - install -Dm644 extras/django_bash_completion \ - "$pkgdir"/usr/share/bash-completion/completions/django-admin2.py - ln -s django-admin2.py \ - "$pkgdir"/usr/share/bash-completion/completions/django-admin2 - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python2-django/repos/extra-any/PKGBUILD (from rev 341207, python2-django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-06 19:29:58 UTC (rev 341208) @@ -0,0 +1,38 @@ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Maintainer: Dan McGee <d...@archlinux.org> +# Contributor: Shahar Weiss <swei...@gmx.net> + +pkgname=python2-django +pkgver=1.11.17 +pkgrel=1 +pkgdesc="A high-level Python Web framework that encourages rapid development and clean design" +arch=('any') +license=('BSD') +url="http://www.djangoproject.com/" +makedepends=('python2' 'python2-setuptools') +depends=('python2' 'python2-setuptools' 'python2-pytz') +optdepends=('mysql-python: for MySQL backend' + 'python2-psycopg2: for PostgreSQL backend') +source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/") +sha512sums=('ecf798ce8037d79dbbe673ad583e6414c9a24b807442feb967927b78cacb467f7f5c20e938116829d9b0df0563ee110a8d07294fd40b99dbd6356c8bae151bd6') + +build() { + cd "$srcdir/Django-$pkgver" + python2 setup.py build +} + +package() { + cd "$srcdir/Django-$pkgver" + python2 setup.py install --root="$pkgdir" --optimize=1 + + mv "$pkgdir"/usr/bin/django-admin.py "$pkgdir"/usr/bin/django-admin2.py + mv "$pkgdir"/usr/bin/django-admin "$pkgdir"/usr/bin/django-admin2 + # TODO: this probably won't work due to the `complete` command within not + # knowing about modified our exectuable names + install -Dm644 extras/django_bash_completion \ + "$pkgdir"/usr/share/bash-completion/completions/django-admin2.py + ln -s django-admin2.py \ + "$pkgdir"/usr/share/bash-completion/completions/django-admin2 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}