Date: Thursday, October 1, 2020 @ 18:09:16 Author: jelle Revision: 397036
archrelease: copy trunk to extra-any Added: django/repos/extra-any/PKGBUILD (from rev 397035, django/trunk/PKGBUILD) Deleted: django/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 96 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-10-01 18:09:10 UTC (rev 397035) +++ PKGBUILD 2020-10-01 18:09:16 UTC (rev 397036) @@ -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.1.1 -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=('5da4282c2ae712ecb2da654a99d46cd60c99aced90f75e681d5a0765b8c08669f27b6c38287bfe7bac028f12ae0643e2be06742752bdc83c62daf82fee60281f') - -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 397035, django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-10-01 18:09:16 UTC (rev 397036) @@ -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.1.2 +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=('39115e942c26c9af27c4079f590e15caa86cc5c0e012873d7be23809e39de178b2dd935919dee21bbee153bccb17463abcece1db3b1f7dfa95b7b55879488876') + +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' +}