diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-04-10 22:58:39 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-04-10 22:59:02 +0200 |
commit | b0909f68558044a4e84a5eac7b25bf41f64f6c44 (patch) | |
tree | f78ebeb42a19e29ffad921054535426deb4270fa /dev-python | |
parent | dev-python/python-mpd: Update pypi remote-id (diff) | |
download | gentoo-b0909f68558044a4e84a5eac7b25bf41f64f6c44.tar.gz gentoo-b0909f68558044a4e84a5eac7b25bf41f64f6c44.tar.bz2 gentoo-b0909f68558044a4e84a5eac7b25bf41f64f6c44.zip |
dev-python/python-mpd: Bump to 3.0.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/python-mpd/Manifest | 1 | ||||
-rw-r--r-- | dev-python/python-mpd/python-mpd-3.0.4.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest index 560c21c868e9..d0ad3ffe7cc4 100644 --- a/dev-python/python-mpd/Manifest +++ b/dev-python/python-mpd/Manifest @@ -1 +1,2 @@ DIST python-mpd-1.1.0.tar.gz 61104 BLAKE2B 274a829a3fc1404a4e3beb4df3eb563c1f781325590702761d3b3b5bc42e3cd9f63809aab14bb98e4879c10ccd55bb9d7306485ec22d37538cc2e36006a3039a SHA512 65b17ae34b2c731b7d45801211e49eacfc18239d5575075be0c11ace350da19b82dd151fefc42077454a988d3deb1b489471f739ddea2d915cb3c241669dbe32 +DIST python-mpd2-3.0.4.tar.gz 66173 BLAKE2B f92a97512f19ac5f71846d3997240e5a37a4fd9bc353e131c582547ddc6e9520d2d09a02b4de62168707ba4a2cbfc28a019cba7e0a113242ecc38ecdc86c19a9 SHA512 7adf0daf64c6132dcd4d347f0772e9cbef903f9f5fba5315b745708dd2179090f53c5303b7ce905c685076861d21f7a14951e598c88eb65be423dea627dbb26a diff --git a/dev-python/python-mpd/python-mpd-3.0.4.ebuild b/dev-python/python-mpd/python-mpd-3.0.4.ebuild new file mode 100644 index 000000000000..82c66c86e910 --- /dev/null +++ b/dev-python/python-mpd/python-mpd-3.0.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 + +MY_P=python-mpd2-${PV} +DESCRIPTION="Python MPD client library" +HOMEPAGE=" + https://github.com/Mic92/python-mpd2/ + https://pypi.org/project/python-mpd2/" +SRC_URI=" + https://github.com/Mic92/python-mpd2/archive/v${PV}.tar.gz + -> ${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="LGPL-3+" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +SLOT="0" +IUSE="examples +twisted" + +RDEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )" +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + ) +" + +DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. ) + +distutils_enable_sphinx doc --no-autodoc +distutils_enable_tests pytest + +python_test() { + epytest mpd/tests.py +} + +python_install_all() { + distutils-r1_python_install_all + + use examples && dodoc -r examples/. +} |