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

Antonio Rojas arojas at gemini.archlinux.org
Fri Apr 8 17:13:15 UTC 2022


    Date: Friday, April 8, 2022 @ 17:13:14
  Author: arojas
Revision: 1183001

Run tests (offline only)

Modified:
  yt-dlp/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-08 16:49:28 UTC (rev 1183000)
+++ PKGBUILD	2022-04-08 17:13:14 UTC (rev 1183001)
@@ -11,6 +11,7 @@
 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'
@@ -26,6 +27,11 @@
   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