1 |
commit: b50d7950bcc649560d34ab1284b6baed66d0e521 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 09:06:58 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 18 09:51:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50d7950 |
7 |
|
8 |
dev-python/python-mpd: Bump to 3.0.5 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-mpd/Manifest | 1 + |
13 |
dev-python/python-mpd/python-mpd-3.0.5.ebuild | 46 +++++++++++++++++++++++++++ |
14 |
2 files changed, 47 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-mpd/Manifest b/dev-python/python-mpd/Manifest |
17 |
index 8156c83d7dc4..b84379843fc8 100644 |
18 |
--- a/dev-python/python-mpd/Manifest |
19 |
+++ b/dev-python/python-mpd/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-mpd2-3.0.4.tar.gz 66173 BLAKE2B f92a97512f19ac5f71846d3997240e5a37a4fd9bc353e131c582547ddc6e9520d2d09a02b4de62168707ba4a2cbfc28a019cba7e0a113242ecc38ecdc86c19a9 SHA512 7adf0daf64c6132dcd4d347f0772e9cbef903f9f5fba5315b745708dd2179090f53c5303b7ce905c685076861d21f7a14951e598c88eb65be423dea627dbb26a |
22 |
+DIST python-mpd2-3.0.5.tar.gz 67224 BLAKE2B a0c78e3a2624247a7ed4228725dcc09457804636b01b09006bcd61800deefac8887fc9f76b9d7bb21c973e2dd9558e934f3864b2f8f5c041a94633a29f9a781e SHA512 521345b905113eaa56e6ec983e4d968d77dca30f839ab52a00e146f311269828ed383bce460ba1daf61b7f98c63ae3b7a3cbcb55cf917b1c5a5a11cf62b6a7d5 |
23 |
|
24 |
diff --git a/dev-python/python-mpd/python-mpd-3.0.5.ebuild b/dev-python/python-mpd/python-mpd-3.0.5.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..ec1b71bee18d |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-mpd/python-mpd-3.0.5.ebuild |
29 |
@@ -0,0 +1,46 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+MY_P=python-mpd2-${PV} |
40 |
+DESCRIPTION="Python MPD client library" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/Mic92/python-mpd2/ |
43 |
+ https://pypi.org/project/python-mpd2/" |
44 |
+SRC_URI=" |
45 |
+ https://github.com/Mic92/python-mpd2/archive/v${PV}.tar.gz |
46 |
+ -> ${MY_P}.tar.gz" |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+LICENSE="LGPL-3+" |
50 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
51 |
+SLOT="0" |
52 |
+IUSE="examples +twisted" |
53 |
+ |
54 |
+RDEPEND="twisted? ( dev-python/twisted[${PYTHON_USEDEP}] )" |
55 |
+BDEPEND=" |
56 |
+ test? ( |
57 |
+ dev-python/mock[${PYTHON_USEDEP}] |
58 |
+ dev-python/twisted[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+" |
61 |
+ |
62 |
+DOCS=( README.rst doc/{changes.rst,commands_header.txt} doc/topics/. ) |
63 |
+ |
64 |
+distutils_enable_sphinx doc --no-autodoc |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+python_test() { |
68 |
+ epytest mpd/tests.py |
69 |
+} |
70 |
+ |
71 |
+python_install_all() { |
72 |
+ distutils-r1_python_install_all |
73 |
+ |
74 |
+ use examples && dodoc -r examples/. |
75 |
+} |