diff options
Diffstat (limited to 'dev-python/python-mpd2')
| -rw-r--r-- | dev-python/python-mpd2/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/python-mpd2/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/python-mpd2/python-mpd2-3.1.1.ebuild | 49 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/python-mpd2/Manifest b/dev-python/python-mpd2/Manifest new file mode 100644 index 000000000000..0c23aff9c345 --- /dev/null +++ b/dev-python/python-mpd2/Manifest @@ -0,0 +1 @@ +DIST python-mpd2-3.1.1.gh.tar.gz 69613 BLAKE2B 4769799edb7a5fa8d772e95fdda362845d97ff2e17bc5eed7ec057c0e17389e8ad3b5d1ecd3b169ddea9d33fdfc52d46b86b8e1abc89489cf04f53aa803219d0 SHA512 abd882bc0652ed4a8ee2f4abf0a039e7c62e77b35d278c5fc99bb032c220caac831cc483445516044964f2ea078d2134af61c64d55cb20770b4d32a5aa1ce5e2 diff --git a/dev-python/python-mpd2/metadata.xml b/dev-python/python-mpd2/metadata.xml new file mode 100644 index 000000000000..6af003cd73ef --- /dev/null +++ b/dev-python/python-mpd2/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches /> + <use> + <flag name="twisted">Enable twisted support</flag> + </use> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild b/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild new file mode 100644 index 000000000000..2f0083c47005 --- /dev/null +++ b/dev-python/python-mpd2/python-mpd2-3.1.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{13..14} ) + +inherit distutils-r1 + +DESCRIPTION="Python MPD client library" +HOMEPAGE=" + https://github.com/Mic92/python-mpd2/ + https://pypi.org/project/python-mpd2/ +" +# as of 3.1.0, sdist is missing some doc files +SRC_URI=" + https://github.com/Mic92/python-mpd2/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="amd64 arm64 ppc ppc64 x86" +IUSE="examples +twisted" + +RDEPEND=" + twisted? ( dev-python/twisted[${PYTHON_USEDEP}] ) +" +BDEPEND=" + test? ( + 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 unittest + +python_test() { + eunittest mpd.tests +} + +python_install_all() { + distutils-r1_python_install_all + + use examples && dodoc -r examples/. +} |
