summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-06-07 17:43:31 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-07 22:09:58 +0700
commit84a7d96967ff9326bc1c60850a0b48eb13217df2 (patch)
treeeba6f0c048221fa2522127a5c818cfecddfa58e7 /python
parent1e7ff5872e039bd4d683c213f80d300c277e289e (diff)
downloadslackbuilds-84a7d96967ff9326bc1c60850a0b48eb13217df2.tar.gz
python/jsonschema: Updated for version 2.5.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python')
-rw-r--r--python/jsonschema/doinst.sh3
-rw-r--r--python/jsonschema/jsonschema.SlackBuild5
-rw-r--r--python/jsonschema/jsonschema.info8
3 files changed, 10 insertions, 6 deletions
diff --git a/python/jsonschema/doinst.sh b/python/jsonschema/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/python/jsonschema/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/python/jsonschema/jsonschema.SlackBuild b/python/jsonschema/jsonschema.SlackBuild
index ff6053d71f..31cd9f49e9 100644
--- a/python/jsonschema/jsonschema.SlackBuild
+++ b/python/jsonschema/jsonschema.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for jsonschema
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2015 Dimitris Zlatanidis Orestiada, Greece
# 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=jsonschema
-VERSION=${VERSION:-2.4.0}
+VERSION=${VERSION:-2.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +80,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/python/jsonschema/jsonschema.info b/python/jsonschema/jsonschema.info
index 1edcdd8463..13c4f9463d 100644
--- a/python/jsonschema/jsonschema.info
+++ b/python/jsonschema/jsonschema.info
@@ -1,10 +1,10 @@
PRGNAM="jsonschema"
-VERSION="2.4.0"
+VERSION="2.5.0"
HOMEPAGE="https://github.com/Julian/jsonschema"
-DOWNLOAD="https://pypi.python.org/packages/source/j/jsonschema/jsonschema-2.4.0.tar.gz"
-MD5SUM="661f85c3d23094afbb9ac3c0673840bf"
+DOWNLOAD="https://pypi.python.org/packages/source/j/jsonschema/jsonschema-2.5.0.tar.gz"
+MD5SUM="9fe4ce3e364fbdf05d0461128f804d3a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pysetuptools"
+REQUIRES="pysetuptools functools32"
MAINTAINER="Dimitris Zlatanidis"
EMAIL="d.zlatanidis@gmail.com"