Date: Saturday, April 8, 2023 @ 12:58:23
Author: felixonmars
Revision: 1442367
archrelease: copy trunk to community-staging-any
Added:
streamlink/repos/community-staging-any/
streamlink/repos/community-staging-any/PKGBUILD
(from rev 1442366, streamlink/trunk/PKGBUILD)
streamlink/repos/community-staging-any/keys/
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: streamlink/repos/community-staging-any/PKGBUILD (from rev 1442366,
streamlink/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 12:58:23 UTC (rev 1442367)
@@ -0,0 +1,39 @@
+# Maintainer: Giancarlo Razzolini <[email protected]>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgname=streamlink
+pkgver=5.3.1
+pkgrel=2
+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-"{certifi,isodate,pycountry,pycryptodome,pysocks,requests,websocket-client})
+checkdepends=("python-"{freezegun,pytest,pytest-asyncio,requests-mock})
+makedepends=("python-"{build,installer,setuptools,versioningit,wheel})
+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 <[email protected]>
+sha256sums=('886b63a6cb3e5c6597e8c4162546124ee3c9baefce85ddd5c053177ffdd5d4e5'
+ 'SKIP')
+sha512sums=('55120f53d47d222d5d3b428ddaa608799623f7adc09bedaa6eff7389962db1a60374a2fa951a3f2779873a6b2c9757caa82e255a05056b0b5d0762829822b32a'
+ 'SKIP')
+
+build() {
+ cd "$pkgname-$pkgver"
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ python -m installer --destdir="$PWD/tmp" dist/*.whl
+ local pyver=$(python -c 'import
sys;print(".".join(map(str,sys.version_info[:2])))')
+ TZ=UTC
PYTHONPATH="$PWD/tmp/usr/lib/python${pyver}/site-packages:$PYTHONPATH" python
-m pytest
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}