[arch-commits] Commit in django/repos/staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Nov 11 15:05:49 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:05:48
Author: felixonmars
Revision: 400378
archrelease: copy trunk to staging-any
Added:
django/repos/staging-any/PKGBUILD
(from rev 400377, django/trunk/PKGBUILD)
Deleted:
django/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 15:05:35 UTC (rev 400377)
+++ PKGBUILD 2020-11-11 15:05:48 UTC (rev 400378)
@@ -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=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/")
-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/staging-any/PKGBUILD (from rev 400377, django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:05:48 UTC (rev 400378)
@@ -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=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'
+}
More information about the arch-commits
mailing list