[arch-commits] Commit in yt-dlp/trunk (PKGBUILD)

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


    Date: Tuesday, March 8, 2022 @ 20:44:13
  Author: arojas
Revision: 1145546

Update to 2022.03.08.1, switch to PEP517

Modified:
  yt-dlp/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-08 20:37:57 UTC (rev 1145545)
+++ PKGBUILD	2022-03-08 20:44:13 UTC (rev 1145546)
@@ -3,14 +3,14 @@
 # Contributor: katt <magunasu.b97 at gmail.com>
 
 pkgname=yt-dlp
-pkgver=2022.02.04
-pkgrel=2
+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-setuptools pandoc)
+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'
@@ -19,15 +19,14 @@
             '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')
+sha256sums=('135fd7bbf81c2639419b191d8e5abb80cd8a9801b7ed8e92a331a4107e820ab2')
 
 build() {
   cd $pkgname
-  make pypi-files
-  python setup.py build
+  python -m build --wheel --no-isolation
 }
 
 package() {
   cd $pkgname
-  python setup.py install --root="$pkgdir" --skip-build --optimize=1
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }



More information about the arch-commits mailing list