django-1.4-1.4.20-1

This commit is contained in:
Jaroslav Lichtblau 2015-03-27 12:44:56 +01:00
parent d42a95ba3a
commit dcddefcd56
2 changed files with 12 additions and 12 deletions

View file

@ -1,7 +1,7 @@
pkgbase = django-1.4
pkgdesc = A high-level Python Web framework that encourages rapid development and clean design
pkgver = 1.4.16
pkgrel = 2
pkgver = 1.4.20
pkgrel = 1
url = http://www.djangoproject.com/
arch = any
license = BSD
@ -9,10 +9,10 @@ pkgbase = django-1.4
depends = python2
optdepends = mysql-python: for MySQL backend
optdepends = python2-psycopg2: for PostgreSQL backend
provides = python2-django=1.4.16
provides = python2-django=1.4.20
conflicts = python2-django
source = https://www.djangoproject.com/m/releases/1.4/Django-1.4.16.tar.gz
sha256sums = 482315cf32c65ed4a4ee2de257d453430d48ffca9a01b17d984ee0d67354ad12
source = https://www.djangoproject.com/m/releases/1.4/Django-1.4.20.tar.gz
sha256sums = 58ac719464c4c8b13d664ded6770450602528bf4c36f9fd5daabdae8d410ebb1
pkgname = django-1.4

View file

@ -1,8 +1,8 @@
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
pkgname=django-1.4
pkgver=1.4.16
pkgrel=2
pkgver=1.4.20
pkgrel=1
pkgdesc="A high-level Python Web framework that encourages rapid development and clean design"
arch=('any')
license=('BSD')
@ -12,18 +12,18 @@ makedepends=('python2-setuptools')
optdepends=('mysql-python: for MySQL backend'
'python2-psycopg2: for PostgreSQL backend')
conflicts=('python2-django')
provides=('python2-django=1.4.16')
provides=('python2-django=1.4.20')
source=(https://www.djangoproject.com/m/releases/1.4/Django-$pkgver.tar.gz)
sha256sums=('482315cf32c65ed4a4ee2de257d453430d48ffca9a01b17d984ee0d67354ad12')
sha256sums=('58ac719464c4c8b13d664ded6770450602528bf4c36f9fd5daabdae8d410ebb1')
build() {
cd "${srcdir}/Django-$pkgver"
cd "${srcdir}"/Django-$pkgver
python2 setup.py build
}
package() {
cd "${srcdir}/Django-$pkgver"
python2 setup.py install --root="$pkgdir" --optimize=1
cd "${srcdir}"/Django-$pkgver
python2 setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 extras/django_bash_completion \
"${pkgdir}"/usr/share/bash-completion/completions/django-admin.py