Date: Friday, June 5, 2020 @ 21:20:58 Author: jelle Revision: 388360 archrelease: copy trunk to extra-any
Added: django/repos/extra-any/PKGBUILD (from rev 388359, django/trunk/PKGBUILD) Deleted: django/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-06-05 21:20:43 UTC (rev 388359) +++ PKGBUILD 2020-06-05 21:20:58 UTC (rev 388360) @@ -1,48 +0,0 @@ -# Maintainer: Angel Velasquez <an...@archlinux.org> -# Maintainer: Dan McGee <d...@archlinux.org> -# Contributor: Shahar Weiss <swei...@gmx.net> - -pkgbase=django -pkgname=('python-django') -pkgver=3.0.6 -pkgrel=2 -pkgdesc="A high-level Python Web framework that encourages rapid development and clean design" -arch=('any') -license=('BSD') -url="http://www.djangoproject.com/" -checkdepends=('python-pytest' 'python-tblib') -makedepends=('python' 'python-setuptools') -depends=('python' 'python-setuptools' 'python-pytz' 'python-sqlparse' 'python-asgiref') -optdepends=('python-psycopg2: for PostgreSQL backend') -source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/") -sha512sums=('4c92c51386919c389037d6c6d1de3cb6ec443bd1f216f20797fb20fb24ea8d021701a03805ba693deadfa82b1aee38ae0d7fc03cae94cd744b1d1fa47ddc46ad') - -build() { - cd "$srcdir/Django-$pkgver" - python setup.py build -} - -package_python-django() { - cd "$srcdir/Django-$pkgver" - - # fix reproducibility of .pyc files - export PYTHONHASHSEED=0 - - python setup.py install --root="$pkgdir" --optimize=1 - - ln -s django-admin.py "$pkgdir"/usr/bin/django-admin3.py - ln -s django-admin "$pkgdir"/usr/bin/django-admin3 - install -Dm644 extras/django_bash_completion \ - "$pkgdir"/usr/share/bash-completion/completions/django-admin.py - ln -s django-admin.py \ - "$pkgdir"/usr/share/bash-completion/completions/django-admin - ln -s django-admin.py \ - "$pkgdir"/usr/share/bash-completion/completions/manage.py - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -check() { - cd "$srcdir/Django-$pkgver" - PYTHONPATH="$PWD" python tests/runtests.py || echo 'tests failed' -} Copied: django/repos/extra-any/PKGBUILD (from rev 388359, django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-05 21:20:58 UTC (rev 388360) @@ -0,0 +1,48 @@ +# Maintainer: Angel Velasquez <an...@archlinux.org> +# Maintainer: Dan McGee <d...@archlinux.org> +# Contributor: Shahar Weiss <swei...@gmx.net> + +pkgbase=django +pkgname=('python-django') +pkgver=3.0.7 +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/" +checkdepends=('python-pytest' 'python-tblib') +makedepends=('python' 'python-setuptools') +depends=('python' 'python-setuptools' 'python-pytz' 'python-sqlparse' 'python-asgiref') +optdepends=('python-psycopg2: for PostgreSQL backend') +source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/") +sha512sums=('566a78c3686baaea2ea8f2db2c1762a78ec5e5ae44f0be43f49c83899c2a0a9d1b2297a05ce8f4bc6bc580c494dde66bb2be47a8269cce3e1b007fedd857e5d3') + +build() { + cd "$srcdir/Django-$pkgver" + python setup.py build +} + +package_python-django() { + cd "$srcdir/Django-$pkgver" + + # fix reproducibility of .pyc files + export PYTHONHASHSEED=0 + + python setup.py install --root="$pkgdir" --optimize=1 + + ln -s django-admin.py "$pkgdir"/usr/bin/django-admin3.py + ln -s django-admin "$pkgdir"/usr/bin/django-admin3 + install -Dm644 extras/django_bash_completion \ + "$pkgdir"/usr/share/bash-completion/completions/django-admin.py + ln -s django-admin.py \ + "$pkgdir"/usr/share/bash-completion/completions/django-admin + ln -s django-admin.py \ + "$pkgdir"/usr/share/bash-completion/completions/manage.py + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +check() { + cd "$srcdir/Django-$pkgver" + PYTHONPATH="$PWD" python tests/runtests.py || echo 'tests failed' +}