Date: Thursday, March 25, 2021 @ 11:17:45 Author: grazzolini Revision: 902896
archrelease: copy trunk to community-any Added: streamlink/repos/community-any/PKGBUILD (from rev 902895, streamlink/trunk/PKGBUILD) Deleted: streamlink/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 41 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-03-25 11:17:08 UTC (rev 902895) +++ PKGBUILD 2021-03-25 11:17:45 UTC (rev 902896) @@ -1,43 +0,0 @@ -# Maintainer: Giancarlo Razzolini <grazzol...@archlinux.org> -# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> - -pkgname=streamlink -pkgver=2.1.0 -pkgrel=1 -pkgdesc='CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)' -arch=('any') -url='https://streamlink.github.io/' -license=('BSD') -depends=("python-"{pycryptodome,isodate,pycountry,requests,pysocks,websocket-client} 'rtmpdump') -checkdepends=("python-"{freezegun,mock,pytest,requests-mock}) -makedepends=("python-"{recommonmark,setuptools,sphinx}) -optdepends=('ffmpeg: Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+') -source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc}) -validpgpkeys=('E2B794C7C2C37162E5E2A097E3DB9E282E390FA0') # Streamlink Signing Key <streaml...@protonmail.com> -sha256sums=('931383cefe385548ed9d371452741272512b6c75d6a6563935873d0efdf65a21' - 'SKIP') -sha512sums=('8a33c0428f34996811efa5f5338e1c2647a9f48b6d014ccd70b46378ab709cb7286a90c1d7cb1279f4e46aff999a92f89b19f3b8aa486be4fb6a35610710fe59' - 'SKIP') - -build() { - cd "$pkgname-$pkgver" - export STREAMLINK_USE_PYCOUNTRY="true" - python setup.py build - python setup.py build_sphinx -b man -} - -check() { - cd "$pkgname-$pkgver" - #Fix for test_plugin_not_in_removed_list - touch src/streamlink/plugins/.removed - python setup.py test -} - -package() { - cd "$pkgname-$pkgver" - export PYTHONHASHSEED=0 - python setup.py install --root="$pkgdir" --optimize=1 - install -Dm644 build/sphinx/man/streamlink.1 \ - "$pkgdir/usr/share/man/man1/streamlink.1" - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: streamlink/repos/community-any/PKGBUILD (from rev 902895, streamlink/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-03-25 11:17:45 UTC (rev 902896) @@ -0,0 +1,41 @@ +# Maintainer: Giancarlo Razzolini <grazzol...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> + +pkgname=streamlink +pkgver=2.1.1 +pkgrel=1 +pkgdesc='CLI program that launches streams from various streaming services in a custom video player (livestreamer fork)' +arch=('any') +url='https://streamlink.github.io/' +license=('BSD') +depends=("python-"{pycryptodome,isodate,pycountry,requests,pysocks,websocket-client} 'rtmpdump') +checkdepends=("python-"{freezegun,mock,pytest,requests-mock}) +makedepends=("python-"{recommonmark,setuptools,sphinx}) +optdepends=('ffmpeg: Required to play streams that are made up of separate audio and video streams, eg. YouTube 1080p+') +source=("https://github.com/${pkgname}/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc}) +validpgpkeys=('E2B794C7C2C37162E5E2A097E3DB9E282E390FA0') # Streamlink Signing Key <streaml...@protonmail.com> +sha256sums=('59c56540a137e2544b93c685e36e2fc005bffd0395293b05e7110c1e8b52545e' + 'SKIP') +sha512sums=('bf754fe73da2feb5c53190782d1abb8f861fbef1a3609edb272bf3c46bd4057bfd837072f66d3d8074fe7d6072a5a6ed7dafd8318f14fa11c9854df08deef437' + 'SKIP') + +build() { + cd "$pkgname-$pkgver" + export STREAMLINK_USE_PYCOUNTRY="true" + python setup.py build + python setup.py build_sphinx -b man +} + +check() { + cd "$pkgname-$pkgver" + python setup.py test +} + +package() { + cd "$pkgname-$pkgver" + export PYTHONHASHSEED=0 + python setup.py install --root="$pkgdir" --optimize=1 + install -Dm644 build/sphinx/man/streamlink.1 \ + "$pkgdir/usr/share/man/man1/streamlink.1" + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}