Date: Monday, November 1, 2021 @ 11:57:19 Author: jelle Revision: 426931
archrelease: copy trunk to extra-any Added: django/repos/extra-any/PKGBUILD (from rev 426930, django/trunk/PKGBUILD) Deleted: django/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-11-01 11:57:10 UTC (rev 426930) +++ PKGBUILD 2021-11-01 11:57:19 UTC (rev 426931) @@ -1,47 +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.2.8 -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-pytz' 'python-sqlparse' 'python-asgiref') -# TODO: package and add python-pymemcache https://docs.djangoproject.com/en/dev/topics/cache/ -optdepends=('python-psycopg2: for PostgreSQL backend' - 'python-argon2_cffi: for Argon2 password hashing support') -source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/") -sha512sums=('0d1d745fc7ebc20a2c3c1d18e270210ec57d605aafafb2bc2bee4229727469dfea6fbd510073ee6509b389eff2a7bdb75765aecafc4506d4489c2ce37a97bfbe') - -build() { - cd "$srcdir/Django-$pkgver" - python setup.py build -} - -package_python-django() { - cd "$srcdir/Django-$pkgver" - - 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 426930, django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-11-01 11:57:19 UTC (rev 426931) @@ -0,0 +1,47 @@ +# 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.2.9 +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-pytz' 'python-sqlparse' 'python-asgiref') +# TODO: package and add python-pymemcache https://docs.djangoproject.com/en/dev/topics/cache/ +optdepends=('python-psycopg2: for PostgreSQL backend' + 'python-argon2_cffi: for Argon2 password hashing support') +source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/") +sha512sums=('62fb297694a7f5e48465e102dc97e3d1d04b94499bc6d98d37a00d96b438b8c919b6d08055868a1836d62b89ff65ce4fa7dbc9390789dab2eeca0187269b125f') + +build() { + cd "$srcdir/Django-$pkgver" + python setup.py build +} + +package_python-django() { + cd "$srcdir/Django-$pkgver" + + 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' +}