aboutsummaryrefslogtreecommitdiff
path: root/python/mock
diff options
context:
space:
mode:
Diffstat (limited to 'python/mock')
-rw-r--r--python/mock/mock.SlackBuild14
-rw-r--r--python/mock/mock.info10
-rw-r--r--python/mock/slack-desc4
3 files changed, 14 insertions, 14 deletions
diff --git a/python/mock/mock.SlackBuild b/python/mock/mock.SlackBuild
index 7a8520fa5afa..c88b64174308 100644
--- a/python/mock/mock.SlackBuild
+++ b/python/mock/mock.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mock.
-# Copyright 2011 Markus Reichelt, Aachen, DE
+# Copyright 2011-2012 Markus Reichelt, Aachen, DE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,11 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# markus reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
-# 2011 September 04 - initial release
+# Markus Reichelt, slackbuilds@mareichelt.de, 0xCCEEF115
PRGNAM=mock
-VERSION=${VERSION:-0.7.2}
+VERSION=${VERSION:-0.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,14 +71,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-python setup.py build
python setup.py install --root=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ README.txt LICENSE.txt \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/python/mock/mock.info b/python/mock/mock.info
index b022593087b6..da6bda39368e 100644
--- a/python/mock/mock.info
+++ b/python/mock/mock.info
@@ -1,10 +1,10 @@
PRGNAM="mock"
-VERSION="0.7.2"
+VERSION="0.8.0"
HOMEPAGE="http://www.voidspace.org.uk/python/mock/"
-DOWNLOAD="http://pypi.python.org/packages/source/m/mock/mock-0.7.2.tar.gz"
-MD5SUM="0e63747b20e67f7d3e563bc6fd5b88d3"
+DOWNLOAD="http://pypi.python.org/packages/source/m/mock/mock-0.8.0.tar.gz"
+MD5SUM="b1ac87a1ceab295aef11dcfc104a7a4a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="markus reichelt"
+MAINTAINER="Markus Reichelt"
EMAIL="slackbuilds@mareichelt.de"
-APPROVED="rworkman"
+APPROVED="dsomero"
diff --git a/python/mock/slack-desc b/python/mock/slack-desc
index ad5967da8a46..164cdf24b109 100644
--- a/python/mock/slack-desc
+++ b/python/mock/slack-desc
@@ -6,9 +6,9 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-mock: mock (a Mocking and Testing Library in Python)
+mock: mock (implements a Mocking and Testing Library in Python)
mock:
-mock: mock is a Python module that provides a core Mock class. It removes
+mock: mock is a Python module that provides a core Mock class. It removes
mock: the need to create a host of stubs throughout your test suite.
mock: The mock module also provides a patch() decorator that handles
mock: patching module and class level attributes within the scope of a