Date: Friday, May 7, 2021 @ 18:05:30 Author: jelle Revision: 414579 archrelease: copy trunk to extra-any
Added: django/repos/extra-any/PKGBUILD (from rev 414578, django/trunk/PKGBUILD) Deleted: django/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 100 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-07 18:05:15 UTC (rev 414578) +++ PKGBUILD 2021-05-07 18:05:30 UTC (rev 414579) @@ -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.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') -# 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=('5f3f80047cdcb6c9a07ca0dc9d6d83d190c8c0215311f39e6e441384659c92e4fa42bf4677d297a4ba8520a0bfbd78c4b2ca13cf467c1e1220c0c6a3131ba444') - -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 414578, django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-07 18:05:30 UTC (rev 414579) @@ -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.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') +# 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=('28d1d56cdf883f8fb5e438124be53dbefaa0045d1acf0b4b8b455a482422e2b88ffc5a3c8be2ee1b7d3c39fe29cfa854b44b438c3d43323483bd35e0d05f9e49') + +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' +}