diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-17 09:31:54 +0100 |
commit | 5a21cec0c36dba03507dcbd5e8ab6698d00b39bf (patch) | |
tree | aa76c2f85f9c77c2f9a5af47ae0aa6509585770a /media-sound/picard | |
parent | 280d9db9f9470686aae5ce1fa4cfa57b26e9beb2 (diff) |
gentoo auto-resync : 17:08:2023 - 09:31:54
Diffstat (limited to 'media-sound/picard')
-rw-r--r-- | media-sound/picard/Manifest | 4 | ||||
-rw-r--r-- | media-sound/picard/picard-2.9.1.ebuild | 65 | ||||
-rw-r--r-- | media-sound/picard/picard-9999.ebuild | 2 |
3 files changed, 69 insertions, 2 deletions
diff --git a/media-sound/picard/Manifest b/media-sound/picard/Manifest index a2111af5ad64..97ad086e06a7 100644 --- a/media-sound/picard/Manifest +++ b/media-sound/picard/Manifest @@ -1,6 +1,8 @@ DIST picard-2.8.5.tar.gz 5108919 BLAKE2B 0866ece07a64ad1f226fa3d5b88ffca19eaa951e42918631fbe11ed64360f0c586dd0cfbfd33731c125b9db5a85a12263573e0cffdccf9e8e839ad197b5d9e4f SHA512 02bf3ce6b8503e0e4ed9601db4ba31019704d2e09d0abc36026f9cf6a81d748cf62fe0b6c1a2730fa89033d62823f62a40fed1d845abb54c51dd9bb8a0d1bfb4 +DIST picard-2.9.1.tar.gz 5270234 BLAKE2B 51c84c9c344f5f9486e57caa2e47626329042f9e99acb5e651162fd0597c97e6d2f8e993bf735e83bdd4885c31183f9841c39a31db2f446449be9d10af39bd78 SHA512 935689fcaa7019fbdd391fe9df45fbb6f4528cec8652a852780e3bd1142dd8407bf76f97bdf24eec481448d69e3ed9ab40c0bb16095352006b874fe9fc46bc16 DIST picard-2.9.tar.gz 6360770 BLAKE2B d843cbb249f79a7817f0d5a62f7f851a3acc9943c93e0130fa487c385d1dda3b14a51b7070212a4562553c39ac54e8b743391a28c3e916ceb11e5070f3801985 SHA512 837f70b239acc0d2846be79fb225e5bc7a3b7c3d2e928c34bd01730b6049809a58c274a4e49c5cc42f253f5c113c19b331ac1489427f8dbb3c31515d2511e4dc EBUILD picard-2.8.5.ebuild 1455 BLAKE2B 3118ef882d633efff0ca57a101a388942f6298a6dac68f54adbbfba407abfac88d7c4143f5ef2d8df80ccf0f3c2971a8ca2b4c9159f962dda277894cb5577422 SHA512 7e0d173950e5135d78a38bddb45e5bb8b37da68fb7106fa7b6b858e4f6366b61549931fb5f601dada1bf3232524c3e28d907741aae83a5c38d810907ba21eb53 +EBUILD picard-2.9.1.ebuild 1469 BLAKE2B e19ac8acc115beb25339c3a8b3fc9f94f872793cfe20e9c0c6761a594b4cf61fbda6067fb42039c271f2eb5966d69e78f9fc116a247b539acf59e7711ccb93fc SHA512 371b372e3c33dcd5f11626f4d6a71c45acdabcd3108917843c86fe38690375bdb1ffbf18114e325b34336e2afdeff3af946a8783de91b47d045a5cdc458499c0 EBUILD picard-2.9.ebuild 1473 BLAKE2B 06bbdba27917e573d6c895daffe8369a4825f69bc7f32ce9b22a7095093a8ada647eae12d36852d4f25d75f29fdec98e33795980b6132253d55ec70a33fba3be SHA512 9b44d937b0c0639ab41c97fe601587d729e93ddbde5e9a1e3049bca2e627e7f4966c8085dbe3f3a40d830d39f0f9826d82a5d2efee2ba5e3791b4637f2ddef67 -EBUILD picard-9999.ebuild 1473 BLAKE2B 06bbdba27917e573d6c895daffe8369a4825f69bc7f32ce9b22a7095093a8ada647eae12d36852d4f25d75f29fdec98e33795980b6132253d55ec70a33fba3be SHA512 9b44d937b0c0639ab41c97fe601587d729e93ddbde5e9a1e3049bca2e627e7f4966c8085dbe3f3a40d830d39f0f9826d82a5d2efee2ba5e3791b4637f2ddef67 +EBUILD picard-9999.ebuild 1469 BLAKE2B e19ac8acc115beb25339c3a8b3fc9f94f872793cfe20e9c0c6761a594b4cf61fbda6067fb42039c271f2eb5966d69e78f9fc116a247b539acf59e7711ccb93fc SHA512 371b372e3c33dcd5f11626f4d6a71c45acdabcd3108917843c86fe38690375bdb1ffbf18114e325b34336e2afdeff3af946a8783de91b47d045a5cdc458499c0 MISC metadata.xml 740 BLAKE2B cc09a7bf012e0b85ff55531ace5d8b187cd68fdae7d274cb640a7ae446296c2ac70bb599955d6ab2570b3eb879c28cad0cf2e70fe7339c2c0c58fd8b0dcdcac7 SHA512 321188fd4887593a3683b2c507673baa9e2faf2b46b0158338a67e72dbf5267b93c1e358ceadeacd707d6a6bb234a4fae8ef681779463c4ab5bd3b79dbd47c43 diff --git a/media-sound/picard/picard-2.9.1.ebuild b/media-sound/picard/picard-2.9.1.ebuild new file mode 100644 index 000000000000..7cc9e324b322 --- /dev/null +++ b/media-sound/picard/picard-2.9.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +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://musicbrainz.osuosl.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/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-9999.ebuild b/media-sound/picard/picard-9999.ebuild index f60c4d17aa12..7cc9e324b322 100644 --- a/media-sound/picard/picard-9999.ebuild +++ b/media-sound/picard/picard-9999.ebuild @@ -4,6 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) +DISTUTILS_USE_PEP517=setuptools DISTUTILS_SINGLE_IMPL=1 DISTUTILS_EXT=1 @@ -15,7 +16,6 @@ if [[ ${PV} = *9999* ]]; then else SRC_URI="https://musicbrainz.osuosl.org/pub/musicbrainz/${PN}/${P}.tar.gz" KEYWORDS="~amd64 ~arm64 ~x86" - S="${WORKDIR}/${PN}-release-${PV}" fi DESCRIPTION="Cross-platform music tagger" |