summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-08-14 12:02:55 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2024-08-14 12:02:55 +0200
commit69b3db098ba056157587d24983d17a80f435a767 (patch)
tree0263013bd2320af80c62075a5bb848a97994dde1 /media-sound
parentnet-p2p/syncthing: Stabilize 1.27.9 arm64, #937873 (diff)
downloadgentoo-69b3db098ba056157587d24983d17a80f435a767.tar.gz
gentoo-69b3db098ba056157587d24983d17a80f435a767.tar.bz2
gentoo-69b3db098ba056157587d24983d17a80f435a767.zip
media-sound/picard: bump to 2.12.1 + added python3.13
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/picard/Manifest1
-rw-r--r--media-sound/picard/picard-2.12.1.ebuild65
-rw-r--r--media-sound/picard/picard-2.12.ebuild2
-rw-r--r--media-sound/picard/picard-9999.ebuild4
4 files changed, 69 insertions, 3 deletions
diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest
index 7e448d58f0d8..340ecce39158 100644
--- a/media-sound/picard/Manifest
+++ b/media-sound/picard/Manifest
@@ -1 +1,2 @@
+DIST picard-2.12.1.tar.gz 5863157 BLAKE2B 0015b0c378088f2cd2d7f2449a41c544b9f4cb4e521e9728a872f37ab21815f492a8a80886ce294e17406808cb965968962b8fde6625907f324c50b3ba53d160 SHA512 d9a9f574d7a4ca981cd224068c59eef5f3acdab8e8f84a3d5c5c4428d57c49e706899f039e246c0bdbe85206b1777c8211e54d02982bd163c7bbcad5126b3d11
DIST picard-2.12.tar.gz 5857635 BLAKE2B 4eaec28830d85a0a45d220012fbb1acbfd40accc1536e47aa616b7d0014ef6f36111a6e9d6992862f9ff5419f7cb0c7b2b7b0a737ceca20bc804ce040f52ab22 SHA512 28f8d6b7b59a9a145404ab497a4ef0d71f2fefe86b9ec28b7f6879ec10f5ab1fd3582363bb15dd92c92c624843e87c11fce959fee75d0b312e72f6575d93b1a6
diff --git a/media-sound/picard/picard-2.12.1.ebuild b/media-sound/picard/picard-2.12.1.ebuild
new file mode 100644
index 000000000000..6a6e26e28fc9
--- /dev/null
+++ b/media-sound/picard/picard-2.12.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..13} )
+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
+ SRC_URI="https://data.musicbrainz.org/pub/musicbrainz/${PN}/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+DESCRIPTION="Cross-platform music tagger"
+HOMEPAGE="https://picard.musicbrainz.org"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="discid fingerprints nls"
+
+BDEPEND="
+ nls? ( dev-qt/linguist-tools:5 )
+"
+RDEPEND="
+ $(python_gen_cond_dep '
+ dev-python/fasteners[${PYTHON_USEDEP}]
+ dev-python/pyjwt[${PYTHON_USEDEP}]
+ dev-python/PyQt5[declarative,gui,network,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] )
+"
+
+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[@]}
+}
diff --git a/media-sound/picard/picard-2.12.ebuild b/media-sound/picard/picard-2.12.ebuild
index 3dcfb2ce712e..6bba3ba85121 100644
--- a/media-sound/picard/picard-2.12.ebuild
+++ b/media-sound/picard/picard-2.12.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{9..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_EXT=1
diff --git a/media-sound/picard/picard-9999.ebuild b/media-sound/picard/picard-9999.ebuild
index d3dfe8779818..6a6e26e28fc9 100644
--- a/media-sound/picard/picard-9999.ebuild
+++ b/media-sound/picard/picard-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..12} )
+PYTHON_COMPAT=( python3_{9..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_EXT=1