Browse Source

l/python-requests-toolbelt: Updated.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
5f9cfa5bd4
  1. 13
      l/python-requests-toolbelt/python-requests-toolbelt.SlackBuild

13
l/python-requests-toolbelt/python-requests-toolbelt.SlackBuild

@ -24,8 +24,6 @@
#
# Latest requests-toolbelt sourcecode is available at:
# <https://toolbelt.readthedocs.org/>.
#
# Depends: l/python-requests
# Source package infos
NAMESRC=${NAMESRC:-requests-toolbelt}
@ -71,8 +69,10 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build
python2 setup.py install --root=$PKG
python3 setup.py build
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAMEPKG-$VERSION
@ -82,11 +82,6 @@ install -m 644 AUTHORS.rst CODE_OF_CONDUCT.rst HISTORY.rst LICENSE README.rst \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
python-requests
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save