[arch-commits] Commit in django/repos/extra-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Dec 6 12:02:58 UTC 2020
Date: Sunday, December 6, 2020 @ 12:02:58
Author: jelle
Revision: 402963
archrelease: copy trunk to extra-any
Added:
django/repos/extra-any/PKGBUILD
(from rev 402962, django/trunk/PKGBUILD)
Deleted:
django/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-06 12:02:50 UTC (rev 402962)
+++ PKGBUILD 2020-12-06 12:02:58 UTC (rev 402963)
@@ -1,48 +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.3
-pkgrel=3
-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'
-}
Copied: django/repos/extra-any/PKGBUILD (from rev 402962, django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-06 12:02:58 UTC (rev 402963)
@@ -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.4
+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=('02cfaabb25e5f932dcbf659faba2f0afe298e4bee4f510f7adebfff181bdd13c3a0b08e8ce379bcc59326d904be8699db4ce31065d93566b93cad758365207f5')
+
+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'
+}
More information about the arch-commits
mailing list