1 |
commit: deabb4d42a2ea7602e8be566a0aacc48a7df6295 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 15 20:55:41 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 15 21:18:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=deabb4d4 |
7 |
|
8 |
dev-python/python-xlib: Bump to 0.30 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-xlib/Manifest | 1 + |
13 |
dev-python/python-xlib/python-xlib-0.30.ebuild | 39 ++++++++++++++++++++++++++ |
14 |
2 files changed, 40 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest |
17 |
index d3192658fcb..e72da292788 100644 |
18 |
--- a/dev-python/python-xlib/Manifest |
19 |
+++ b/dev-python/python-xlib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-xlib-0.29.tar.bz2 209322 BLAKE2B 4d94d99c8094947ce1acb84f3adc28ab4b6e9d6aaf61317b625e50578ece3800f6462551f8656b194d5635e3e35a5d6fec86d4eb553d7b65684a7f74fdf0dc14 SHA512 6275deb2c1e2068d560c45803e651fef9910b5cb921e043ed8204878a1f885b92122b6af3d4ac33f220231c1933d3150524169d0078f64b74df29a8f617d953a |
22 |
+DIST python-xlib-0.30.tar.bz2 211256 BLAKE2B 979a004f6ff6ac933baa41623b346c8d1fa9944bc771308e3dd527de7ae6aebb8df0c5d269f21e7aca590ad7d3981d0deeb592981b0672c54b30ce286e650236 SHA512 52ee01cce73f024d6fdc995cff38ba9ff2838888aced12186a754c1760228f89209c1d6fc9d4fe0e371a4a43743f8fdfdef6ea32ea3feda5a85055897aaf887d |
23 |
|
24 |
diff --git a/dev-python/python-xlib/python-xlib-0.30.ebuild b/dev-python/python-xlib/python-xlib-0.30.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..d5a5b6ae79a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-xlib/python-xlib-0.30.ebuild |
29 |
@@ -0,0 +1,39 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{7..10} ) |
36 |
+ |
37 |
+inherit distutils-r1 virtualx |
38 |
+ |
39 |
+DESCRIPTION="A fully functional X client library for Python, written in Python" |
40 |
+HOMEPAGE="https://github.com/python-xlib/python-xlib" |
41 |
+SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="LGPL-2+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
46 |
+IUSE="doc" |
47 |
+ |
48 |
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
49 |
+BDEPEND="${RDEPEND} |
50 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
51 |
+ doc? ( sys-apps/texinfo ) |
52 |
+ test? ( dev-python/mock[${PYTHON_USEDEP}] ) |
53 |
+" |
54 |
+ |
55 |
+distutils_enable_tests unittest |
56 |
+ |
57 |
+python_compile_all() { |
58 |
+ use doc && emake -C doc/info |
59 |
+} |
60 |
+ |
61 |
+src_test() { |
62 |
+ virtx distutils-r1_src_test |
63 |
+} |
64 |
+ |
65 |
+python_install_all() { |
66 |
+ use doc && doinfo doc/info/*.info |
67 |
+ distutils-r1_python_install_all |
68 |
+} |