summaryrefslogtreecommitdiff
path: root/libre/django1.8/PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2019-04-04 22:15:19 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2019-04-04 22:15:19 -0400
commit4fe7bd4b1c13c9d5a0ffbb764098050b9bf75dbb (patch)
tree2b7580eb038f4b537cad51b2883163b76c782eb3 /libre/django1.8/PKGBUILD
parentf52a38a4029ff6aa957cdab8239aeff4f78deff0 (diff)
downloadabslibre-4fe7bd4b1c13c9d5a0ffbb764098050b9bf75dbb.tar.gz
abslibre-4fe7bd4b1c13c9d5a0ffbb764098050b9bf75dbb.tar.bz2
abslibre-4fe7bd4b1c13c9d5a0ffbb764098050b9bf75dbb.zip
libre/django1.8: Provide an upgrade path from django17
Diffstat (limited to 'libre/django1.8/PKGBUILD')
-rw-r--r--libre/django1.8/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/libre/django1.8/PKGBUILD b/libre/django1.8/PKGBUILD
index ff96740b3..8211a72b4 100644
--- a/libre/django1.8/PKGBUILD
+++ b/libre/django1.8/PKGBUILD
@@ -40,6 +40,7 @@ package_python-django1.8() {
optdepends=('python-psycopg2: for PostgreSQL backend')
provides=("python-django=$pkgver")
conflicts=('python-django')
+ replaces+=('python-django17')
cd "$srcdir/Django-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
@@ -63,6 +64,7 @@ package_python2-django1.8() {
conflicts=('django')
provides=("python2-django=$pkgver")
conflicts+=('python2-django')
+ replaces+=('python2-django17')
cd "$srcdir/Django-$pkgver-python2"
python2 setup.py install --root="$pkgdir" --optimize=1