diff --git a/dev-python/m3u8/Manifest b/dev-python/m3u8/Manifest new file mode 100644 index 0000000000..3497cb0e2b --- /dev/null +++ b/dev-python/m3u8/Manifest @@ -0,0 +1 @@ +DIST m3u8-6.0.0.gh.tar.gz 49590 BLAKE2B ffc9dd4748d4bafb690e3b8ddf3846de5044e72e98a36d53eb140c446ade128e73c0d8407f129793becb346c14ee95bc4deb7892b3f25e519216f1fa421ca839 SHA512 83f2f77772a957671a82fa482e7bc3e95a043c077e9ba2c5372c845c4fbbd2095d5eb4069ce5ca89c968cd4d6024fdee1ee87aa43a7a82bf392439275d45e137 diff --git a/dev-python/m3u8/m3u8-6.0.0.ebuild b/dev-python/m3u8/m3u8-6.0.0.ebuild new file mode 100644 index 0000000000..4f8bd4030b --- /dev/null +++ b/dev-python/m3u8/m3u8-6.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{12..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions" +HOMEPAGE=" + https://github.com/globocom/m3u8 + https://pypi.org/project/m3u8/ +" +SRC_URI="https://github.com/globocom/m3u8/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +EPYTEST_DESELECT=( + tests/test_loader.py::test_load_should_create_object_from_uri + tests/test_loader.py::test_load_should_create_object_from_uri_with_relative_segments + tests/test_loader.py::test_load_should_remember_redirect + tests/test_loader.py::test_raise_timeout_exception_if_timeout_happens_when_loading_from_uri +) + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +src_install() { + distutils-r1_src_install + + dodoc LICENSE +} diff --git a/dev-python/m3u8/metadata.xml b/dev-python/m3u8/metadata.xml new file mode 100644 index 0000000000..f0574f4be6 --- /dev/null +++ b/dev-python/m3u8/metadata.xml @@ -0,0 +1,14 @@ + + + + + Pavel Sobolev + contact@paveloom.dev + + + https://github.com/globocom/m3u8/issues + globocom/m3u8 + m3u8 + + +