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 33AFD138334 for ; Sat, 7 Dec 2019 22:53:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55B66E0894; Sat, 7 Dec 2019 22:53:07 +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 2A947E0894 for ; Sat, 7 Dec 2019 22:53:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 D1C3834D87E for ; Sat, 7 Dec 2019 22:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43D328D6 for ; Sat, 7 Dec 2019 22:53:02 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1575759101.c5282de46df7c9a67082c2db4ea5a1f8c652865a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-mpd/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-mpd/Manifest dev-python/python-mpd/metadata.xml dev-python/python-mpd/python-mpd-1.0.0.ebuild X-VCS-Directories: dev-python/python-mpd/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: c5282de46df7c9a67082c2db4ea5a1f8c652865a X-VCS-Branch: master Date: Sat, 7 Dec 2019 22:53:02 +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: 66326b69-3384-458a-ba1b-588a78b7e0a5 X-Archives-Hash: af6b59dc1efc41740eb739c9310ec193 commit: c5282de46df7c9a67082c2db4ea5a1f8c652865a Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 7 18:34:21 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 7 22:51:41 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5282de4 dev-python/python-mpd: 1.0.0 version bump Closes: https://bugs.gentoo.org/623500 Closes: https://bugs.gentoo.org/653410 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-python/python-mpd/Manifest | 1 + dev-python/python-mpd/metadata.xml | 19 +++++++----- dev-python/python-mpd/python-mpd-1.0.0.ebuild | 43 +++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 8 deletions(-) diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest index bcbb882f91f..9f4c5b34b03 100644 --- a/dev-python/python-mpd/Manifest +++ b/dev-python/python-mpd/Manifest @@ -1 +1,2 @@ DIST python-mpd-0.5.5.tar.gz 46334 BLAKE2B b0345c6ac2027e3881f3f2aaa6d7bc01dcf67b71de9bdd6d6a8b1bbd6f72ff9463100a0850db4320ce7ee818a1212537be68ecb624984e3f40f1ef4102eca075 SHA512 d5eec60045561a8a0e29eda2ec2fc341c9b81d61363260c884f0863e931077c31c32534e3c98a488ef31aa61cd3d21bdcfa625b7b062ef24bf3e8024dc1e7c5a +DIST python-mpd-1.0.0.tar.gz 60032 BLAKE2B 9293dfc85363f83041b1d73046dabe6a3243a63de495ba630eedbda96d1b080cfb1cc635801794a91103bbd4b9145733d63ce3ad252748d01ed596cd3b0f7895 SHA512 5fab12d082be39ac4a3477ea10b5d1fa350ceac23c97fb12a46f6cd0cfa6a83999f31528d6d7f74c1ffe67f4e63dfbe8fd3debcf917a6e3705bcf84a55a458ce diff --git a/dev-python/python-mpd/metadata.xml b/dev-python/python-mpd/metadata.xml index 2026acc8e10..ff857238fdf 100644 --- a/dev-python/python-mpd/metadata.xml +++ b/dev-python/python-mpd/metadata.xml @@ -1,12 +1,15 @@ - - python@gentoo.org - Python - - - python-mpd - Mic92/python-mpd2 - + + python@gentoo.org + Python + + + python-mpd + Mic92/python-mpd2 + + + Enable twisted support + diff --git a/dev-python/python-mpd/python-mpd-1.0.0.ebuild b/dev-python/python-mpd/python-mpd-1.0.0.ebuild new file mode 100644 index 00000000000..067a3f07ca4 --- /dev/null +++ b/dev-python/python-mpd/python-mpd-1.0.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_{6,7} ) +inherit distutils-r1 + +DESCRIPTION="Python MPD client library" +HOMEPAGE="https://github.com/Mic92/python-mpd2" +SRC_URI="https://github.com/Mic92/${PN}2/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="test +twisted" + +REQUIRED_USE="test? ( twisted )" + +BDEPEND=" + test? ( + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/mock[${PYTHON_USEDEP}] + dev-python/toml[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + ) + dev-python/setuptools[${PYTHON_USEDEP}] +" +DEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )" +RDEPEND="${DEPEND}" + +RESTRICT="!test? ( test )" + +DOCS=( doc/changes.rst doc/topics/{advanced,commands,getting-started,logging}.rst README.rst ) + +S="${WORKDIR}/${PN}2-${PV}" + +distutils_enable_tests setup.py + +python_prepare_all() { + distutils-r1_python_prepare_all + rm tox.ini || die +}