diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-07-08 06:02:57 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-07-08 06:02:57 +0200 |
commit | 63ee7b89d10c72f4f87c92512ed633203d8fec7a (patch) | |
tree | 03ceafd73c57827ce66bf54add90d0a5be3ed688 /media-sound/picard | |
parent | media-libs/rubberband: dropped 3.0.0 to unstable (diff) | |
download | gentoo-63ee7b89d10c72f4f87c92512ed633203d8fec7a.tar.gz gentoo-63ee7b89d10c72f4f87c92512ed633203d8fec7a.tar.bz2 gentoo-63ee7b89d10c72f4f87c92512ed633203d8fec7a.zip |
media-sound/picard: bump to 2.8.2, added missing deps
Closes: https://bugs.gentoo.org/833893
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/picard')
-rw-r--r-- | media-sound/picard/Manifest | 1 | ||||
-rw-r--r-- | media-sound/picard/picard-2.8.1.ebuild | 2 | ||||
-rw-r--r-- | media-sound/picard/picard-2.8.2.ebuild | 65 | ||||
-rw-r--r-- | media-sound/picard/picard-2.8.ebuild | 2 | ||||
-rw-r--r-- | media-sound/picard/picard-9999.ebuild | 4 |
5 files changed, 73 insertions, 1 deletions
diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest index dac91fb422c9..406df1976c53 100644 --- a/media-sound/picard/Manifest +++ b/media-sound/picard/Manifest @@ -1,2 +1,3 @@ DIST picard-2.8.1.tar.gz 5060681 BLAKE2B e649407e12fe0a5f627feaa4e1ac347b27bcb22960f6b1adac67444ebb1f0ad4bcc5732cb218cb3ba67147fdd3bc9f4a5fe3eb3836c6bd1a43ea29bb2add1d9a SHA512 0f15dccacb1d95232235b7c8251b59f02d9cd7836fc10e624951a04f889d12206301aea77d9503fd0f4fed2ae400a150ac159ce6cefd9e8a914a62f8257c7ffb +DIST picard-2.8.2.tar.gz 5095347 BLAKE2B ddaab9e7d09bd7848d55ac385cd901b5f7b3e2044811cd63b16027159586e01028f2885202c4d2bbfa20926305e110e075778f0b907ff8812c937fe0905a8fef SHA512 18b4ebc6e898f4e2910d4d022a12c0516030133318467c38a77325ce088a9dd632d3d8105944570f75b918d3f4dc32b1a501e93bc92a7315ec9ff35ed3e56699 DIST picard-2.8.tar.gz 5060056 BLAKE2B b5ba78c910a615e7e2bab148e83514d4fc929d8dc910dcd07dff3af75b502bc9036eb7843bdd3d95b2e5d07902ffcefb529ad1aa19d101565f9c4e66eba693e2 SHA512 bd5b4e7b457603eb8c1895452a7b00cb5de48e28e72c8f377ad73e49aa272a2d09338ea4585f40f1a8401e860a9be3d210db3f44a39956b200d85aa24a89562c diff --git a/media-sound/picard/picard-2.8.1.ebuild b/media-sound/picard/picard-2.8.1.ebuild index accbc2910dfb..bde58ffb690e 100644 --- a/media-sound/picard/picard-2.8.1.ebuild +++ b/media-sound/picard/picard-2.8.1.ebuild @@ -30,8 +30,10 @@ BDEPEND=" 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/python-discid[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] media-libs/mutagen[${PYTHON_USEDEP}] discid? ( dev-python/python-discid[${PYTHON_USEDEP}] ) diff --git a/media-sound/picard/picard-2.8.2.ebuild b/media-sound/picard/picard-2.8.2.ebuild new file mode 100644 index 000000000000..bde58ffb690e --- /dev/null +++ b/media-sound/picard/picard-2.8.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 xdg + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://github.com/metabrainz/picard" + inherit git-r3 +else + SRC_URI="https://musicbrainz.osuosl.org/pub/musicbrainz/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-release-${PV}" +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/python-discid[${PYTHON_USEDEP}] + dev-python/pyyaml[${PYTHON_USEDEP}] + media-libs/mutagen[${PYTHON_USEDEP}] + discid? ( dev-python/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.8.ebuild b/media-sound/picard/picard-2.8.ebuild index c57f433dd767..b3eb36f8606a 100644 --- a/media-sound/picard/picard-2.8.ebuild +++ b/media-sound/picard/picard-2.8.ebuild @@ -30,8 +30,10 @@ BDEPEND=" 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/python-discid[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] media-libs/mutagen[${PYTHON_USEDEP}] discid? ( dev-python/python-discid[${PYTHON_USEDEP}] ) diff --git a/media-sound/picard/picard-9999.ebuild b/media-sound/picard/picard-9999.ebuild index a096198a73fd..bde58ffb690e 100644 --- a/media-sound/picard/picard-9999.ebuild +++ b/media-sound/picard/picard-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -30,8 +30,10 @@ BDEPEND=" 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/python-discid[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] media-libs/mutagen[${PYTHON_USEDEP}] discid? ( dev-python/python-discid[${PYTHON_USEDEP}] ) |