media-sound/picard: add 3.0_pre20251102 Qt6-based snapshot, python3.14

Tests passed.

Bug: https://bugs.gentoo.org/962023
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-11-02 23:05:00 +01:00
parent 7d076983d0
commit 420c3a4a7d
3 changed files with 78 additions and 3 deletions

View File

@@ -1 +1,2 @@
DIST picard-2.13.3.tar.gz 6089477 BLAKE2B 0d62188feec6595b9b5439ffd394d406b85fb2941ed3c14d40451c31113168c58f2bb146f4de5d5f3c355fdb6a0ab494dc9fe3ca712c6a0c61a3b29f661a8605 SHA512 c4698b1dae844328b6b636063871c6f5ddb306270d6520d43df7c38269c432e9eb36fab9e1a3cf8e54a7570bf9f5b8ba48f85b3bb1b28c8b8fe0ec516f084934
DIST picard-3.0_pre20251102-45c664e3.tar.gz 8218929 BLAKE2B b4623b67ef3c41e0faf09d404c9659a97fd3b3b9f01fcae4dc8124e37b2aba3c16341cb9150ccc7d086bccd4a5cfc062c33bbaf6ee231a0bff81c6b8c3265287 SHA512 92be7d5dcc30736f2dcdf6d0a908b0f8ebd3483c18b77861da07abc417cbe2b15191c2c61bb6036b3ab8ff3a5e978af6cc36e0d69f6f41d17dd783db998244da

View File

@@ -0,0 +1,69 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_EXT=1
inherit distutils-r1 xdg
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/metabrainz/picard"
inherit git-r3
else
if [[ ${PV} == *_p* ]]; then
COMMIT="45c664e331d5f392f45f80dccb5fc844737a614a"
SRC_URI="https://github.com/metabrainz/${PN}/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz"
else
SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz"
fi
KEYWORDS="~amd64 ~arm64 ~x86"
fi
DESCRIPTION="Cross-platform music tagger"
HOMEPAGE="https://picard.musicbrainz.org"
LICENSE="GPL-2+"
SLOT="0"
IUSE="discid fingerprints nls"
RDEPEND="
$(python_gen_cond_dep '
dev-python/fasteners[${PYTHON_USEDEP}]
dev-python/pyjwt[${PYTHON_USEDEP}]
dev-python/pyqt6[gui,network,qml,widgets,${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
media-libs/mutagen[${PYTHON_USEDEP}]
discid? ( dev-python/discid[${PYTHON_USEDEP}] )
')
fingerprints? ( media-libs/chromaprint[tools] )
"
DEPEND="test? ( $(python_gen_cond_dep 'dev-python/pyqt6[testlib,${PYTHON_USEDEP}]') )"
BDEPEND="nls? ( dev-qt/qttools:6[linguist] )"
distutils_enable_tests pytest
python_compile() {
local build_args=(
--disable-autoupdate
)
if ! use nls; then
build_args+=( --disable-locales )
fi
distutils-r1_python_compile ${build_args[@]}
}
python_install() {
local install_args=(
--disable-autoupdate
--skip-build
)
if ! use nls; then
install_args+=( --disable-locales )
fi
distutils-r1_python_install ${install_args[@]}
}

View File

@@ -3,18 +3,23 @@
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
PYTHON_COMPAT=( python3_{11..14} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_EXT=1
inherit distutils-r1 xdg
if [[ ${PV} = *9999* ]]; then
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/metabrainz/picard"
inherit git-r3
else
SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz"
if [[ ${PV} == *_p* ]]; then
COMMIT="45c664e331d5f392f45f80dccb5fc844737a614a"
SRC_URI="https://github.com/metabrainz/${PN}/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz"
else
SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz"
fi
KEYWORDS="~amd64 ~arm64 ~x86"
fi