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

Antonio Rojas arojas at gemini.archlinux.org
Wed May 18 06:41:59 UTC 2022


    Date: Wednesday, May 18, 2022 @ 06:41:58
  Author: arojas
Revision: 1207766

archrelease: copy trunk to community-any

Added:
  yt-dlp/repos/community-any/PKGBUILD
    (from rev 1207765, yt-dlp/trunk/PKGBUILD)
Deleted:
  yt-dlp/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   70 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 38 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-18 06:41:42 UTC (rev 1207765)
+++ PKGBUILD	2022-05-18 06:41:58 UTC (rev 1207766)
@@ -1,32 +0,0 @@
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Stefan Tatschner <stefan at rumpelsepp.org>
-# Contributor: katt <magunasu.b97 at gmail.com>
-
-pkgname=yt-dlp
-pkgver=2022.04.08
-pkgrel=1
-pkgdesc='A youtube-dl fork with additional features and fixes'
-arch=(any)
-url='https://github.com/yt-dlp/yt-dlp'
-license=(Unlicense)
-depends=(python-certifi)
-makedepends=(python-build python-installer python-setuptools python-wheel pandoc)
-optdepends=('ffmpeg: for video post-processing'
-            'rtmpdump: for rtmp streams support'
-            'atomicparsley: for embedding thumbnails into m4a files'
-            'aria2: for using aria2 as external downloader'
-            'python-mutagen: For embedding thumbnail in certain formats'
-            'python-pycryptodomex: For decrypting AES-128 HLS streams and various other data'
-            'python-websockets: For downloading over websocket')
-source=($pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz)
-sha256sums=('a9ea3753977dd82f051f0674fbdc3eb5ff49a67246f4bd3cac5745702828d1db')
-
-build() {
-  cd $pkgname
-  python -m build --wheel --no-isolation
-}
-
-package() {
-  cd $pkgname
-  python -m installer --destdir="$pkgdir" dist/*.whl
-}

Copied: yt-dlp/repos/community-any/PKGBUILD (from rev 1207765, yt-dlp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-18 06:41:58 UTC (rev 1207766)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Stefan Tatschner <stefan at rumpelsepp.org>
+# Contributor: katt <magunasu.b97 at gmail.com>
+
+pkgname=yt-dlp
+pkgver=2022.05.18
+pkgrel=1
+pkgdesc='A youtube-dl fork with additional features and fixes'
+arch=(any)
+url='https://github.com/yt-dlp/yt-dlp'
+license=(Unlicense)
+depends=(python-certifi)
+makedepends=(python-build python-installer python-setuptools python-wheel pandoc)
+checkdepends=(python-pytest)
+optdepends=('ffmpeg: for video post-processing'
+            'rtmpdump: for rtmp streams support'
+            'atomicparsley: for embedding thumbnails into m4a files'
+            'aria2: for using aria2 as external downloader'
+            'python-mutagen: For embedding thumbnail in certain formats'
+            'python-pycryptodomex: For decrypting AES-128 HLS streams and various other data'
+            'python-websockets: For downloading over websocket')
+source=($pkgname-$pkgver.tar.gz::https://github.com/yt-dlp/yt-dlp/releases/download/$pkgver/yt-dlp.tar.gz)
+sha256sums=('59a0e89d79018070844c6301f7848594b746ca4857e7da14a5e6938a24e63172')
+
+build() {
+  cd $pkgname
+  python -m build --wheel --no-isolation
+}
+
+check() {
+  cd $pkgname
+  pytest -v -m "not download"
+}
+
+package() {
+  cd $pkgname
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list