diff options
Diffstat (limited to 'x11-wm/qtile')
-rw-r--r-- | x11-wm/qtile/Manifest | 7 | ||||
-rw-r--r-- | x11-wm/qtile/files/qtile-session | 89 | ||||
-rw-r--r-- | x11-wm/qtile/metadata.xml | 11 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.10.0.ebuild | 56 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.10.1.ebuild | 56 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.5-r1.ebuild | 53 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.6.ebuild | 53 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.7.0.ebuild | 58 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.8.0.ebuild | 58 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-0.9.1-r1.ebuild | 56 | ||||
-rw-r--r-- | x11-wm/qtile/qtile-9999.ebuild | 56 |
11 files changed, 553 insertions, 0 deletions
diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest new file mode 100644 index 000000000000..1d8be709b203 --- /dev/null +++ b/x11-wm/qtile/Manifest @@ -0,0 +1,7 @@ +DIST qtile-0.10.0.tar.gz 300186 SHA256 d340b1f6df8d78e1f8868ad22862056ed38267fd2e44538361449e6079412948 SHA512 198d572b27f1e1c7636c7cb0ff5751494c72e919259c67e08eecc0c8c64018d1b64df66840146fada4f128ac69a9fa6b8c39572473ff6c4addee609011b7bc28 WHIRLPOOL 05564ec65d7d96b0dc6085e346f071b7d803017d1c23ce24d1312b036c5c36dbf24308ad634553c8c462695f423d52c30f00d21d572e3609d32ea446bf2489a1 +DIST qtile-0.10.1.tar.gz 300217 SHA256 24fc598ca73d2e95ddf4bc29cbfb638253696dafba0ffaaadb103392d248fe96 SHA512 dec5555107d5b99dea21cf95ba3a79fb1a0c6a7628d26abab5bcedbd1898664b477c4e2fe03885d7d27abd757908878d46ace33ca20e94ba04dba41e742dd52b WHIRLPOOL 455f5bb6bf885e7e403100cae7c839482a6e9236f237ae0d71a52e9064ec15a335462653a6ed8dd9c128606090fc4bfe230e54492efe47f1bc65460e0a781dac +DIST qtile-0.5.tar.gz 317041 SHA256 f80cd73d6655ab53baa6ae11afb9561f724515052e4ba570e6e978abc78c1167 SHA512 2af8a13dcc355b4f556e77a7c78235eb39e9112631750d6680cc1d96c7895ffd3c8ac937ec8b796f4e3f841d39b10aafb930b440addfd8e2fc951e2010e3dc98 WHIRLPOOL d88f70906de570d129aae38ff9ca7a829aa1d9b6d61a179a0cf4ad798d9314c9364a905739168a60b9c37384c13034172920c76cef0981a26df04544e94fe472 +DIST qtile-0.6.tar.gz 257000 SHA256 73508a5ff18579091434131c54aaa3fd4413abe9df4b56962dcbcb6196f1bb36 SHA512 512961f6a47d52d055fe1f7889a5e0c00fe95c55c25f88d1c0d0d3b0253a65579dcbe2cd5c17e04d8a5533e0befc7548c459d64961e2f11f3944803de29e1c25 WHIRLPOOL 5daa3c1464f714c633ac58bb5d56ddcfb8949850475ed155e03eb1ec444c002e4b4f47a3637d2c4e510fea94d69ef1cdc4c8e647bc29dcd62cffb1b95c2326fe +DIST qtile-0.7.0.tar.gz 265068 SHA256 12bb01dd30d65ed44994f17c2a0e2803b34c108108ac2085aa81e3cd8f3264d9 SHA512 facd319a979bf5dd2ec9c336a203dce197678bcaf02df3208e0ff49cd254683242a76c884f1dccda1689a421a680834aa4194f250e93bbfcf048119148730171 WHIRLPOOL 18024c465cce95f703e2d9bf25f4d4a68197f0429a2c0edadf2e34807127b8248ed80408515ff9d254eb026853350e9291c1da719fe5144608f35eb002c3b26c +DIST qtile-0.8.0.tar.gz 275673 SHA256 1d7d27da9277ee91e6d60310065be39823c01c715a475935accdb89d3e8e9e98 SHA512 80574b67f46488e384fd4e21e3217d94de9a6a49394fb108775bf89243600d501f104adb260e84ed42312828b4ae0928bfde9b8737eed07060bfc50fb69778d5 WHIRLPOOL e5af8c2b38d4a77dc1c23ea3c3d78210374e4471e8816d1a457cdb8ec240efba95d649f3e3bb53ba46ee3fc7e57c94cac4409122f828efcd17ed4caa2656f142 +DIST qtile-0.9.1.tar.gz 285933 SHA256 c0ccf38a7e13f2663fe80d546c2a849384ad3698253d633fe33bd99163f9418d SHA512 5453b95ffa02b2f5ba04696bd29a662585bdfe5fa33d68c3b8a654d49279bba3029decf27ac47209630d5ac1dd8fbd21359799d72ce517eda13860ff8eaaa9a4 WHIRLPOOL 9295d9f8b9ab96ee983f32d843ff7d882e4d725f8b8d8846f53a6dbfd8bf17de84d730c7aa0a3a8cefd77af74ec287f63543046e162e898649b136e1f332a06a diff --git a/x11-wm/qtile/files/qtile-session b/x11-wm/qtile/files/qtile-session new file mode 100644 index 000000000000..56a96ddd79ea --- /dev/null +++ b/x11-wm/qtile/files/qtile-session @@ -0,0 +1,89 @@ +#!/bin/sh +# qtile Xsession starter, based on Xsession from x11-apps/xinit + +# redirect errors to a file in user's home directory if we can +for errfile in "$HOME/.qtile-errors" "${TMPDIR-/tmp}/qtile-$USER" "/tmp/qtile-$USER" +do + if ( cp /dev/null "$errfile" 2> /dev/null ) + then + chmod 600 "$errfile" + exec > "$errfile" 2>&1 + break + fi +done + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +userxkbmap=$HOME/.Xkbmap + +sysresources=/etc/X11/Xresources +sysmodmap=/etc/X11/Xmodmap +sysxkbmap=/etc/X11/Xkbmap + +rh6sysresources=/etc/X11/xinit/Xresources +rh6sysmodmap=/etc/X11/xinit/Xmodmap + +# merge in defaults +if [ -f "$rh6sysresources" ]; then + xrdb -merge "$rh6sysresources" +fi + +if [ -f "$sysresources" ]; then + xrdb -merge "$sysresources" +fi + +if [ -f "$userresources" ]; then + xrdb -merge "$userresources" +fi + +# merge in keymaps +if [ -f "$sysxkbmap" ]; then + setxkbmap `cat "$sysxkbmap"` + XKB_IN_USE=yes +fi + +if [ -f "$userxkbmap" ]; then + setxkbmap `cat "$userxkbmap"` + XKB_IN_USE=yes +fi + +# +# Eeek, this seems like too much magic here +# +if [ -z "$XKB_IN_USE" -a ! -L /etc/X11/X ]; then + if grep '^exec.*/Xsun' /etc/X11/X > /dev/null 2>&1 && [ -f /etc/X11/XF86Config ]; then + xkbsymbols=`sed -n -e 's/^[ ]*XkbSymbols[ ]*"\(.*\)".*$/\1/p' /etc/X11/XF86Config /etc/X11/xorg.conf` + if [ -n "$xkbsymbols" ]; then + setxkbmap -symbols "$xkbsymbols" + XKB_IN_USE=yes + fi + fi +fi + +# xkb and xmodmap don't play nice together +if [ -z "$XKB_IN_USE" ]; then + if [ -f "$rh6sysmodmap" ]; then + xmodmap "$rh6sysmodmap" + fi + + if [ -f "$sysmodmap" ]; then + xmodmap "$sysmodmap" + fi + + if [ -f "$usermodmap" ]; then + xmodmap "$usermodmap" + fi +fi + +unset XKB_IN_USE + +# run all system xinitrc shell scripts. +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for i in /etc/X11/xinit/xinitrc.d/* ; do + if [ -x "$i" ]; then + . "$i" + fi + done +fi + +exec /usr/bin/qtile diff --git a/x11-wm/qtile/metadata.xml b/x11-wm/qtile/metadata.xml new file mode 100644 index 000000000000..8315743304c3 --- /dev/null +++ b/x11-wm/qtile/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> + <upstream> + <remote-id type="github">qtile/qtile</remote-id> + </upstream> +</pkgmetadata> diff --git a/x11-wm/qtile/qtile-0.10.0.ebuild b/x11-wm/qtile/qtile-0.10.0.ebuild new file mode 100644 index 000000000000..b59d1b106ae2 --- /dev/null +++ b/x11-wm/qtile/qtile-0.10.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4} ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag + +RDEPEND="x11-libs/pango + >=dev-python/cairocffi-0.7[${PYTHON_USEDEP}] + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + ) +" + +RESTRICT="test" + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-0.10.1.ebuild b/x11-wm/qtile/qtile-0.10.1.ebuild new file mode 100644 index 000000000000..b59d1b106ae2 --- /dev/null +++ b/x11-wm/qtile/qtile-0.10.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4} ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag + +RDEPEND="x11-libs/pango + >=dev-python/cairocffi-0.7[${PYTHON_USEDEP}] + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + ) +" + +RESTRICT="test" + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-0.5-r1.ebuild b/x11-wm/qtile/qtile-0.5-r1.ebuild new file mode 100644 index 000000000000..7db2d3cd7963 --- /dev/null +++ b/x11-wm/qtile/qtile-0.5-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 vcs-snapshot virtualx + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" +SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=">=dev-python/pycairo-1.10.0-r4[xcb,${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + >=x11-libs/xpyb-1.3.1-r1[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + )" + +# tests fail due to xauth errors from python-xlib +RESTRICT="test" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst TODO.rst ) + distutils-r1_python_install_all + + use doc && dohtml -r docs/_build/html/* + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-0.6.ebuild b/x11-wm/qtile/qtile-0.6.ebuild new file mode 100644 index 000000000000..199463e01936 --- /dev/null +++ b/x11-wm/qtile/qtile-0.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 virtualx + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" +SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=">=dev-python/pycairo-1.10.0-r4[xcb,${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + >=x11-libs/xpyb-1.3.1-r1[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + )" + +# tests fail due to xauth errors from python-xlib +RESTRICT="test" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + use doc && dohtml -r docs/_build/html/* + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-0.7.0.ebuild b/x11-wm/qtile/qtile-0.7.0.ebuild new file mode 100644 index 000000000000..1c538a26eaf7 --- /dev/null +++ b/x11-wm/qtile/qtile-0.7.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="git://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" + +RDEPEND=">=dev-python/pycairo-1.10.0-r4[xcb,${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + >=x11-libs/xpyb-1.3.1-r1[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + )" + +# tests fail due to xauth errors from python-xlib +RESTRICT="test" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-0.8.0.ebuild b/x11-wm/qtile/qtile-0.8.0.ebuild new file mode 100644 index 000000000000..1c538a26eaf7 --- /dev/null +++ b/x11-wm/qtile/qtile-0.8.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="git://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="doc test" + +RDEPEND=">=dev-python/pycairo-1.10.0-r4[xcb,${PYTHON_USEDEP}] + dev-python/pygtk:2[${PYTHON_USEDEP}] + >=x11-libs/xpyb-1.3.1-r1[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + ${RDEPEND} + dev-python/nose[${PYTHON_USEDEP}] + dev-python/python-xlib[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + )" + +# tests fail due to xauth errors from python-xlib +RESTRICT="test" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-0.9.1-r1.ebuild b/x11-wm/qtile/qtile-0.9.1-r1.ebuild new file mode 100644 index 000000000000..fd21c24c9f46 --- /dev/null +++ b/x11-wm/qtile/qtile-0.9.1-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4} ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag + +RDEPEND="x11-libs/pango + >=dev-python/cairocffi-0.6[${PYTHON_USEDEP}] + >=dev-python/cffi-0.8.2[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + >=dev-python/xcffib-0.1.11[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + ) +" + +RESTRICT="test" + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} diff --git a/x11-wm/qtile/qtile-9999.ebuild b/x11-wm/qtile/qtile-9999.ebuild new file mode 100644 index 000000000000..b59d1b106ae2 --- /dev/null +++ b/x11-wm/qtile/qtile-9999.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_4} ) + +inherit distutils-r1 virtualx + +if [[ ${PV} == 9999* ]] ; then + EGIT_REPO_URI="https://github.com/qtile/qtile.git" + inherit git-r3 +else + SRC_URI="https://github.com/qtile/qtile/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A full-featured, hackable tiling window manager written in Python" +HOMEPAGE="http://qtile.org/" + +LICENSE="MIT" +SLOT="0" +IUSE="test" +# docs require sphinxcontrib-blockdiag and sphinxcontrib-seqdiag + +RDEPEND="x11-libs/pango + >=dev-python/cairocffi-0.7[${PYTHON_USEDEP}] + >=dev-python/cffi-1.1.0[${PYTHON_USEDEP}] + >=dev-python/six-1.4.1[${PYTHON_USEDEP}] + >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + x11-base/xorg-server[kdrive] + ) +" + +RESTRICT="test" + +python_test() { + VIRTUALX_COMMAND="nosetests" virtualmake +} + +python_install_all() { + local DOCS=( CHANGELOG README.rst ) + distutils-r1_python_install_all + + insinto /usr/share/xsessions + doins resources/qtile.desktop + + exeinto /etc/X11/Sessions + newexe "${FILESDIR}"/${PN}-session ${PN} +} |