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

Jelle van der Waa jelle at archlinux.org
Mon Oct 1 20:07:49 UTC 2018


    Date: Monday, October 1, 2018 @ 20:07:48
  Author: jelle
Revision: 335617

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-01 20:07:34 UTC (rev 335616)
+++ PKGBUILD	2018-10-01 20:07:48 UTC (rev 335617)
@@ -1,39 +0,0 @@
-# $Id$
-# 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.15
-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=('4ea18c59f7c74d0b6deb9d292d5de068c6dcc53d9596f321f5a7e823ff5fe423cc8d69c88bf53e3acd9c36c4ecc4447148243a127d5114a4894b0fd4d449f37e')
-
-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 335616, python2-django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-10-01 20:07:48 UTC (rev 335617)
@@ -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.16
+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=('bf1329ac364c9037fd6cecd0e8565c8bd8d830343671f9ce5415a10e70da37256667675b3f97e4d2508a8a912fa7a06ca7f585586ac18e6734c939bc41a8b455')
+
+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