Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-xlib/
Date: Fri, 02 Jul 2021 21:02:13
Message-Id: 1625259694.20ee457bdfc0f2d14a03e0c7ee272a1480f79009.mgorny@gentoo
1 commit: 20ee457bdfc0f2d14a03e0c7ee272a1480f79009
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 2 20:15:22 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 2 21:01:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20ee457b
7
8 dev-python/python-xlib: Bump to 0.31
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.31.ebuild | 38 ++++++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/python-xlib/Manifest b/dev-python/python-xlib/Manifest
17 index 223f83a2653..59b8a6f2b50 100644
18 --- a/dev-python/python-xlib/Manifest
19 +++ b/dev-python/python-xlib/Manifest
20 @@ -1 +1,2 @@
21 DIST python-xlib-0.30.tar.bz2 211256 BLAKE2B 979a004f6ff6ac933baa41623b346c8d1fa9944bc771308e3dd527de7ae6aebb8df0c5d269f21e7aca590ad7d3981d0deeb592981b0672c54b30ce286e650236 SHA512 52ee01cce73f024d6fdc995cff38ba9ff2838888aced12186a754c1760228f89209c1d6fc9d4fe0e371a4a43743f8fdfdef6ea32ea3feda5a85055897aaf887d
22 +DIST python-xlib-0.31.tar.bz2 211425 BLAKE2B c0a15b11c264942479c86088d8d5bdc0c759ae71df8939feee200ff58ec30d3b2c0a99a119cc56e5c32279b26517e7925cf9124a367dc7d32fcaf0be4f7cd41e SHA512 f98978cd0058ae18f08f9da71b4ff31cd7811040ec1eb03ce065c187f312259d674dd76aad447752c8f508e585838948c90182eef5d5240e6c06b0a5dd1fbd33
23
24 diff --git a/dev-python/python-xlib/python-xlib-0.31.ebuild b/dev-python/python-xlib/python-xlib-0.31.ebuild
25 new file mode 100644
26 index 00000000000..3a429851f29
27 --- /dev/null
28 +++ b/dev-python/python-xlib/python-xlib-0.31.ebuild
29 @@ -0,0 +1,38 @@
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_{8..10} )
36 +inherit distutils-r1 virtualx
37 +
38 +DESCRIPTION="A fully functional X client library for Python, written in Python"
39 +HOMEPAGE="https://github.com/python-xlib/python-xlib"
40 +SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.bz2"
41 +
42 +LICENSE="LGPL-2+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
45 +IUSE="doc"
46 +
47 +RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
48 +BDEPEND="${RDEPEND}
49 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
50 + doc? ( sys-apps/texinfo )
51 + test? ( dev-python/mock[${PYTHON_USEDEP}] )
52 +"
53 +
54 +distutils_enable_tests unittest
55 +
56 +python_compile_all() {
57 + use doc && emake -C doc/info
58 +}
59 +
60 +src_test() {
61 + virtx distutils-r1_src_test
62 +}
63 +
64 +python_install_all() {
65 + use doc && doinfo doc/info/*.info
66 + distutils-r1_python_install_all
67 +}