aboutsummaryrefslogtreecommitdiff
path: root/python/simplejson
diff options
context:
space:
mode:
Diffstat (limited to 'python/simplejson')
-rw-r--r--python/simplejson/README8
-rw-r--r--python/simplejson/simplejson.SlackBuild8
-rw-r--r--python/simplejson/simplejson.info6
3 files changed, 14 insertions, 8 deletions
diff --git a/python/simplejson/README b/python/simplejson/README
index fd00d47fff904..dc5c972c0ba2c 100644
--- a/python/simplejson/README
+++ b/python/simplejson/README
@@ -3,5 +3,9 @@ Simplejson is a simple, fast, complete, correct and extensible JSON
pure Python code with no dependencies, but includes an optional C extension for
a serious speed boost.
-Optional documentation can be built if Sphinx Pygments are installed. Python3
-bindings can be built if python3 is installed.
+Optional dependencies: Sphinx, python3 and pysetuptools
+
+Note: To install python3 bindings install python3 and pass PYTHON3=yes to the
+slackbuild.
+
+ # PYTHON3 ./simplejson.SlackBuild
diff --git a/python/simplejson/simplejson.SlackBuild b/python/simplejson/simplejson.SlackBuild
index 588fabb55bc2f..58b75434da701 100644
--- a/python/simplejson/simplejson.SlackBuild
+++ b/python/simplejson/simplejson.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for simplejson
-# Copyright 2009-2014 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2009-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=simplejson
-VERSION=${VERSION:-3.5.3}
+VERSION=${VERSION:-3.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,11 +58,13 @@ find -L . \
# Make documents if Sphinx and Pygments are installed.
if $(python -c 'import sphinx.pygments_styles' 2>/dev/null); then
python scripts/make_docs.py
+ rm -f docs/.buildinfo
+ rm -f docs/.nojekyll
fi
python setup.py install --root=$PKG
-if $(python3 -c 'import os' 2>/dev/null); then
+if [ "${PYTHON3:-no}" == "yes" ]; then
python3 setup.py install --root=$PKG
fi
diff --git a/python/simplejson/simplejson.info b/python/simplejson/simplejson.info
index 4f6874d49e2a3..dad1f06c4b267 100644
--- a/python/simplejson/simplejson.info
+++ b/python/simplejson/simplejson.info
@@ -1,8 +1,8 @@
PRGNAM="simplejson"
-VERSION="3.5.3"
+VERSION="3.8.1"
HOMEPAGE="https://github.com/simplejson/simplejson"
-DOWNLOAD="http://pypi.python.org/packages/source/s/simplejson/simplejson-3.5.3.tar.gz"
-MD5SUM="d5f62dfa6b6dea31735d56c858361d48"
+DOWNLOAD="http://pypi.python.org/packages/source/s/simplejson/simplejson-3.8.1.tar.gz"
+MD5SUM="b8441f1053edd9dc335ded8c7f98a974"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""