diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 05:48:38 -0500 |
| commit | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch) | |
| tree | 0d7a74b4463ee387f9cf9368ceb1b757f694f72a /dev-python/python-mpd2 | |
| parent | f716a9fe6455d39eef01e718aae68dae61c19704 (diff) | |
| download | baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip | |
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
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 | 16 | ||||
| -rw-r--r-- | dev-python/python-mpd2/python-mpd2-3.1.1.ebuild | 49 |
3 files changed, 66 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..ea0f1ffd8944 --- /dev/null +++ b/dev-python/python-mpd2/metadata.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + <name>Python</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">python-mpd2</remote-id> + <remote-id type="github">Mic92/python-mpd2</remote-id> + </upstream> + <use> + <flag name="twisted">Enable twisted support</flag> + </use> +</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/. +} |
