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 9C80F138334 for ; Thu, 12 Sep 2019 10:05:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3C078E0841; Thu, 12 Sep 2019 10:05:17 +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 EDE10E0835 for ; Thu, 12 Sep 2019 10:05:16 +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 A06B134B0A3 for ; Thu, 12 Sep 2019 10:05:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 394757E9 for ; Thu, 12 Sep 2019 10:05:13 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1568282652.b9597e825853da6086a9127f477a6247e28e7b5c.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/mediafile/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/mediafile/Manifest dev-python/mediafile/mediafile-0.2.0.ebuild dev-python/mediafile/metadata.xml X-VCS-Directories: dev-python/mediafile/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: b9597e825853da6086a9127f477a6247e28e7b5c X-VCS-Branch: master Date: Thu, 12 Sep 2019 10:05:13 +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: 48416c87-9fb1-4664-82f0-6b70265ee9f5 X-Archives-Hash: 181441d051fc9b4d33684fd0ac827477 commit: b9597e825853da6086a9127f477a6247e28e7b5c Author: Bernardo Meurer standard ai> AuthorDate: Thu Sep 12 10:04:12 2019 +0000 Commit: David Seifert gentoo org> CommitDate: Thu Sep 12 10:04:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9597e82 dev-python/mediafile: new package (0.2.0) Read and write audio files' tags in Python. Closes: https://bugs.gentoo.org/693180 Closes: https://github.com/gentoo/gentoo/pull/12827 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Bernardo Meurer standard.ai> Signed-off-by: David Seifert gentoo.org> dev-python/mediafile/Manifest | 1 + dev-python/mediafile/mediafile-0.2.0.ebuild | 43 +++++++++++++++++++++++++++++ dev-python/mediafile/metadata.xml | 21 ++++++++++++++ 3 files changed, 65 insertions(+) diff --git a/dev-python/mediafile/Manifest b/dev-python/mediafile/Manifest new file mode 100644 index 00000000000..0eb736f7a07 --- /dev/null +++ b/dev-python/mediafile/Manifest @@ -0,0 +1 @@ +DIST mediafile-0.2.0.tar.gz 509689 BLAKE2B f79da210a74d55c4709b6fbf08a0675f445001ec49d042fc4a1101def07068bebccb155e770c5cbe8d051d7f101a213e9fcefbcb9590a650de99cfde837a965c SHA512 0fa79f77e0ac9a021b569e78f0edbe8cc63308ad8c89526d8e15dee455a284cb90d29b51aa476287e306717315c3cff290634fc6e4ac0b1726163dd922ee3b0d diff --git a/dev-python/mediafile/mediafile-0.2.0.ebuild b/dev-python/mediafile/mediafile-0.2.0.ebuild new file mode 100644 index 00000000000..3d5e8e1fd59 --- /dev/null +++ b/dev-python/mediafile/mediafile-0.2.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +inherit distutils-r1 + +DESCRIPTION="Read and write audio files' tags in Python" +HOMEPAGE="https://github.com/beetbox/mediafile" +SRC_URI="https://github.com/beetbox/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx ) + test? ( dev-python/nose[${PYTHON_USEDEP}] ) +" +DEPEND=" + >=dev-python/six-1.9.0[${PYTHON_USEDEP}] + >=media-libs/mutagen-1.33.0[${PYTHON_USEDEP}] +" +RDEPEND="${DEPEND}" + +python_compile_all() { + if use doc; then + emake -C docs html + rm -r docs/_build/html/_sources || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + nosetests -v || die "Tests failed" + if use doc; then + sphinx-build -W -q -b html docs __doctest || die "Doc tests failed" + fi +} diff --git a/dev-python/mediafile/metadata.xml b/dev-python/mediafile/metadata.xml new file mode 100644 index 00000000000..d8b2350d9c4 --- /dev/null +++ b/dev-python/mediafile/metadata.xml @@ -0,0 +1,21 @@ + + + + + bernardo@standard.ai + Bernardo Meurer + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainers Project + + + MediaFile is a simple interface to the metadata tags for many audio + file formats. It wraps Mutagen, a high-quality library for low-level + tag manipulation, with a high-level, format-independent interface for + a common set of tags. + + + beetbox/mediafile + +