diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-01-18 10:06:58 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-01-18 10:51:36 +0100 |
commit | b50d7950bcc649560d34ab1284b6baed66d0e521 (patch) | |
tree | 64639df8a8a61db3cc6873923fbe1d4694e660de /dev-python/python-mpd | |
parent | dev-python/setuptools_scm: Bump to 6.4.0 (diff) | |
download | gentoo-b50d7950bcc649560d34ab1284b6baed66d0e521.tar.gz gentoo-b50d7950bcc649560d34ab1284b6baed66d0e521.tar.bz2 gentoo-b50d7950bcc649560d34ab1284b6baed66d0e521.zip |
dev-python/python-mpd: Bump to 3.0.5
Signed-off-by: Michał Górny <mgorny@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-3.0.5.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest index 8156c83d7dc4..b84379843fc8 100644 --- a/dev-python/python-mpd/Manifest +++ b/dev-python/python-mpd/Manifest @@ -1 +1,2 @@ DIST python-mpd2-3.0.4.tar.gz 66173 BLAKE2B f92a97512f19ac5f71846d3997240e5a37a4fd9bc353e131c582547ddc6e9520d2d09a02b4de62168707ba4a2cbfc28a019cba7e0a113242ecc38ecdc86c19a9 SHA512 7adf0daf64c6132dcd4d347f0772e9cbef903f9f5fba5315b745708dd2179090f53c5303b7ce905c685076861d21f7a14951e598c88eb65be423dea627dbb26a +DIST python-mpd2-3.0.5.tar.gz 67224 BLAKE2B a0c78e3a2624247a7ed4228725dcc09457804636b01b09006bcd61800deefac8887fc9f76b9d7bb21c973e2dd9558e934f3864b2f8f5c041a94633a29f9a781e SHA512 521345b905113eaa56e6ec983e4d968d77dca30f839ab52a00e146f311269828ed383bce460ba1daf61b7f98c63ae3b7a3cbcb55cf917b1c5a5a11cf62b6a7d5 diff --git a/dev-python/python-mpd/python-mpd-3.0.5.ebuild b/dev-python/python-mpd/python-mpd-3.0.5.ebuild new file mode 100644 index 000000000000..ec1b71bee18d --- /dev/null +++ b/dev-python/python-mpd/python-mpd-3.0.5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +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/. +} |