[arch-commits] Commit in django/repos/extra-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at gemini.archlinux.org
Tue Oct 5 12:19:21 UTC 2021


    Date: Tuesday, October 5, 2021 @ 12:19:21
  Author: jelle
Revision: 425132

archrelease: copy trunk to extra-any

Added:
  django/repos/extra-any/PKGBUILD
    (from rev 425131, django/trunk/PKGBUILD)
Deleted:
  django/repos/extra-any/PKGBUILD

----------+
 PKGBUILD |   97 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 47 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-10-05 12:19:16 UTC (rev 425131)
+++ PKGBUILD	2021-10-05 12:19:21 UTC (rev 425132)
@@ -1,50 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Shahar Weiss <sweiss4 at gmx.net>
-
-pkgbase=django
-pkgname=('python-django')
-pkgver=3.2.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-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=('6dc497fdeee24dbca85654999ae98cb776cf32b7c38e4431eeed66befb7d663e3880bf5dec0a9573e64678938c443282c3e5b9be9d25b6863481c5208a1ed98c')
-
-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 425131, django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-10-05 12:19:21 UTC (rev 425132)
@@ -0,0 +1,47 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Shahar Weiss <sweiss4 at 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'
+}



More information about the arch-commits mailing list