1 |
commit: 31dc3d904817d1871cd1fb37acdcd8b07d346d4d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 2 07:25:21 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 2 07:37:30 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31dc3d90 |
7 |
|
8 |
dev-python/python-xlib: Bump to 0.32 |
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.32.ebuild | 48 ++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest |
17 |
index 61aa765e969b..ab41890b092f 100644 |
18 |
--- a/dev-python/python-xlib/Manifest |
19 |
+++ b/dev-python/python-xlib/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST python-xlib-0.31.tar.bz2 211425 BLAKE2B c0a15b11c264942479c86088d8d5bdc0c759ae71df8939feee200ff58ec30d3b2c0a99a119cc56e5c32279b26517e7925cf9124a367dc7d32fcaf0be4f7cd41e SHA512 f98978cd0058ae18f08f9da71b4ff31cd7811040ec1eb03ce065c187f312259d674dd76aad447752c8f508e585838948c90182eef5d5240e6c06b0a5dd1fbd33 |
22 |
+DIST python-xlib-0.32.tar.bz2 213554 BLAKE2B cf24645529c6ca67a4825419837f312fa4ae0902bd2fb8f2eade7cc1645a3f79201b43c7ddca0cdcf8b21f623583acee1252cbe83d3700ab08979b8f0723b0a4 SHA512 9fecb77fa5d7ffba4c8031c0738147b7581dee9aed1a812254d22d78b6021cfc08743edb76829a3e5ba31f9a42648ea501b50ddcf5652ec3114a367c5e83d465 |
23 |
|
24 |
diff --git a/dev-python/python-xlib/python-xlib-0.32.ebuild b/dev-python/python-xlib/python-xlib-0.32.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..40de7abfe2c4 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/python-xlib/python-xlib-0.32.ebuild |
29 |
@@ -0,0 +1,48 @@ |
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..11} ) |
37 |
+ |
38 |
+inherit distutils-r1 virtualx |
39 |
+ |
40 |
+DESCRIPTION="A fully functional X client library for Python, written in Python" |
41 |
+HOMEPAGE=" |
42 |
+ https://github.com/python-xlib/python-xlib/ |
43 |
+ https://pypi.org/project/python-xlib/ |
44 |
+" |
45 |
+SRC_URI=" |
46 |
+ https://github.com/python-xlib/python-xlib/releases/download/${PV}/${P}.tar.bz2 |
47 |
+" |
48 |
+ |
49 |
+LICENSE="LGPL-2+" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" |
52 |
+IUSE="doc" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-python/six[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+BDEPEND=" |
58 |
+ ${RDEPEND} |
59 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
60 |
+ doc? ( sys-apps/texinfo ) |
61 |
+ test? ( dev-python/mock[${PYTHON_USEDEP}] ) |
62 |
+" |
63 |
+ |
64 |
+distutils_enable_tests unittest |
65 |
+ |
66 |
+python_compile_all() { |
67 |
+ use doc && emake -C doc/info |
68 |
+} |
69 |
+ |
70 |
+src_test() { |
71 |
+ virtx distutils-r1_src_test |
72 |
+} |
73 |
+ |
74 |
+python_install_all() { |
75 |
+ use doc && doinfo doc/info/*.info |
76 |
+ distutils-r1_python_install_all |
77 |
+} |