Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/qtile/
Date: Thu, 30 Jul 2020 12:33:46
Message-Id: 1596112419.dcb7a0067fef4a709c662e69695343e30fe4cecb.zlogene@gentoo
1 commit: dcb7a0067fef4a709c662e69695343e30fe4cecb
2 Author: Vitor Ferrari <ferrarivitor <AT> outlook <DOT> com <DOT> br>
3 AuthorDate: Mon Jul 20 23:41:01 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 30 12:33:39 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcb7a006
7
8 x11-wm/qtile: verbump to 0.16.0
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.23
11 Signed-off-by: Vitor Ferrari <ferrarivitor <AT> outlook.com.br>
12 Closes: https://github.com/gentoo/gentoo/pull/16756
13 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
14
15 x11-wm/qtile/Manifest | 1 +
16 x11-wm/qtile/qtile-0.16.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 64 insertions(+)
18
19 diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest
20 index 276d5a35b88..bd270165d4d 100644
21 --- a/x11-wm/qtile/Manifest
22 +++ b/x11-wm/qtile/Manifest
23 @@ -1,2 +1,3 @@
24 DIST qtile-0.14.2.tar.gz 492274 BLAKE2B b5418424a4cea6844d500ea00b4fa5c4b93d529503a3ece1f651c82cd1c63689d8ba95a706fd97e7d93cf823a6155196d724f18e47f9fe283e4df2586e55b56f SHA512 c6653e8dca24cef4b1cf48c26b2a0feb4bc125a1c966e0a3ea078fd1d1bba9c7306facf620438795aa2d2daecbd6e58bcda954753ab6b27f6c0cbead3766d8c0
25 DIST qtile-0.15.1.tar.gz 522233 BLAKE2B cb5c35ab6b2e22d36c2ef69a3d6367033440a25a1c06dad5c4d455b67aa1ddf2c639451e051abcd40b5a76e93250a54271408bbe09008b44a5ebf0a520b3eb2e SHA512 57dfeeea212346c14b922303b5d2fd950292383a1da3be6bf5ca0880bedaa3adb7ffc121df617cf763fcd1208c44e34a7ba128a1f2a6e8d3042dd6906ece7e20
26 +DIST qtile-0.16.0.tar.gz 543646 BLAKE2B d0d2ae1bf44e08c7a40601fee0643fb387807546ebee5ab6f6756d7651be22fff75034227226fe978042b33594158b5493ca6203ecab92434418219a423a5817 SHA512 c8f712fcf48f166be0782560541d02959809f5c7d6ee209e3bf0b12325309521be79eab81e4f17f5111fb9426601ac5445db0bb3dc8330e9b426fa1031e95065
27
28 diff --git a/x11-wm/qtile/qtile-0.16.0.ebuild b/x11-wm/qtile/qtile-0.16.0.ebuild
29 new file mode 100644
30 index 00000000000..dae1095c624
31 --- /dev/null
32 +++ b/x11-wm/qtile/qtile-0.16.0.ebuild
33 @@ -0,0 +1,63 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=7
38 +PYTHON_COMPAT=( python3_{7,8} )
39 +
40 +inherit distutils-r1 virtualx
41 +
42 +if [[ ${PV} == 9999* ]] ; then
43 + EGIT_REPO_URI="https://github.com/qtile/qtile.git"
44 + inherit git-r3
45 +else
46 + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz"
47 + KEYWORDS="~amd64 ~x86"
48 +fi
49 +
50 +DESCRIPTION="A full-featured, hackable tiling window manager written in Python"
51 +HOMEPAGE="http://qtile.org/"
52 +
53 +LICENSE="MIT"
54 +SLOT="0"
55 +IUSE="test"
56 +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag
57 +
58 +RDEPEND="
59 + x11-libs/cairo[X,xcb(+)]
60 + x11-libs/pango
61 + dev-python/setuptools[${PYTHON_USEDEP}]
62 + >=dev-python/cairocffi-0.9.0[${PYTHON_USEDEP}]
63 + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}]
64 + >=dev-python/six-1.4.1[${PYTHON_USEDEP}]
65 + >=dev-python/xcffib-0.8.1[${PYTHON_USEDEP}]
66 +"
67 +BDEPEND="
68 + test? (
69 + dev-python/pytest[${PYTHON_USEDEP}]
70 + dev-python/xvfbwrapper[${PYTHON_USEDEP}]
71 + x11-base/xorg-server[xephyr]
72 + x11-apps/xeyes
73 + x11-apps/xcalc
74 + x11-apps/xclock
75 + )
76 +"
77 +
78 +# display retry backoff slowness and failures
79 +RESTRICT="test"
80 +
81 +python_test() {
82 + # force usage of built module
83 + rm -rf "${S}"/libqtile || die
84 + PYTHONPATH="${BUILD_DIR}/lib" py.test -v "${S}"/test || die "tests failed under ${EPYTHON}"
85 +}
86 +
87 +python_install_all() {
88 + local DOCS=( CHANGELOG README.rst )
89 + distutils-r1_python_install_all
90 +
91 + insinto /usr/share/xsessions
92 + doins resources/qtile.desktop
93 +
94 + exeinto /etc/X11/Sessions
95 + newexe "${FILESDIR}"/${PN}-session ${PN}
96 +}