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

Jelle van der Waa jelle at archlinux.org
Mon Nov 2 16:43:51 UTC 2020


    Date: Monday, November 2, 2020 @ 16:43:51
  Author: jelle
Revision: 399164

archrelease: copy trunk to extra-any

Added:
  django/repos/extra-any/PKGBUILD
    (from rev 399163, django/trunk/PKGBUILD)
Deleted:
  django/repos/extra-any/PKGBUILD
  django/repos/extra-any/update_asgiref_dep.patch

--------------------------+
 PKGBUILD                 |  101 +++++++++++++++++++++------------------------
 update_asgiref_dep.patch |   12 -----
 2 files changed, 48 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-02 16:43:45 UTC (rev 399163)
+++ PKGBUILD	2020-11-02 16:43:51 UTC (rev 399164)
@@ -1,53 +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.1.2
-pkgrel=2
-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/" "update_asgiref_dep.patch")
-sha512sums=('39115e942c26c9af27c4079f590e15caa86cc5c0e012873d7be23809e39de178b2dd935919dee21bbee153bccb17463abcece1db3b1f7dfa95b7b55879488876'
-            'ded106356ac9e3acd87c021e46814cef4726f0f5be08bb0aa001e82aab12aaf01b0e9c97d8bc5bc21754ea68d47e457f301c00ae6ef998fe57339af68545b482')
-
-prepare() {
-  cd "$srcdir/Django-$pkgver"
-  patch -Np1 -i ${srcdir}/update_asgiref_dep.patch
-}
-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 399163, django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-02 16:43:51 UTC (rev 399164)
@@ -0,0 +1,48 @@
+# 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.1.3
+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=('0f49316dc61a299a257313c27051852e948337491047bacb2221c9c753a5cf4bafb2ed686311ad5345dd3045260331afccb013c21503891538340225a469d1ad')
+
+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'
+}

Deleted: update_asgiref_dep.patch
===================================================================
--- update_asgiref_dep.patch	2020-11-02 16:43:45 UTC (rev 399163)
+++ update_asgiref_dep.patch	2020-11-02 16:43:51 UTC (rev 399164)
@@ -1,12 +0,0 @@
-diff -aur Django-3.1.2/setup.cfg Django-3.1.2.new/setup.cfg
---- Django-3.1.2/setup.cfg	2020-10-01 07:27:31.000000000 +0200
-+++ Django-3.1.2.new/setup.cfg	2020-10-29 12:38:49.800249266 +0100
-@@ -39,7 +39,7 @@
- include_package_data = true
- zip_safe = false
- install_requires = 
--	asgiref ~= 3.2.10
-+	asgiref >= 3.2.10
- 	pytz
- 	sqlparse >= 0.2.2
- 



More information about the arch-commits mailing list