summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2015-05-19 14:09:13 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-24 13:26:19 +0700
commit2409615c9e3224f127585435223ffb670c33fc61 (patch)
treea0a8dea817b8caa736c3978d53c1e927b4be249e
parentef5558bb99c9f506b610ac6c2b840ae27081a49f (diff)
downloadslackbuilds-2409615c9e3224f127585435223ffb670c33fc61.tar.gz
python/pytest: Updated for version 2.7.1.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--python/pytest/doinst.sh3
-rw-r--r--python/pytest/pytest.SlackBuild5
-rw-r--r--python/pytest/pytest.info6
3 files changed, 9 insertions, 5 deletions
diff --git a/python/pytest/doinst.sh b/python/pytest/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/python/pytest/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/pytest/pytest.SlackBuild b/python/pytest/pytest.SlackBuild
index 1726f68b78..7ef1f8e0cf 100644
--- a/python/pytest/pytest.SlackBuild
+++ b/python/pytest/pytest.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pytest
-# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece
+# 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=pytest
-VERSION=${VERSION:-2.7.0}
+VERSION=${VERSION:-2.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -85,6 +85,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/pytest/pytest.info b/python/pytest/pytest.info
index 9d7053e613..efabebf17d 100644
--- a/python/pytest/pytest.info
+++ b/python/pytest/pytest.info
@@ -1,8 +1,8 @@
PRGNAM="pytest"
-VERSION="2.7.0"
+VERSION="2.7.1"
HOMEPAGE="http://pytest.org"
-DOWNLOAD="https://pypi.python.org/packages/source/p/pytest/pytest-2.7.0.tar.gz"
-MD5SUM="14cde91b1106c937c48497728ea37dc6"
+DOWNLOAD="https://pypi.python.org/packages/source/p/pytest/pytest-2.7.1.tar.gz"
+MD5SUM="e972d691ff6779ffb4b594449bac3e43"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="py"