[arch-commits] Commit in python2-django/repos/extra-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Tue Oct 1 19:21:32 UTC 2019
Date: Tuesday, October 1, 2019 @ 19:21:31
Author: jelle
Revision: 363624
archrelease: copy trunk to extra-any
Added:
python2-django/repos/extra-any/PKGBUILD
(from rev 363623, python2-django/trunk/PKGBUILD)
Deleted:
python2-django/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 76 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 38 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-01 19:21:24 UTC (rev 363623)
+++ PKGBUILD 2019-10-01 19:21:31 UTC (rev 363624)
@@ -1,38 +0,0 @@
-# Maintainer: Angel Velasquez <angvp at archlinux.org>
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Shahar Weiss <sweiss4 at gmx.net>
-
-pkgname=python2-django
-pkgver=1.11.23
-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/"
-makedepends=('python2' 'python2-setuptools')
-depends=('python2' 'python2-setuptools' 'python2-pytz')
-optdepends=('mysql-python: for MySQL backend'
- 'python2-psycopg2: for PostgreSQL backend')
-source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/")
-sha512sums=('c4c5d82e4ecf1a100637ac32eafd3fb0d7690ba5c0cb884846f31c434c0cb1282d94149e031c577d676570f3b331c2a320d58f34f40ac02deae089c4b61c65ea')
-
-build() {
- cd "$srcdir/Django-$pkgver"
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/Django-$pkgver"
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir"/usr/bin/django-admin.py "$pkgdir"/usr/bin/django-admin2.py
- mv "$pkgdir"/usr/bin/django-admin "$pkgdir"/usr/bin/django-admin2
- # TODO: this probably won't work due to the `complete` command within not
- # knowing about modified our exectuable names
- install -Dm644 extras/django_bash_completion \
- "$pkgdir"/usr/share/bash-completion/completions/django-admin2.py
- ln -s django-admin2.py \
- "$pkgdir"/usr/share/bash-completion/completions/django-admin2
-
- install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python2-django/repos/extra-any/PKGBUILD (from rev 363623, python2-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-01 19:21:31 UTC (rev 363624)
@@ -0,0 +1,38 @@
+# Maintainer: Angel Velasquez <angvp at archlinux.org>
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgname=python2-django
+pkgver=1.11.25
+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/"
+makedepends=('python2' 'python2-setuptools')
+depends=('python2' 'python2-setuptools' 'python2-pytz')
+optdepends=('mysql-python: for MySQL backend'
+ 'python2-psycopg2: for PostgreSQL backend')
+source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/")
+sha512sums=('f55f0514d83c09da1d8da3bf52db41acd6c8481407a7acf94ca6d0a42f1767f4f1b8d4a691d4e50e00b708aaced7403f5e5092bf3c159447a0bef8ece9d7f64b')
+
+build() {
+ cd "$srcdir/Django-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/Django-$pkgver"
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/django-admin.py "$pkgdir"/usr/bin/django-admin2.py
+ mv "$pkgdir"/usr/bin/django-admin "$pkgdir"/usr/bin/django-admin2
+ # TODO: this probably won't work due to the `complete` command within not
+ # knowing about modified our exectuable names
+ install -Dm644 extras/django_bash_completion \
+ "$pkgdir"/usr/share/bash-completion/completions/django-admin2.py
+ ln -s django-admin2.py \
+ "$pkgdir"/usr/share/bash-completion/completions/django-admin2
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list