Date: Saturday, August 7, 2021 @ 18:45:16 Author: jelle Revision: 421192
archrelease: copy trunk to extra-any Added: django/repos/extra-any/PKGBUILD (from rev 421191, django/trunk/PKGBUILD) Deleted: django/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-07 18:45:09 UTC (rev 421191) +++ PKGBUILD 2021-08-07 18:45:16 UTC (rev 421192) @@ -1,50 +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.5 -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=('03d4eee650a857bed298658c68b916beb74690d16b4b28d649c52a7c2d8a61e92f53136d2de3a77fabe1dd01c0e6b3033befc6842f39c222793fb590b1020c13') - -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 421191, django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-07 18:45:16 UTC (rev 421192) @@ -0,0 +1,50 @@ +# 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.6 +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=('adf2d2ab3006cc5b389bed8d8e16ee8c98393b20d719c3521068e5cc5d1e679b9f660be90f827ea1cc6a41f975641c32bdb0779ee145e5e31a501ca9e06898a4') + +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' +}