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