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

Dan McGee dan at nymeria.archlinux.org
Wed Sep 11 13:34:27 UTC 2013


    Date: Wednesday, September 11, 2013 @ 15:34:27
  Author: dan
Revision: 194248

archrelease: copy trunk to extra-any

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

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2013-09-11 13:34:21 UTC (rev 194247)
+++ PKGBUILD	2013-09-11 13:34:27 UTC (rev 194248)
@@ -1,55 +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.5.2
-pkgrel=2
-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=('26e83e6394a15a86212777d5f61eae86')
-sha256sums=('9a4b19adaaa096843425d426ffbeb928e85d861ff9c106527cb747dc67b434da')
-
-build() {
-  cd "$srcdir/Django-$pkgver"
-  python2 setup.py build
-}
-
-package_python-django() {
-  depends=('python')
-  optdepends=('python-psycopg2: for PostgreSQL backend')
-  cd "$srcdir/Django-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/django-admin.py "$pkgdir"/usr/bin/django-admin3.py
-  install -Dm644 extras/django_bash_completion \
-    "$pkgdir"/usr/share/bash-completion/completions/django-admin3.py
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-django() {
-  depends=('python2')
-  optdepends=('mysql-python: for MySQL backend'
-              'python2-psycopg2: for PostgreSQL backend')
-  replaces=('django')
-  conflicts=('django')
-  cd "$srcdir/Django-$pkgver"
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  ln -s django-admin.py "$pkgdir"/usr/bin/django-admin2.py
-  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/manage.py
-
-  find "$pkgdir"/usr/lib/python2.7/site-packages/django/ -name '*.py' | \
-    xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: django/repos/extra-any/PKGBUILD (from rev 194247, django/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2013-09-11 13:34:27 UTC (rev 194248)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Dan McGee <dan at archlinux.org>
+# Contributor: Shahar Weiss <sweiss4 at gmx.net>
+
+pkgbase=django
+pkgname=('python-django' 'python2-django')
+pkgver=1.5.3
+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=('1581e28b4aeb269c34a9b0417e103aaa')
+sha256sums=('e0fd8dec0497ed98e8e03bd5297064f276f203f4c192f252231a3f25187b59b5')
+
+build() {
+  cd "$srcdir/Django-$pkgver"
+  python2 setup.py build
+}
+
+package_python-django() {
+  depends=('python')
+  optdepends=('python-psycopg2: for PostgreSQL backend')
+  cd "$srcdir/Django-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/django-admin.py "$pkgdir"/usr/bin/django-admin3.py
+  install -Dm644 extras/django_bash_completion \
+    "$pkgdir"/usr/share/bash-completion/completions/django-admin3.py
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-django() {
+  depends=('python2')
+  optdepends=('mysql-python: for MySQL backend'
+              'python2-psycopg2: for PostgreSQL backend')
+  replaces=('django')
+  conflicts=('django')
+  cd "$srcdir/Django-$pkgver"
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  ln -s django-admin.py "$pkgdir"/usr/bin/django-admin2.py
+  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/manage.py
+
+  find "$pkgdir"/usr/lib/python2.7/site-packages/django/ -name '*.py' | \
+    xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}




More information about the arch-commits mailing list