Browse Source

d/Django: Upgraded to Django-1.8.19.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
d092d2966a
  1. 1
      d/Django/Django-1.8.17.tar.gz.sha256
  2. 1
      d/Django/Django-1.8.19.tar.gz.sha256
  3. 18
      d/Django/Django.SlackBuild

1
d/Django/Django-1.8.17.tar.gz.sha256

@ -1 +0,0 @@
021bd648fcf454027063187e63a1ab4136c6929430ef5dfbe36235f60015eb07 Django-1.8.17.tar.gz

1
d/Django/Django-1.8.19.tar.gz.sha256

@ -0,0 +1 @@
33d44a5cf9d333247a9a374ae1478b78b83c9b78eb316fc04adde62053b4c047 Django-1.8.19.tar.gz

18
d/Django/Django.SlackBuild

@ -31,7 +31,7 @@
# Source package infos
NAMESRC=${NAMESRC:-Django}
VERSION=${VERSION:-1.8.17}
VERSION=${VERSION:-1.8.19}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://www.djangoproject.com/download/$VERSION/tarball/}
@ -73,8 +73,20 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
mv $PKG/usr/bin/django-admin $PKG/usr/bin/django-admin-2.7
mv $PKG/usr/bin/django-admin.py $PKG/usr/bin/django-admin-2.7.py
# And now for Python 3
python3 setup.py build
python3 setup.py install --root=$PKG
mv $PKG/usr/bin/django-admin $PKG/usr/bin/django-admin-3.7
mv $PKG/usr/bin/django-admin.py $PKG/usr/bin/django-admin-3.7.py
# Add default symlinks to the -2.7 executables
ln -s django-admin-2.7 $PKG/usr/bin/django-admin
ln -s django-admin-2.7.py $PKG/usr/bin/django-admin.py
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME

Loading…
Cancel
Save