diff options
author | Audrius Kažukauskas <audrius@neutrino.lt> | 2014-05-29 06:24:38 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-29 06:24:38 +0700 |
commit | 99ccbd65b57bb09b1feff1a611655163377144da (patch) | |
tree | dc630092e4173052f1409ae4c23b53be8b8fc925 /python/python3/python3.SlackBuild | |
parent | 81efe6c63650341e1604ba158268b131e9801755 (diff) |
python/python3: Updated for version 3.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3/python3.SlackBuild')
-rw-r--r-- | python/python3/python3.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/python/python3/python3.SlackBuild b/python/python3/python3.SlackBuild index 536568c23d727..02c865df24464 100644 --- a/python/python3/python3.SlackBuild +++ b/python/python3/python3.SlackBuild @@ -23,8 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=python3 -VERSION=${VERSION:-3.4.0} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.4.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -120,9 +120,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a README LICENSE Misc $PKG/usr/doc/$PRGNAM-$VERSION mv $SITEPK/README $PKG/usr/doc/$PRGNAM-$VERSION/README.python-tools ( cd $PKG/usr/doc/$PRGNAM-$VERSION ; ln -sf $TOOLSDIR Tools ) -tar xf $CWD/python-$VERSION-docs-html.tar.bz2 -mv python-$VERSION-docs-html $PKG/usr/doc/$PRGNAM-$VERSION/html -chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION +if [ -e "$CWD/python-$VERSION-docs-html.tar.bz2" ]; then + tar xf $CWD/python-$VERSION-docs-html.tar.bz2 + mv python-$VERSION-docs-html $PKG/usr/doc/$PRGNAM-$VERSION/html + chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION/html +fi find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |