From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0467E138359 for ; Sun, 9 Aug 2020 13:10:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78529E0950; Sun, 9 Aug 2020 13:10:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5FB81E0949 for ; Sun, 9 Aug 2020 13:10:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6C21034F323 for ; Sun, 9 Aug 2020 13:10:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 371ED314 for ; Sun, 9 Aug 2020 13:10:20 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1596978577.0628ee5f474db42a56655ad2e5143e21392b56a0.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/eyeD3/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/eyeD3/Manifest dev-python/eyeD3/eyeD3-0.9.5.ebuild X-VCS-Directories: dev-python/eyeD3/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 0628ee5f474db42a56655ad2e5143e21392b56a0 X-VCS-Branch: master Date: Sun, 9 Aug 2020 13:10:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d989f2d6-113f-4765-ae6a-f1edaf108fa4 X-Archives-Hash: 0410f0419875235062833ec366fdd030 commit: 0628ee5f474db42a56655ad2e5143e21392b56a0 Author: Michał Górny gentoo org> AuthorDate: Sun Aug 9 12:42:47 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Aug 9 13:09:37 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0628ee5f dev-python/eyeD3: Bump to 0.9.5, enable tests Signed-off-by: Michał Górny gentoo.org> dev-python/eyeD3/Manifest | 2 ++ dev-python/eyeD3/eyeD3-0.9.5.ebuild | 46 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-python/eyeD3/Manifest b/dev-python/eyeD3/Manifest index 90403397d3c..6118e2465d7 100644 --- a/dev-python/eyeD3/Manifest +++ b/dev-python/eyeD3/Manifest @@ -1 +1,3 @@ DIST eyeD3-0.8.11.tar.gz 215807 BLAKE2B e289a274198a4adceb0ec3b77a5c79f50faaa320edecdf07d1d2af3b5519f0c884c8cef146b124fd172d74626f70af2b689dd536ade1a68ed27fedff840513ee SHA512 ed147fbe6ce88319cdbfc752e1ddbcb141180bdd87854c209c621956bc52395c5ba442d929016419620c0b230f5b8a3e1fa638b73c7cf329405425148f953c9c +DIST eyeD3-0.9.5.tar.gz 222657 BLAKE2B 3932c1b07e0961773a1cccaebec116c3b51a8c4560850661e8725efb3f4c5716b43ba610e35a2682f94b0e3b72513fbf108ffbc8c436a52977c308ad82e59400 SHA512 be89a2070b8cd5d70b25ff24e508c35e4e0ad20bfbe7bc91e4119614c1359cbc7a4ba812066b608f310abfd027d34b7bfa13f9dae8f3ab54f3ecfc9ce47c07e4 +DIST eyeD3-test-data.tgz 97281754 BLAKE2B 9b667a5f8be157ace06d773d575c08f4a8e8b7a7b81ba9cb39b1e2c924b2e3f98597607ed3076b13150e02ef7768e89d1ff8a9913021e5f4b9ac6b59344ed397 SHA512 937971dcefc53812c59adb97df27d200e92de04e12391c735ab85cd547e2a168aa1212d88c206ec71ac2fa85a504a9faa91dcc444b45149aca7c8f3a794e9a95 diff --git a/dev-python/eyeD3/eyeD3-0.9.5.ebuild b/dev-python/eyeD3/eyeD3-0.9.5.ebuild new file mode 100644 index 00000000000..e5f39d7812d --- /dev/null +++ b/dev-python/eyeD3/eyeD3-0.9.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_7 ) + +inherit distutils-r1 + +DESCRIPTION="Module for manipulating ID3 (v1 + v2) tags in Python" +HOMEPAGE="https://eyed3.nicfit.net/" +SRC_URI="https://github.com/nicfit/eyeD3/archive/v${PV}.tar.gz -> ${P}.tar.gz + test? ( https://eyed3.nicfit.net/releases/eyeD3-test-data.tgz )" + +LICENSE="GPL-2" +SLOT="0.7" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/deprecation[${PYTHON_USEDEP}] + dev-python/filetype[${PYTHON_USEDEP}]" +# note: most of the deps are optional runtime deps / plugin deps +BDEPEND=" + test? ( + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/pylast[${PYTHON_USEDEP}] + dev-python/ruamel-yaml[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest + +src_prepare() { + # requires unpackaged factory-boy, doesn't seem to relevant + # to anything but eyeD3 usage with factory-boy + rm test/test_factory.py || die + # requires unpackaged grako + rm test/test_display_plugin.py || die + + if use test; then + mv "${WORKDIR}"/eyeD3-test-data test/data || die + fi + + distutils-r1_src_prepare +}