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

Dan McGee dan at archlinux.org
Fri Oct 21 13:04:38 UTC 2016


    Date: Friday, October 21, 2016 @ 13:04:37
  Author: dan
Revision: 279107

archrelease: copy trunk to extra-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-21 13:04:31 UTC (rev 279106)
+++ PKGBUILD	2016-10-21 13:04:37 UTC (rev 279107)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Dan McGee <dan at archlinux.org>
-# Contributor: Shahar Weiss <sweiss4 at gmx.net>
-
-pkgbase=django
-pkgname=('python-django' 'python2-django')
-pkgver=1.9.9
-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=("https://www.djangoproject.com/m/releases/${pkgver:0:3}/Django-$pkgver.tar.gz")
-md5sums=('af2e5f02b72400ddaef7f923a7fda6a9')
-sha256sums=('e340fb9d534aeb543280e46c3b85e6e1049029a4e6ba5571375b11c914bfde8c')
-
-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')
-  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')
-  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 279106, django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-10-21 13:04:37 UTC (rev 279107)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgbase=django
+pkgname=('python-django' 'python2-django')
+pkgver=1.10.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/")
+md5sums=('5342e77374b2acd2eafa86d2bb68f8c9')
+sha256sums=('e127f12a0bfb34843b6e8c82f91e26fff6445a7ca91d222c0794174cf97cbce1')
+
+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')
+  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')
+  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
+}



More information about the arch-commits mailing list