python/stem: Updated for version 1.3.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
381b9c04e6
commit
f6b5b12445
|
@ -24,7 +24,7 @@
|
|||
# Markus Reichelt <slackbuilds@mareichelt.de>, 0xCCEEF115
|
||||
|
||||
PRGNAM=stem
|
||||
VERSION=${VERSION:-1.2.2}
|
||||
VERSION=${VERSION:-1.3.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -77,17 +77,18 @@ cd $TMP/$PRGNAM-$VERSION
|
|||
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 $PKG/usr/man/man1
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a docs/ LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
if [ "$DOC" = "yes" ]; then
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
cd $TMP/$PRGNAM-$VERSION/docs
|
||||
make html
|
||||
make man
|
||||
cp -a _build/html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
rm $PKG/usr/doc/$PRGNAM-$VERSION/html/{.buildinfo,objects.inv}
|
||||
cp -a _build/man $PKG/usr/man/man1
|
||||
cp -a _build/man/* $PKG/usr/man/man1
|
||||
find $PKG/usr/man/man1 -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man1 -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
rm -rf $PKG/usr/doc/$PRGNAM-$VERSION/docs/*
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="stem"
|
||||
VERSION="1.2.2"
|
||||
VERSION="1.3.0"
|
||||
HOMEPAGE="https://stem.torproject.org/"
|
||||
DOWNLOAD="https://pypi.python.org/packages/source/s/stem/stem-1.2.2.tar.bz2"
|
||||
MD5SUM="843f3526c6abcdab352af27241d1ef50"
|
||||
DOWNLOAD="https://pypi.python.org/packages/source/s/stem/stem-1.3.0.tar.bz2"
|
||||
MD5SUM="de6483d53402262a028535bb345d0fdf"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in New Issue