From 7bc9c63c9da678a7e6fceb095d56c634afd22c56 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 15 Dec 2019 18:09:03 +0000 Subject: gentoo resync : 15.12.2019 --- dev-python/python-mpd/Manifest | 6 ++-- dev-python/python-mpd/metadata.xml | 19 +++++++----- dev-python/python-mpd/python-mpd-0.5.5.ebuild | 1 + dev-python/python-mpd/python-mpd-1.0.0.ebuild | 43 +++++++++++++++++++++++++++ 4 files changed, 59 insertions(+), 10 deletions(-) create mode 100644 dev-python/python-mpd/python-mpd-1.0.0.ebuild (limited to 'dev-python/python-mpd') diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest index b8eac3e302cb..e162cf457988 100644 --- a/dev-python/python-mpd/Manifest +++ b/dev-python/python-mpd/Manifest @@ -1,3 +1,5 @@ DIST python-mpd-0.5.5.tar.gz 46334 BLAKE2B b0345c6ac2027e3881f3f2aaa6d7bc01dcf67b71de9bdd6d6a8b1bbd6f72ff9463100a0850db4320ce7ee818a1212537be68ecb624984e3f40f1ef4102eca075 SHA512 d5eec60045561a8a0e29eda2ec2fc341c9b81d61363260c884f0863e931077c31c32534e3c98a488ef31aa61cd3d21bdcfa625b7b062ef24bf3e8024dc1e7c5a -EBUILD python-mpd-0.5.5.ebuild 697 BLAKE2B 3a91faf6762c597df794d6b9cdaa78c8e48db1b384b13c0fc03a05680bbb84d3bd8c6cb8d8ea071ea5906b3ce551a6c61ec15514addfa84047a3b04780c0dadf SHA512 8ecd5202b1f43f395df08868c1b10ab05fbf3df0b6a7abf3822a19a8c32ad83d8493800e1f8abc19707e6d43d5947c9faab8c86b0c8176721fb6aa66c7fd3645 -MISC metadata.xml 382 BLAKE2B ae34121b1c437cc20e28928ae2d36e19aaa399161f96fc7748d9790643f9c8705ff86f951439dee2adfcceae2f0195f1a94745655f57966cd8cc1789fb302a74 SHA512 aafaba60498499a806694356fe71b55f3e469a024aad9a74cdbfdd1e7361a7ab33b267796949e10844c25946b34ed0e43db9fada9a76f08084067f741d4ac6a1 +DIST python-mpd-1.0.0.tar.gz 60032 BLAKE2B 9293dfc85363f83041b1d73046dabe6a3243a63de495ba630eedbda96d1b080cfb1cc635801794a91103bbd4b9145733d63ce3ad252748d01ed596cd3b0f7895 SHA512 5fab12d082be39ac4a3477ea10b5d1fa350ceac23c97fb12a46f6cd0cfa6a83999f31528d6d7f74c1ffe67f4e63dfbe8fd3debcf917a6e3705bcf84a55a458ce +EBUILD python-mpd-0.5.5.ebuild 724 BLAKE2B bbe8846a705a8bf0da0b1b1b645e46cdbfecd7eeb94aeb0aea9d692c1b4c33cd88cfac257fbb2ec74462a086d107c9b6ffaad7101d527b76fae2d01894c5380f SHA512 d17583bca5f5f253950eefd69b813cd599d816f849bb96eb7e90a13e1ea7f017f05cf6e76bdf027d29dd2bc469d2c88a4e262785251c1f25fa76e3d2afbd5143 +EBUILD python-mpd-1.0.0.ebuild 995 BLAKE2B d837717fcba4e3b2ba5222dab366766dcdefd571e9dc5f86267aa75bd053bb74ab1e242c71a22e0f872b2111c68f2873202b9ba05fa530ddf14fba5d30620600 SHA512 c710ec8c3ef53c4fafe97851f0e15b608de3d9c64ba7a6b73b6f5cbc96e3c8ce55a14b9213e096c61d8c17bf7b7591c0c08b07988f3a622c9a8b0baca309993b +MISC metadata.xml 438 BLAKE2B 5429aa3c88046640fb1349404a60f1508f5d86f698ef410210507df39fd5b2d2502d8d2dafde32c8a6f02c2d01e92cca1dc37255435066dfb3a41d26850a367b SHA512 1101d7830907a54a4ccfa1a1db8e6abea802fddd3ee0827770d9e15157be6a3e9b491eebd4b80eab38074fba743fc0671686806c27accd060bf3948736a86c44 diff --git a/dev-python/python-mpd/metadata.xml b/dev-python/python-mpd/metadata.xml index 2026acc8e100..ff857238fdf2 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-0.5.5.ebuild b/dev-python/python-mpd/python-mpd-0.5.5.ebuild index e97fcd039b01..e07d5ff3dc60 100644 --- a/dev-python/python-mpd/python-mpd-0.5.5.ebuild +++ b/dev-python/python-mpd/python-mpd-0.5.5.ebuild @@ -14,6 +14,7 @@ LICENSE="LGPL-3" KEYWORDS="amd64 ~ppc ~ppc64 x86" SLOT="0" IUSE="test" +RESTRICT="!test? ( test )" DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] ) dev-python/setuptools[${PYTHON_USEDEP}]" 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 000000000000..067a3f07ca43 --- /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 +} -- cgit v1.2.3