[arch-commits] Commit in streamlink/repos/community-any (PKGBUILD PKGBUILD)

Frederik Schwan freswa at gemini.archlinux.org
Sun May 8 19:10:22 UTC 2022


    Date: Sunday, May 8, 2022 @ 19:10:21
  Author: freswa
Revision: 1196265

archrelease: copy trunk to community-any

Added:
  streamlink/repos/community-any/PKGBUILD
    (from rev 1196264, streamlink/trunk/PKGBUILD)
Deleted:
  streamlink/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   73 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-08 19:10:19 UTC (rev 1196264)
+++ PKGBUILD	2022-05-08 19:10:21 UTC (rev 1196265)
@@ -1,36 +0,0 @@
-# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
-# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
-
-pkgname=streamlink
-pkgver=3.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})
-checkdepends=("python-"{freezegun,pytest,requests-mock})
-makedepends=("python-setuptools")
-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 <streamlink at protonmail.com>
-sha256sums=('855cd31e900e3ae1d5328a37123bfffe2aec501a1d74bcdd12f0d2a2758060e4'
-            'SKIP')
-sha512sums=('6701991a55fed51838abebb72ccc6be0e7085f9b4d321be1411c3161df34549f060ab4676d815e836239486be22c93c836d806f21482738f6d7e645b052ffe27'
-            'SKIP')
-
-build() {
-  cd "$pkgname-$pkgver"
-  python setup.py build
-}
-
-check() {
-  cd "$pkgname-$pkgver"
-  TZ=UTC PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m pytest
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: streamlink/repos/community-any/PKGBUILD (from rev 1196264, streamlink/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-08 19:10:21 UTC (rev 1196265)
@@ -0,0 +1,37 @@
+# Maintainer: Giancarlo Razzolini <grazzolini at archlinux.org>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
+
+pkgname=streamlink
+pkgver=4.0.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})
+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 <streamlink at protonmail.com>
+sha256sums=('f38a4fd5c45b1628e7ebee43ba7f8522be5045565aa7c64009740baf853f20f5'
+            'SKIP')
+sha512sums=('f4a40e5f2cf6e564c1baebcafab64a6fd6345dcb1ff626a4ad3fa123a5227f0774347d22260b5e672b6e225c2924c8f50b20abdbf072e560da1bc6626fc4d62b'
+            'SKIP')
+
+build() {
+  cd "$pkgname-$pkgver"
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$pkgname-$pkgver"
+  TZ=UTC PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m pytest
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list