mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-sound/picard: drop 3.0.0_alpha4-r2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST picard-3.0.0_alpha4-patchset.tar.xz 5840 BLAKE2B ea12ee3c0e8a2d60f330acb24b765e0f41b8f1bbffd3434bd0632c112716cebf3f848cf0e3f337419586b03fcb507a508316c751b87e6bc1488b9351fa653f1e SHA512 d300b5fcc87a9b9ee1b5900a89602b486582c5ed3da8e724840f9a406c104a01d4376e0ebbfc316aa3f10d91560035f7475148a85acacd953e2a2a45cadad388
|
||||
DIST picard-3.0.0a4.tar.gz 8273275 BLAKE2B f1b64a9a4f67d8df758981c4a2a6a026aff61685221799fb56aeccd57fd7b9fcb0ad1545097abd8841d5a63bf6a13bd5a694256bf6f17d462ad9b267b99c78b4 SHA512 1fb51e505cacd3940c4290ffd6cfbc3c709c3cabb415b6e232001367e936bbe6b68ca4dacfefd61ee1a4221e4d4aa496e72aa9908bfcac47933d1875568e5542
|
||||
DIST picard-3.0.0b4.tar.gz 8485042 BLAKE2B 4067d69e226ac1fa05dee19a37eafc8affdf6745f8013461764aa004db438e34cca5d98ed5729e7923437263261486d3f8e33999319850810838a2b8a7324636 SHA512 649d1542a72cefaeacfd1b2d71226eeb1551a380aeca645a2244600c6c2e4a01fefa6609f65bd6671ddb6cfca1ce2d639600902bf41a2c028a0ad8c5c98e429c
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PATCHSET="${P}-patchset"
|
||||
PYTHON_COMPAT=( python3_{12..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="8e2cdc4a020b6db03006df8551eb3415511d6a13"
|
||||
SRC_URI="https://github.com/metabrainz/${PN}/archive/${COMMIT}.tar.gz -> ${P}-${COMMIT:0:8}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
elif [[ ${PV} == *alpha* ]]; then
|
||||
SRC_URI="https://github.com/metabrainz/${PN}/releases/download/release-${PV/_alpha/a}/${PN}-${PV/_alpha/a}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${PV/_alpha/a}"
|
||||
else
|
||||
SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz"
|
||||
fi
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
fi
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PATCHSET}.tar.xz"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Cross-platform music tagger"
|
||||
HOMEPAGE="https://picard.musicbrainz.org"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="discid fingerprints markdown multimedia nls"
|
||||
|
||||
# Plugin manager, git based(?): dev-python/pygit2[${PYTHON_USEDEP}]
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/charset-normalizer[${PYTHON_USEDEP}]
|
||||
dev-python/fasteners[${PYTHON_USEDEP}]
|
||||
dev-python/pyjwt[${PYTHON_USEDEP}]
|
||||
dev-python/pyqt6[gui,multimedia?,network,qml,widgets,${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
media-libs/mutagen[${PYTHON_USEDEP}]
|
||||
discid? ( dev-python/discid[${PYTHON_USEDEP}] )
|
||||
markdown? ( dev-python/markdown[${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] )"
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
PATCHES=( "${WORKDIR}/${PATCHSET}" )
|
||||
fi
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
rm test/{test_git,/plugins3/test_{cli,manager,plugin_source}}.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
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[@]}
|
||||
}
|
||||
Reference in New Issue
Block a user