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

Andrea Scarpino andrea at archlinux.org
Tue Jan 5 13:21:20 EST 2010


    Date: Tuesday, January 5, 2010 @ 13:21:19
  Author: andrea
Revision: 62244

Merged revisions 62243 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/django/trunk

........
  r62243 | andrea | 2010-01-05 19:20:30 +0100 (Tue, 05 Jan 2010) | 2 lines
  
  upgpkg: django 1.1.1-3
      setuptools is not needed as dependence; added optional dependencies
........

Modified:
  django/repos/extra-i686/	(properties)
  django/repos/extra-i686/PKGBUILD

----------+
 PKGBUILD |   20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)


Property changes on: django/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /django/trunk:1-55496
   + /django/trunk:1-62243

Modified: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2010-01-05 18:20:30 UTC (rev 62243)
+++ extra-i686/PKGBUILD	2010-01-05 18:21:19 UTC (rev 62244)
@@ -1,21 +1,27 @@
 # $Id$
+# Maintainer:
 # Contributor: Shahar Weiss <sweiss4 at gmx.net>
 # Contributor: simo <simo at archlinux.org>
-# Maintainer: Douglas Soares de Andrade <douglas at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
 
 pkgname=django
 pkgver=1.1.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A high-level Python Web framework."
 arch=('i686' 'x86_64')
 license=('BSD')
 url="http://www.djangoproject.com"
-depends=('setuptools')
+depends=('python')
+makedepends=('setuptools')
+optdepends=('mysql-python: for MySQL backend'
+	'psycopg1: for PostgreSQL backend'
+	'psycopg2: for PostgreSQL backend'
+	'python-pysqlite: for SQlite backend')
 source=("http://media.djangoproject.com/releases/$pkgver/Django-$pkgver.tar.gz")
+md5sums=('d7839c192e115f9c4dd8777de24dc21c')
 
 build() {
-    cd $startdir/src/Django-$pkgver
-    python setup.py install --root=$startdir/pkg || return 1
-    install -D -m644 LICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
+  cd ${srcdir}/Django-$pkgver
+  python setup.py install --root=${pkgdir} || return 1
+  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE || return 1
 }
-md5sums=('d7839c192e115f9c4dd8777de24dc21c')



More information about the arch-commits mailing list