Skip to content
Snippets Groups Projects
Commit df5801d0 authored by Dan McGee's avatar Dan McGee
Browse files

upgpkg: 1.4-2

parent 15f1fae0
No related branches found
Tags v20230303.0.130894
No related merge requests found
......@@ -2,7 +2,7 @@
# Contributor: Shahar Weiss <sweiss4@gmx.net>
pkgname=django
pkgver=1.3.1
pkgver=1.4
pkgrel=2
pkgdesc="A high-level Python Web framework."
arch=('any')
......@@ -12,16 +12,12 @@ 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"
diff-django_branches_releases_1.3.X-from-16771-to-17460.diff)
md5sums=('62d8642fd06b9a0bf8544178f8500767'
'ea3d6cbde2fc2332ffe7f901cb60a974')
sha256sums=('af9118c4e8a063deb0b8cda901fcff2b805e7cf496c93fd43507163f3cde156b'
'84e2652a8249e58fdbbd43bce7cd8d6bb2159058be6a675ebe15661ca3ee9ffc')
source=("https://www.djangoproject.com/m/releases/1.4/Django-$pkgver.tar.gz")
md5sums=('ba8e86198a93c196015df0b363ab1109')
sha256sums=('c096bafbea10e7d359bc15eb00a9bf11dbf5201a16d62acfa2de61d5a35488e9')
build() {
cd "$srcdir/Django-$pkgver"
patch -Np0 < ../diff-django_branches_releases_1.3.X-from-16771-to-17460.diff
python2 setup.py build
}
......@@ -30,7 +26,7 @@ package() {
python2 setup.py install --root="$pkgdir" --optimize=1
install -Dm644 extras/django_bash_completion \
"$pkgdir"/etc/bash_completion.d/django
"$pkgdir"/usr/share/bash-completion/completions/django
find "$pkgdir"/usr/lib/python2.7/site-packages/django/ -name '*.py' | \
xargs sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|"
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment