Browse Source

l/python-mock: Upgraded to python-mock-3.0.5.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
c894162db5
  1. 1
      l/python-mock/mock-2.0.0.tar.gz.sha256
  2. 1
      l/python-mock/mock-3.0.5.tar.gz.sha256
  3. 13
      l/python-mock/python-mock.SlackBuild

1
l/python-mock/mock-2.0.0.tar.gz.sha256

@ -1 +0,0 @@
b158b6df76edd239b8208d481dc46b6afd45a846b7812ff0ce58971cf5bc8bba mock-2.0.0.tar.gz

1
l/python-mock/mock-3.0.5.tar.gz.sha256

@ -0,0 +1 @@
83657d894c90d5681d62155c82bda9c1187827525880eda8ff5df4ec813437c3 mock-3.0.5.tar.gz

13
l/python-mock/python-mock.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2018 Damien Goutte-Gattat
# Copyright (C) 2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -23,15 +23,15 @@
# Contact: Damien Goutte-Gattat <dgouttegattat@incenp.org>
#
# Latest mock sourcecode is available at:
# <https://github.com/testing-cabal/mock>.
# <http://mock.readthedocs.org/en/latest/>.
#
# Depends: l/python-funcsigs, l/python-pbr
# Depends: l/python-funcsigs
# Source package infos
NAMESRC=${NAMESRC:-mock}
VERSION=${VERSION:-2.0.0}
VERSION=${VERSION:-3.0.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/0c/53/014354fc93c591ccc4abff12c473ad565a2eb24dcd82490fae33dbf2539f/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/2e/ab/4fe657d78b270aa6a32f027849513b829b41b0f28d9d8d7f8c3d29ea559a/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-python-mock}
@ -76,7 +76,7 @@ python setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
install -m 644 AUTHORS ChangeLog LICENSE.txt NEWS PKG-INFO README.rst \
install -m 644 CHANGELOG.rst LICENSE.txt README.rst \
$PKG/usr/doc/$NAMEPKG-$VERSION
# Copy slack-desc file
@ -85,7 +85,6 @@ install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-funcsigs
python-pbr
EOF
# Package the tree

Loading…
Cancel
Save