dev-python/m3u8 - 6.0.0 (vimproved)

Search

Install

Install this version:

emerge -a =dev-python/m3u8-6.0.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/m3u8-6.0.0

Or alternatively:

emerge --autounmask-write -a =dev-python/m3u8-6.0.0

Package Information

Description:
Python m3u8 parser
Homepage:
https://github.com/globocom/m3u8/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
6.0.0 8 ~amd64 0
View Raw Ebuild
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{13..14} )

inherit distutils-r1

DESCRIPTION="Python m3u8 parser"
HOMEPAGE="https://github.com/globocom/m3u8/"
SRC_URI="https://github.com/globocom/m3u8/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

RDEPEND="dev-python/iso8601[${PYTHON_USEDEP}]"
BDEPEND="
	test? (
		dev-python/pytest[${PYTHON_USEDEP}]
		${RDEPEND}
	)
"

python_test() {
	# Require network access
	local EPYTEST_DESELECT=(
		tests/test_loader.py::test_load_should_create_object_from_uri
		tests/test_loader.py::test_load_should_remember_redirect
		tests/test_loader.py::test_load_should_create_object_from_uri_with_relative_segments
		tests/test_loader.py::test_raise_timeout_exception_if_timeout_happens_when_loading_from_uri
	)

	epytest
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/m3u8 | euse -E <flag> -p dev-python/m3u8 | euse -D <flag> -p dev-python/m3u8

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

dev-python/iso8601[]

BDEPEND

	test? (
		dev-python/pytest[]
		dev-python/iso8601[]
	)

Manifest for 6.0.0

Type File Size Source URLs
DIST m3u8-6.0.0.gh.tar.gz 49590 bytes https://github.com/globocom/m3u8/archive/refs/tags/6.0.0.tar.gz