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

Antonio Rojas arojas at gemini.archlinux.org
Tue Mar 8 20:44:22 UTC 2022


    Date: Tuesday, March 8, 2022 @ 20:44:22
  Author: arojas
Revision: 1145547

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   65 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 32 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-08 20:44:13 UTC (rev 1145546)
+++ PKGBUILD	2022-03-08 20:44:22 UTC (rev 1145547)
@@ -1,33 +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.02.04
-pkgrel=2
-pkgdesc='A youtube-dl fork with additional features and fixes'
-arch=(any)
-url='https://github.com/yt-dlp/yt-dlp'
-license=(Unlicense)
-depends=(python)
-makedepends=(python-setuptools 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=('c8dd119c28a5d256322ddb3a2fff72bc02ace43fc5880c0065d97f7a48d7a8e3')
-
-build() {
-  cd $pkgname
-  make pypi-files
-  python setup.py build
-}
-
-package() {
-  cd $pkgname
-  python setup.py install --root="$pkgdir" --skip-build --optimize=1
-}

Copied: yt-dlp/repos/community-any/PKGBUILD (from rev 1145546, yt-dlp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-08 20:44:22 UTC (rev 1145547)
@@ -0,0 +1,32 @@
+# 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.03.08.1
+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)
+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=('135fd7bbf81c2639419b191d8e5abb80cd8a9801b7ed8e92a331a4107e820ab2')
+
+build() {
+  cd $pkgname
+  python -m build --wheel --no-isolation
+}
+
+package() {
+  cd $pkgname
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}



More information about the arch-commits mailing list