Date: Sunday, September 11, 2011 @ 16:45:19 Author: dan Revision: 137822
archrelease: copy trunk to extra-any Added: django/repos/extra-any/PKGBUILD (from rev 137821, django/trunk/PKGBUILD) Deleted: django/repos/extra-any/PKGBUILD ----------+ PKGBUILD | 62 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 31 insertions(+), 31 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2011-09-11 20:45:02 UTC (rev 137821) +++ PKGBUILD 2011-09-11 20:45:19 UTC (rev 137822) @@ -1,31 +0,0 @@ -# $Id$ -# Maintainer: Dan McGee <d...@archlinux.org> -# Contributor: Shahar Weiss <swei...@gmx.net> - -pkgname=django -pkgver=1.3 -pkgrel=1 -pkgdesc="A high-level Python Web framework." -arch=('any') -license=('BSD') -url="http://www.djangoproject.com/" -depends=('python2') -makedepends=('setuptools') -optdepends=('mysql-python: for MySQL backend' - 'python2-psycopg2: for PostgreSQL backend') -source=("http://media.djangoproject.com/releases/1.3/Django-$pkgver.tar.gz") -md5sums=('1b8f76e91c27564708649671f329551f') -sha256sums=('7aeee5c80002ab81d4ebf5416292949ff46e1448d183a183fe05ff6344771c83') - -build() { - cd ${srcdir}/Django-$pkgver - python2 setup.py install --root=${pkgdir} --optimize=1 - - install -Dm644 extras/django_bash_completion \ - ${pkgdir}/etc/bash_completion.d/django - - 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 137821, django/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2011-09-11 20:45:19 UTC (rev 137822) @@ -0,0 +1,31 @@ +# $Id$ +# Maintainer: Dan McGee <d...@archlinux.org> +# Contributor: Shahar Weiss <swei...@gmx.net> + +pkgname=django +pkgver=1.3.1 +pkgrel=1 +pkgdesc="A high-level Python Web framework." +arch=('any') +license=('BSD') +url="http://www.djangoproject.com/" +depends=('python2') +makedepends=('python2-distribute') +optdepends=('mysql-python: for MySQL backend' + 'python2-psycopg2: for PostgreSQL backend') +source=("http://media.djangoproject.com/releases/1.3/Django-$pkgver.tar.gz") +md5sums=('62d8642fd06b9a0bf8544178f8500767') +sha256sums=('af9118c4e8a063deb0b8cda901fcff2b805e7cf496c93fd43507163f3cde156b') + +build() { + cd ${srcdir}/Django-$pkgver + python2 setup.py install --root=${pkgdir} --optimize=1 + + install -Dm644 extras/django_bash_completion \ + ${pkgdir}/etc/bash_completion.d/django + + 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 +}