Browse Source

d/Django: Upgraded to Django-1.11.27.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
c2270bedf6
  1. 1
      d/Django/Django-1.11.27.tar.gz.sha256
  2. 1
      d/Django/Django-1.8.19.tar.gz.sha256
  3. 21
      d/Django/Django.SlackBuild

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

@ -0,0 +1 @@
20111383869ad1b11400c94b0c19d4ab12975316cd058eabd17452e0546169b8 Django-1.11.27.tar.gz

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

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

21
d/Django/Django.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2015-2017 Damien Goutte-Gattat
# Copyright (C) 2015-2017,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,13 +25,11 @@
# Latest Django sourcecode is available at:
# <http://www.djangoproject.com/>.
#
# Optional: d/sphinx
#
# Note: d/sphinx is only needed to build the HTML documentation.
# Optional: l/pytz
# Source package infos
NAMESRC=${NAMESRC:-Django}
VERSION=${VERSION:-1.8.19}
VERSION=${VERSION:-1.11.27}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://www.djangoproject.com/download/$VERSION/tarball/}
@ -75,18 +73,10 @@ tar xf $CWD/$ARCHIVE
cd $NAME
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
@ -101,6 +91,11 @@ fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
pytz
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save