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

Jelle van der Waa jelle at archlinux.org
Sat Jul 6 19:41:12 UTC 2019


    Date: Saturday, July 6, 2019 @ 19:41:12
  Author: jelle
Revision: 357362

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-06 19:41:06 UTC (rev 357361)
+++ PKGBUILD	2019-07-06 19:41:12 UTC (rev 357362)
@@ -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.21
-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=('c91a1189b6b8fbbb1470f870b09c1c553e860d3b8c0977240399524a830d5403929f14b4e4b689354080748aab1c70587ad56e265f4ac0b3bdc2714d01adbbc4')
-
-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 357361, python2-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-06 19:41:12 UTC (rev 357362)
@@ -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.22
+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=('687cba07c0549b18ef386df5663e968871b8fc950b9ddf4267f7e2f4ea43c98dc92e76fae39e07a0760b183653e38cdf9909cfaeca874e8230f24bd49ef95d6a')
+
+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