diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-23 03:02:57 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-23 03:02:57 +0000 |
commit | 71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (patch) | |
tree | 4eccd905f575579fe47abb8a83bbdb44ceb8c929 /dev-python/eyed3 | |
parent | c7a7ec40cf928d8fc6a8241aa208272c008c7b4d (diff) |
gentoo auto-resync : 23:11:2024 - 03:02:56
Diffstat (limited to 'dev-python/eyed3')
-rw-r--r-- | dev-python/eyed3/Manifest | 4 | ||||
-rw-r--r-- | dev-python/eyed3/eyed3-0.9.7-r1.ebuild | 72 | ||||
-rw-r--r-- | dev-python/eyed3/metadata.xml | 17 |
3 files changed, 93 insertions, 0 deletions
diff --git a/dev-python/eyed3/Manifest b/dev-python/eyed3/Manifest new file mode 100644 index 000000000000..d159fad365c3 --- /dev/null +++ b/dev-python/eyed3/Manifest @@ -0,0 +1,4 @@ +DIST eyeD3-0.9.7.gh.tar.gz 249705 BLAKE2B b015ab5f7269de8f32830153b848e9a862328515e29f5d1a9cd5739d57a1c0ee63efc93cd3849ceca51b8f67d8eaf1746ab145baf16cda7e7b19bbb8e1249982 SHA512 863ce609ea939588e246d48c6d31f9688049334f874a4c400c02777bbef7379b6403150e7459430c92cff8047d45e33cbaa406b3d6e5b2cf3f9d7d7201438c1f +DIST eyeD3-test-data-r1.tgz 97336666 BLAKE2B e982f21ba29aaca15c6975a836bed322d5203bca57b93ab0c9343de13259d9e2f56b98e5e7402ccf9138a9dc79951e68c4b37cd2c891d2c9e94815256d49adc4 SHA512 4e6daca06380492c0048f1ffd94d92e511fc3695b3e5f64f805d3f3aa2d0fef05a3be1d67a459fb13ab6d9861b86146487f31321f979c464fc516047b66735ab +EBUILD eyed3-0.9.7-r1.ebuild 1609 BLAKE2B f443ed98acb69896acd048c6de776705ae4ff651df59b5427755f6f82a3e611dd112a144672cc0f289c02bc05436a38485319be5e083a5db1bac063fb60a6fa4 SHA512 51efe6203b76572351f3ba0f7a5b25e1ae7d6732afd2ec67baf3df1e9fc37f00d85e30422be177f54205f2fc0166c420940b29d20e794d5aed18e7d9029ca6b6 +MISC metadata.xml 499 BLAKE2B 0bd6552d10ad9f18cc93c65439b61f6de2b0e24ce1321e2172262ddd361573fa1891192c83556341c1f25805759bdea36b8d524204272dcdaf27fadb571df24b SHA512 77df82bbf9c8f11537a3a3a49e16d05a7cf558711b60af65fc646aa9cb52c3f463b808e9cff45758b823a30abd96404e0856057d92cffbc2f72d81b6c74fc19b diff --git a/dev-python/eyed3/eyed3-0.9.7-r1.ebuild b/dev-python/eyed3/eyed3-0.9.7-r1.ebuild new file mode 100644 index 000000000000..1ecf59de3898 --- /dev/null +++ b/dev-python/eyed3/eyed3-0.9.7-r1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{10..13} ) + +inherit distutils-r1 + +MY_P=eyeD3-${PV} +DESCRIPTION="Module for manipulating ID3 (v1 + v2) tags in Python" +HOMEPAGE=" + https://eyed3.nicfit.net/ + https://github.com/nicfit/eyeD3/ + https://pypi.org/project/eyed3/ +" +SRC_URI=" + https://github.com/nicfit/eyeD3/archive/v${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + test? ( + https://eyed3.nicfit.net/releases/eyeD3-test-data.tgz + -> eyeD3-test-data-r1.tgz + ) +" +S=${WORKDIR}/${MY_P} + +LICENSE="GPL-2" +SLOT="0.7" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv sparc x86" + +RDEPEND=" + dev-python/deprecation[${PYTHON_USEDEP}] + dev-python/filetype[${PYTHON_USEDEP}] + || ( + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + ) +" +# note: most of the deps are optional runtime deps / plugin deps +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pylast[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # unpackaged deps + tests/test_factory.py +) + +EPYTEST_DESELECT=( + # broken by formatting / line wrapping + tests/test_jsonyaml_plugin.py::testYamlPlugin +) + +src_prepare() { + if use test; then + mv "${WORKDIR}"/eyeD3-test-data tests/data || die + fi + + # don't install everything to site-packages + sed -i -e '/^include = /,/\]/d' pyproject.toml || die + # optional without putting it in extra group == non-optional, sigh + sed -i -e '/coverage/d' pyproject.toml || die + + distutils-r1_src_prepare +} diff --git a/dev-python/eyed3/metadata.xml b/dev-python/eyed3/metadata.xml new file mode 100644 index 000000000000..f1415294b15b --- /dev/null +++ b/dev-python/eyed3/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sound@gentoo.org</email> + <name>Gentoo Sound project</name> + </maintainer> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">eyed3</remote-id> + <remote-id type="github">nicfit/eyeD3</remote-id> + </upstream> +</pkgmetadata> |