diff options
author | Conrad Kostecki <conikost@gentoo.org> | 2020-08-30 03:57:21 +0200 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2020-08-30 03:58:22 +0200 |
commit | 4dd605ea0180830c0dc318a84bdc9759b99e4240 (patch) | |
tree | 739cfd6c0343667b5887a4f39692d6fa90b839de /dev-python/python-mpd | |
parent | dev-libs/libffi: Stabilize 3.3-r2 ppc, #736178 (diff) | |
download | gentoo-4dd605ea0180830c0dc318a84bdc9759b99e4240.tar.gz gentoo-4dd605ea0180830c0dc318a84bdc9759b99e4240.tar.bz2 gentoo-4dd605ea0180830c0dc318a84bdc9759b99e4240.zip |
Revert "dev-python/python-mpd: drop old version"
This reverts commit f7e774ce13c4b95ab18867deb5d39da0af288e5d.
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-python/python-mpd')
-rw-r--r-- | dev-python/python-mpd/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-mpd/python-mpd-1.0.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest index 560c21c868e9..8a32572980f7 100644 --- a/dev-python/python-mpd/Manifest +++ b/dev-python/python-mpd/Manifest @@ -1 +1,2 @@ +DIST python-mpd-1.0.0.tar.gz 60032 BLAKE2B 9293dfc85363f83041b1d73046dabe6a3243a63de495ba630eedbda96d1b080cfb1cc635801794a91103bbd4b9145733d63ce3ad252748d01ed596cd3b0f7895 SHA512 5fab12d082be39ac4a3477ea10b5d1fa350ceac23c97fb12a46f6cd0cfa6a83999f31528d6d7f74c1ffe67f4e63dfbe8fd3debcf917a6e3705bcf84a55a458ce DIST python-mpd-1.1.0.tar.gz 61104 BLAKE2B 274a829a3fc1404a4e3beb4df3eb563c1f781325590702761d3b3b5bc42e3cd9f63809aab14bb98e4879c10ccd55bb9d7306485ec22d37538cc2e36006a3039a SHA512 65b17ae34b2c731b7d45801211e49eacfc18239d5575075be0c11ace350da19b82dd151fefc42077454a988d3deb1b489471f739ddea2d915cb3c241669dbe32 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..bca3a1df982b --- /dev/null +++ b/dev-python/python-mpd/python-mpd-1.0.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +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 ~ppc ~ppc64 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 +} |