mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
python/argcomplete: Updated for version 0.7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f7f9898e7a
commit
6a8dd02de8
2 changed files with 5 additions and 10 deletions
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=argcomplete
|
||||
VERSION=${VERSION:-0.6.9}
|
||||
VERSION=${VERSION:-0.7.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -71,16 +71,11 @@ find -L . \
|
|||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
# Python 3 support.
|
||||
if $(python3 -c 'import sys' 2>/dev/null); then
|
||||
python3 setup.py install --root=$PKG
|
||||
fi
|
||||
|
||||
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.rst LICENSE.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a AUTHORS.rst Changes.rst README.rst LICENSE.rst PKG-INFO $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="argcomplete"
|
||||
VERSION="0.6.9"
|
||||
VERSION="0.7.0"
|
||||
HOMEPAGE="https://github.com/kislyuk/argcomplete"
|
||||
DOWNLOAD="https://pypi.python.org/packages/source/a/argcomplete/argcomplete-0.6.9.tar.gz"
|
||||
MD5SUM="d6a4ac59fd917507faafea4746a9a1a7"
|
||||
DOWNLOAD="https://pypi.python.org/packages/source/a/argcomplete/argcomplete-0.7.0.tar.gz"
|
||||
MD5SUM="3bfd661f46e1f89055c628ed0f52953f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="pysetuptools"
|
||||
|
|
Loading…
Reference in a new issue