Date: Friday, September 16, 2022 @ 16:34:54
  Author: freswa
Revision: 1304340

archrelease: copy trunk to community-testing-any

Added:
  streamlink/repos/community-testing-any/
  streamlink/repos/community-testing-any/PKGBUILD
    (from rev 1304339, streamlink/trunk/PKGBUILD)
  streamlink/repos/community-testing-any/keys/

----------+
 PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Copied: streamlink/repos/community-testing-any/PKGBUILD (from rev 1304339, 
streamlink/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD                              (rev 0)
+++ community-testing-any/PKGBUILD      2022-09-16 16:34:54 UTC (rev 1304340)
@@ -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.0.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})
+checkdepends=("python-"{freezegun,pytest,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=('eb66819cacfb55e766f70275b467a91693ef5e1a253017d65377f18b0e810d1b'
+            'SKIP')
+sha512sums=('99f6c1cc64ed33438c123ff77d536f6cee53309ec27447ffc5780217231ae06d5dbb982e9274fba8c4d39253115bc48f67f5d25e9946f0f710812c8c81be6c06'
+            '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"
+}

Reply via email to