diff options
Diffstat (limited to 'source/l/python2-module-collection/python2-module-collection.SlackBuild')
-rwxr-xr-x | source/l/python2-module-collection/python2-module-collection.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/source/l/python2-module-collection/python2-module-collection.SlackBuild b/source/l/python2-module-collection/python2-module-collection.SlackBuild index ad7bbf6b..ee5dc4f4 100755 --- a/source/l/python2-module-collection/python2-module-collection.SlackBuild +++ b/source/l/python2-module-collection/python2-module-collection.SlackBuild @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=python2-module-collection VERSION=2.7.18 -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -428,20 +428,20 @@ python2 setup.py install --root=$PKG || exit 1 mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/six-1.14.0 cp -a LICENSE* PKG-INFO README* $PKG/usr/doc/$PKGNAM-$VERSION/six-1.14.0 -# urllib3-1.25.8: +# urllib3-1.25.11: cd $TMP/$PKGNAM-$VERSION || exit 1 -tar xf $CWD/modules/urllib3-1.25.8.tar.lz || exit 1 -cd urllib3-1.25.8 +tar xf $CWD/modules/urllib3-1.25.11.tar.lz || exit 1 +cd urllib3-1.25.11 fix_perms python2 setup.py install --root=$PKG || exit 1 -mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/urllib3-1.25.8 +mkdir -p $PKG/usr/doc/$PKGNAM-$VERSION/urllib3-1.25.11 cp -a *.rst *.txt PKG-INFO \ - $PKG/usr/doc/$PKGNAM-$VERSION/urllib3-1.25.8 -find $PKG/usr/doc/$PKGNAM-$VERSION/urllib3-1.25.8 -type f -exec chmod 0644 {} \+ + $PKG/usr/doc/$PKGNAM-$VERSION/urllib3-1.25.11 +find $PKG/usr/doc/$PKGNAM-$VERSION/urllib3-1.25.11 -type f -exec chmod 0644 {} \+ # If there's a CHANGES.rst, installing at least part of the recent history # is useful, but don't let it get totally out of control: if [ -r CHANGES.rst ]; then - DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION/urllib3-1.25.8) + DOCSDIR=$(echo $PKG/usr/doc/${PKGNAM}-$VERSION/urllib3-1.25.11) cat CHANGES.rst | head -n 1000 > $DOCSDIR/CHANGES.rst touch -r CHANGES.rst $DOCSDIR/CHANGES.rst fi |