mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/yt-dlp-ejs: add 0.2.1, drop 0.1.0
git mv given this is just used to test unkeyworded yt-dlp right now Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DIST yt_dlp_ejs-0.1.0-py3-none-any.whl.zip 52940 BLAKE2B 70f64f63442d26c710bc9f25c8a114378310f64bb81290f5fc34fd6f4e1b3cd5ade9fd7cdfd7aaa87765e88e22b999f59aa63b4b3d3f47d8d522b5c9e36348b2 SHA512 d1dff46683a0bb6c170d970de58309abd527000f3c2f9ed6fbc6ff4625171568fe0e0031483b288a60f1454963a272bb9040cf2374fddac78cb54d9707025f99
|
||||
DIST yt_dlp_ejs-0.1.0.tar.gz 11675 BLAKE2B 23bdf9673d197648604132efe077893adc471963bc88cc715d961ca2d97bfcff9c23277982897d624eeaead8316919a5ffbd65706681be2847df062c07afaf96 SHA512 f9d2c6faa8384f2d62e7cf9ac2a6e7367aa11c723334fd5863c890c56c4915ea0cbe2a9d2ea1418175a0979f357574836ff6a6e1799837f231c4ba8fb5460c5d
|
||||
DIST yt_dlp_ejs-0.2.1-py3-none-any.whl.zip 53089 BLAKE2B 6ed77e2dc62ad7a297997bcaca103b849d71d5d5b041f3be083e753bcab84739e272f85a382784348b8a759045e28c4db31c0827681e0cd53315f05edaf1e604 SHA512 88748f566cb01db4f3a93c233d0b89eb114f423fd64669ee5cf3247569881071cb55002219a48bae6417de9ea84e20ba1771565ee8a0c0bb992d88fbaafa6786
|
||||
DIST yt_dlp_ejs-0.2.1.tar.gz 12732 BLAKE2B be5312f9cc450060c57238e7a5fc7c06503b5a74c5db9ce9efe9cc7dcebb79944337e20e470dc278eadb4bf99a5d72841802e094b7fe2e72836a11a6458650ae SHA512 8a1b7a0a7d820e5bb4cdac4dc19c66a1cf39dfd927f8c84e948d84a73185f8d86f7c512334dcb4a27597e116f465471f1ea84a87775bbe3b00d3a4e72398c974
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
Very basic tests but adding early to ensure ebuild is sorted out
|
||||
before this starts getting used in full.
|
||||
https://github.com/yt-dlp/ejs/pull/17
|
||||
--- a/test/__init__.py
|
||||
+++ b/test/__init__.py
|
||||
@@ -0,0 +1 @@
|
||||
+
|
||||
--- a/test/test_modules.py
|
||||
+++ b/test/test_modules.py
|
||||
@@ -0,0 +1,17 @@
|
||||
+import unittest
|
||||
+from pathlib import Path
|
||||
+
|
||||
+import yt_dlp_ejs.yt.solver
|
||||
+
|
||||
+CORE_PATH = Path('yt_dlp_ejs/yt/solver/core.min.js')
|
||||
+LIB_PATH = Path('yt_dlp_ejs/yt/solver/lib.min.js')
|
||||
+
|
||||
+
|
||||
+class TestModules(unittest.TestCase):
|
||||
+ def test_yt_solver(self):
|
||||
+ self.assertEqual(yt_dlp_ejs.yt.solver.core(), CORE_PATH.read_text(encoding='utf-8'))
|
||||
+ self.assertEqual(yt_dlp_ejs.yt.solver.lib(), LIB_PATH.read_text(encoding='utf-8'))
|
||||
+
|
||||
+
|
||||
+if __name__ == '__main__':
|
||||
+ unittest.main()
|
||||
@@ -25,10 +25,6 @@ BDEPEND="
|
||||
# this only tests basic python bits without javascript to avoid headaches
|
||||
distutils_enable_tests unittest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
Reference in New Issue
Block a user