Browse Source

n/streamlink: Upgraded to streamlink-1.4.1.

current-20200608
parent
commit
3f957b1e69
  1. 1
      n/streamlink/streamlink-1.3.0.tar.gz.sha256
  2. 1
      n/streamlink/streamlink-1.4.1.tar.gz.sha256
  3. 15
      n/streamlink/streamlink.SlackBuild

1
n/streamlink/streamlink-1.3.0.tar.gz.sha256

@ -1 +0,0 @@
00649658b74c76022a04564919431e4d6156d974caf56f25cd52a07fa5732315 streamlink-1.3.0.tar.gz

1
n/streamlink/streamlink-1.4.1.tar.gz.sha256

@ -0,0 +1 @@
ed3278d18f17e473bf3b35c8943da9dc19a37d43ba6b8122e260d3f0d14485e8 streamlink-1.4.1.tar.gz

15
n/streamlink/streamlink.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2019 Damien Goutte-Gattat
# Copyright (C) 2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -25,15 +25,12 @@
# Latest streamlink sourcecode is available at:
# <https://github.com/streamlink/streamlink>.
#
# Note: Optional dependencies are required for Python 2 only.
#
# Depends: l/pycryptodome, l/pysocks, l/python-iso3166, l/python-iso639
# Depends: l/python-isodate, l/python-websocket-client
# Optional: l/python-backports, l/python-futures, l/python-singledispatch
# Source package infos
NAMESRC=${NAMESRC:-streamlink}
VERSION=${VERSION:-1.3.0}
VERSION=${VERSION:-1.4.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
# Build infos
@ -73,9 +70,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
# We build for Python 3 only to avoid depending on backported modules.
# For Python 2 support, add the appropriate stanza here and make sure
# the optional dependencies listed above are available.
python3 setup.py build
python3 setup.py install --root=$PKG
@ -83,6 +77,11 @@ python3 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS CHANGELOG.md LICENSE README.md $PKG/usr/doc/$NAME
# Build HTML docs if possible
if PYTHONPATH=build/lib sphinx-build -b html docs $PKG/usr/doc/$NAME/html ; then
rm -rf $PKG/usr/doc/$NAME/html/.{buildinfo,doctrees}
fi
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc

Loading…
Cancel
Save