Date: Sunday, February 4, 2018 @ 18:41:37
  Author: angvp
Revision: 315862

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-04 18:41:14 UTC (rev 315861)
+++ PKGBUILD    2018-02-04 18:41:37 UTC (rev 315862)
@@ -1,69 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <d...@archlinux.org>
-# Contributor: Shahar Weiss <swei...@gmx.net>
-
-pkgbase=django
-pkgname=('python-django' 'python2-django')
-pkgver=1.11.2
-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' 'python' 'python-setuptools')
-source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/";)
-sha512sums=('0f1187fd03064b966241d6ed1a869d6f155af2598a7b9c8b2f902585265cb6df7236817e5f14907c362ce7420d08e881ff9461f14d673485be3b3e5c3d980e8e')
-
-prepare() {
-  cp -a "$srcdir/Django-$pkgver" "$srcdir/Django-$pkgver-python2"
-
-  find "$srcdir/Django-$pkgver-python2" -name '*.py' | \
-    xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
-}
-
-build() {
-  cd "$srcdir/Django-$pkgver"
-  python setup.py build
-
-  cd "$srcdir/Django-$pkgver-python2"
-  python2 setup.py build
-}
-
-package_python-django() {
-  depends=('python' 'python-setuptools' 'python-pytz')
-  optdepends=('python-psycopg2: for PostgreSQL backend')
-  cd "$srcdir/Django-$pkgver"
-  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
-}
-
-package_python2-django() {
-  depends=('python2' 'python2-setuptools' 'python2-pytz')
-  optdepends=('mysql-python: for MySQL backend'
-              'python2-psycopg2: for PostgreSQL backend')
-  replaces=('django')
-  conflicts=('django')
-  cd "$srcdir/Django-$pkgver-python2"
-  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: django/repos/extra-any/PKGBUILD (from rev 315861, django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-04 18:41:37 UTC (rev 315862)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Angel Velasquez <an...@archlinux.org>
+# Maintainer: Dan McGee <d...@archlinux.org>
+# Contributor: Shahar Weiss <swei...@gmx.net>
+
+pkgbase=django
+pkgname=('python-django' 'python2-django')
+pkgver=1.11.10
+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' 'python' 'python-setuptools')
+source=("Django-$pkgver.tar.gz::https://www.djangoproject.com/download/$pkgver/tarball/";)
+sha512sums=('fb0b5ed29590dba87ab3776987cfd3df5d87dc827d8cb0efb0cf65a32c3a40abb4dde74f3d6b9c9366b675f8d3e175f7e647edda64811b1be74210195f29779b')
+sha256sums=('22383567385a9c406d8a5ce080a2694c82c6b733e157922197e8b393bb3aacd9')
+
+prepare() {
+  cp -a "$srcdir/Django-$pkgver" "$srcdir/Django-$pkgver-python2"
+
+  find "$srcdir/Django-$pkgver-python2" -name '*.py' | \
+    xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
+}
+
+build() {
+  cd "$srcdir/Django-$pkgver"
+  python setup.py build
+
+  cd "$srcdir/Django-$pkgver-python2"
+  python2 setup.py build
+}
+
+package_python-django() {
+  depends=('python' 'python-setuptools' 'python-pytz')
+  optdepends=('python-psycopg2: for PostgreSQL backend')
+  cd "$srcdir/Django-$pkgver"
+  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
+}
+
+package_python2-django() {
+  depends=('python2' 'python2-setuptools' 'python2-pytz')
+  optdepends=('mysql-python: for MySQL backend'
+              'python2-psycopg2: for PostgreSQL backend')
+  replaces=('django')
+  conflicts=('django')
+  cd "$srcdir/Django-$pkgver-python2"
+  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
+}

Reply via email to