From 265dbe5dbc14c199299496c6db8fce3f76647015 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 21 Sep 2018 18:00:10 +0100 Subject: gentoo resync : 21.09.2018 --- x11-wm/Manifest.gz | Bin 9448 -> 9451 bytes x11-wm/enlightenment/Manifest | 8 +- .../enlightenment/enlightenment-0.21.11-r1.ebuild | 139 -------------------- x11-wm/enlightenment/enlightenment-0.21.7.ebuild | 140 --------------------- x11-wm/enlightenment/enlightenment-0.22.4.ebuild | 101 +++++++++++++++ x11-wm/enlightenment/metadata.xml | 3 +- x11-wm/qtile/Manifest | 7 +- x11-wm/qtile/files/qtile-0.12.0-tests.patch | 15 +++ x11-wm/qtile/qtile-0.10.5.ebuild | 55 -------- x11-wm/qtile/qtile-0.12.0.ebuild | 67 ++++++++++ x11-wm/qtile/qtile-9999.ebuild | 18 ++- 11 files changed, 205 insertions(+), 348 deletions(-) delete mode 100644 x11-wm/enlightenment/enlightenment-0.21.11-r1.ebuild delete mode 100644 x11-wm/enlightenment/enlightenment-0.21.7.ebuild create mode 100644 x11-wm/enlightenment/enlightenment-0.22.4.ebuild create mode 100644 x11-wm/qtile/files/qtile-0.12.0-tests.patch delete mode 100644 x11-wm/qtile/qtile-0.10.5.ebuild create mode 100644 x11-wm/qtile/qtile-0.12.0.ebuild (limited to 'x11-wm') diff --git a/x11-wm/Manifest.gz b/x11-wm/Manifest.gz index 3d7fd42be8bc..d6a4316e082b 100644 Binary files a/x11-wm/Manifest.gz and b/x11-wm/Manifest.gz differ diff --git a/x11-wm/enlightenment/Manifest b/x11-wm/enlightenment/Manifest index 618cdef6ecca..9e4086e1edf5 100644 --- a/x11-wm/enlightenment/Manifest +++ b/x11-wm/enlightenment/Manifest @@ -1,10 +1,8 @@ AUX enlightenment-0.21.11-quickstart.diff 478 BLAKE2B 5352107aad73aff99689cea903f0b7075bbf92623907e573f0be65a00e28654e0ba8f4e00557c01a163df97e96911c0a8cdaf6f2cf4623bc73ac66dce60a6458 SHA512 ca90e65aa3d4b6baa328c9fa6d3e912573ac049ec38cd0074ba7dc64efcde8ff51bf428534bc48d53834bdd49f42739272c68e685c908b0786ac3aaf1cb64c27 AUX gentoo-sysactions.conf 3056 BLAKE2B 155b0826c544a5a4829214b4b43d49e2dad455d041f0afc7077dc44780d12bd1a99a1bc94bb5a4a9ba21f59f679e1d4c82609791ee5a5e9828543b1e9154fae5 SHA512 688f02cbff0d50a847eb08ca7832699b836adca9b22e15a780943a8e5a8213aac04b335cfdf3cb96adbff238f681ae8954a720153e8e35b2afaba3225d53206a AUX quickstart.diff 474 BLAKE2B b5b46ccf535f08e1a7d8be64f2d548148efc24c5c9af31a1f0bfd67a94948eb535265d9b13d8fb65047ec9f22d924d16268bb2fa8ac03855e5513b0c60f771db SHA512 b8df654dd1246ea6391017fe9856e38d209b250625f8343aa4943a4eeed980447eb52c6a15fe170bcab90b76e5670ee9c7f98358bb87990877e312cc4cea8f6c -DIST enlightenment-0.21.11.tar.xz 25313532 BLAKE2B 3128137fe81a5b3dccc909eee8aac6845648c088b4cc8de9965408445579ed6aa01bdd879b726d21449c674f07a78386348525d61c0c0d786493d638ec4ae2b4 SHA512 3dee0f7a49fff992a81ce82a730cf8f0cec52a9805dcdd643a35a0bb8c7a27c6af82c136219553684c24c8e2ee2e8623f04858fddab56cdff7477ed2c9cc0ddf -DIST enlightenment-0.21.7.tar.xz 25307500 BLAKE2B 54b0bb7f76390d46f7eec40aecafb1b8769ba659acaffe8ade61ef9cd6fcb28d843bc185a3cc6c478fa30f917946d331569a394132c3351215a3d1d051d7d2ac SHA512 9d10116990f83b6a2f066b81fab08a9b49779df22d92b5823bf579d786a3f4602094cf8c4d08b3e23a1cfc0cd7032004b2e389e234a189fb2479d23287bf1277 DIST enlightenment-0.22.3.tar.xz 25648576 BLAKE2B 1abb1fab18c5932b65f1183875bbe0955ce1d608758af0855c550f5581c774bd19dd0b6c8dd8c724b668ff843e1ed4928531f30b60436d9182a07a65fa2af9e3 SHA512 01a9386ee009c76c46cee7176cdeb7f4e97977bdd5014caa51cceeff228ad72f97a362d1eff7e0240e3e2df8b24a6c9d1516c8ab05bd82d288abcfde0d171abd -EBUILD enlightenment-0.21.11-r1.ebuild 2930 BLAKE2B 3230cd10fd2342364ad35ee833d51a45a64d84a62cee346669ff7741c6d14529219f0697032bd233071948e856b304ec2fb4da8f181e1ef41a604a378a19fe17 SHA512 a133ac546fb644547802ca025734861174b13ad20c2105f0b0b5f20d6e5e0aa41bfcf33d91a10ac6c7ce74f3699aa28937d975b99eebed474410f489e3f0b8a3 -EBUILD enlightenment-0.21.7.ebuild 3549 BLAKE2B fc55bb1649adbbc9392b9191127935ddc296ec74713190568454815ab38dd5b251176047ca485455757f70bffaa85be93871229c01ea2d54ef8a675ed6ebd092 SHA512 e5aa1003f2fc30c907d856a2b691686d260acf6c4e3fc3406542e46b197042c338866d23ff8241a02fa80341349b732387985427637c6866d6a5013b937df305 +DIST enlightenment-0.22.4.tar.xz 25656972 BLAKE2B 5e24e226e5f9295d27658656aefaf39cc80ad3634ba1937ef1a3c8e1adeba8cf3cbab2c43cb9e80ac298107a7a64e248ff252084b19c26a974ffff9eb9e6c3fa SHA512 9f4366bfed4d65e7baaeffd4f5b8ba6febf6f9888e6156dd3e100c9fca42c377f76f156f3dd1f6ab97745ffcb69e1e8d320937e41333797580624a9b74d298ba EBUILD enlightenment-0.22.3.ebuild 2761 BLAKE2B afd66034af88b166bec62657b0d5d058697178fb42f94184f6bf099526d1755ba317fd96142a9ddd7590bcc65548b30fa06e1db75828fee67583e6bfcb270612 SHA512 5a32871dfa8c5671efc1870249411ca1ecd3b61737cdf11b7f662006293456083ea95223ea2e8b5033952fa1d96494ca437f1a24c34fcfc6c8d99cc400ab275f -MISC metadata.xml 859 BLAKE2B 265af2c39eeabf8258dee417bb364125df91585b97219914f56f9d1214866de51ae0aba91d75183d33960a5ca62f8c124374279fc0e27ee2a6bee6eb9f1f6b47 SHA512 c1c22af63670478cc4cb8e24c544bce45b2fef0314be7d9c5ee6b16d5ca3e2fd447ce0a26d68d860f1ad0384829fa5e28b716180fec3e92848ab84330711b211 +EBUILD enlightenment-0.22.4.ebuild 2193 BLAKE2B fee6fa3c14c0154ba0d225e99f869973e8e7a61cc58f47bb7793e14793db5913eec30f5132d6a4183b24085b9dbe11dc60a72e7367abcf5a52b93e240ca3ca2b SHA512 5fa019773dd99989c519a374f050499e52ce2b54e4270b1b2fd693dbb051eb314df6ca8d0acc79c50c5e48ba48f4fd581979a90fd79c3b9742f1b5b92c2dafa6 +MISC metadata.xml 823 BLAKE2B b52bcbb857584b986c8b371cbc8d743cbb6510817c93bce44b46bd42025a35b7d3f98ce3e409b37f2f2da32228e8daa6baa7a8408b4a223d735113a857197351 SHA512 8a31834065385bed8e7e5ce79dbdd53e8f3a321cfd0c386bf30c4951d2212c6aaac8712f643f442ce566ad22726d157964919c570fc4b897230039558c56b1b2 diff --git a/x11-wm/enlightenment/enlightenment-0.21.11-r1.ebuild b/x11-wm/enlightenment/enlightenment-0.21.11-r1.ebuild deleted file mode 100644 index 69a4add8967f..000000000000 --- a/x11-wm/enlightenment/enlightenment-0.21.11-r1.ebuild +++ /dev/null @@ -1,139 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit xdg-utils - -DESCRIPTION="Enlightenment window manager" -HOMEPAGE="https://www.enlightenment.org/" -SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz" - -LICENSE="BSD-2" -SLOT="0.17/${PV%%_*}" -KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" - -E_CONF_MODS=( - applications bindings dialogs display - interaction intl menus paths - performance randr shelves theme - window-manipulation window-remembers -) - -E_NORM_MODS=( - appmenu backlight battery bluez4 - clock conf cpufreq everything - fileman fileman-opinfo gadman geolocation - ibar ibox lokker mixer - msgbus music-control notification packagekit - pager pager-plain quickaccess shot - start syscon systray tasks - teamwork temperature tiling time - winlist wireless wizard wl-desktop-shell - wl-drm wl-text-input wl-weekeyboard wl-wl - wl-x11 xkbswitch xwayland -) - -IUSE_E_MODULES=( - ${E_CONF_MODS[@]/#/enlightenment_modules_conf-} - ${E_NORM_MODS[@]/#/enlightenment_modules_} -) - -IUSE="acpi connman doc egl nls pam static-libs systemd udisks wayland ${IUSE_E_MODULES[@]/#/+}" - -RDEPEND=" - >=dev-libs/efl-1.20.0[eet,X] - virtual/udev - x11-libs/libXext - x11-libs/libxcb - x11-libs/xcb-util-keysyms - x11-misc/xkeyboard-config - acpi? ( sys-power/acpid ) - connman? ( net-misc/connman ) - egl? ( =dev-libs/efl-1.20*[egl,wayland] ) - pam? ( sys-libs/pam ) - systemd? ( sys-apps/systemd ) - udisks? ( sys-fs/udisks:2 ) - wayland? ( - =dev-libs/efl-1.20*[drm,wayland] - >=dev-libs/wayland-1.11.0 - x11-libs/libxkbcommon - x11-libs/pixman - ) -" -DEPEND=" - ${RDEPEND} - sys-devel/automake:1.15 - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" - -src_prepare() { - default - - eapply "${FILESDIR}"/"${P}"-quickstart.diff - - xdg_environment_reset - - sed -i 's/Categories=Audio/Categories=AudioVideo/g' src/modules/mixer/emixer.desktop || die -} - -src_configure() { - local myconf=( - --disable-install-sysactions - --disable-policy-mobile - --enable-device-udev - $(use_enable connman) - $(use_enable egl wayland-egl) - $(use_enable nls) - $(use_enable pam) - $(use_enable static-libs static) - $(use_enable systemd) - $(use_enable udisks mount-udisks) - $(use_enable wayland) - ) - - local u c - for u in ${IUSE_E_MODULES[@]} ; do - c=${u#enlightenment_modules_} - - case ${c} in - wl-*|xwayland) - if ! use wayland ; then - myconf+=( --disable-${c} ) - continue - fi - - ;; - esac - - myconf+=( $(use_enable ${u} ${c}) ) - - done - - econf "${myconf[@]}" -} - -src_install() { - insinto /etc/enlightenment - newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf - - if use doc ; then - local HTML_DOCS=( doc/. ) - fi - - einstalldocs - V=1 emake install DESTDIR="${D}" || die - - find "${D}" -name '*.la' -delete || die -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/x11-wm/enlightenment/enlightenment-0.21.7.ebuild b/x11-wm/enlightenment/enlightenment-0.21.7.ebuild deleted file mode 100644 index 6b17730274f5..000000000000 --- a/x11-wm/enlightenment/enlightenment-0.21.7.ebuild +++ /dev/null @@ -1,140 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -MY_P=${P/_/-} - -if [[ ${PV} == *9999 ]] ; then - EGIT_SUB_PROJECT="core" - EGIT_URI_APPEND="${PN}" -else - SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${MY_P}.tar.xz" - KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" -fi - -inherit enlightenment xdg-utils - -DESCRIPTION="Enlightenment DR17 window manager" - -LICENSE="BSD-2" -SLOT="0.17/${PV%%_*}" - -__CONF_MODS=( - applications bindings dialogs display - interaction intl menus - paths performance randr shelves theme - window-manipulation window-remembers -) -__NORM_MODS=( - appmenu backlight bluez4 battery - clock conf connman cpufreq everything - fileman fileman-opinfo gadman geolocation - ibar ibox lokker - mixer msgbus music-control notification - pager packagekit pager-plain quickaccess - shot start syscon systray tasks teamwork temperature tiling time - winlist wireless wizard wl-desktop-shell wl-drm wl-text-input - wl-weekeyboard wl-wl wl-x11 xkbswitch xwayland -) -IUSE_E_MODULES=( - ${__CONF_MODS[@]/#/enlightenment_modules_conf-} - ${__NORM_MODS[@]/#/enlightenment_modules_} -) - -IUSE="pam spell static-libs systemd ukit wayland ${IUSE_E_MODULES[@]/#/+}" - -RDEPEND=" - pam? ( sys-libs/pam ) - systemd? ( sys-apps/systemd ) - wayland? ( - dev-libs/efl[wayland] - >=dev-libs/wayland-1.10.0 - >=x11-libs/pixman-0.31.1 - >=x11-libs/libxkbcommon-0.3.1 - ) - >=dev-libs/efl-1.18[X] - x11-libs/xcb-util-keysyms" -DEPEND=" - ${RDEPEND} - sys-devel/automake:1.15 -" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${FILESDIR}"/quickstart.diff - enlightenment_src_prepare -} - -# Sanity check to make sure module lists are kept up-to-date. -check_modules() { - local detected=$( - awk -F'[\\[\\](, ]' '$1 == "AC_E_OPTIONAL_MODULE" { print $3 }' \ - configure.ac | sed 's:_:-:g' | LC_COLLATE=C sort - ) - local sorted=$( - printf '%s\n' ${IUSE_E_MODULES[@]/#enlightenment_modules_} | \ - LC_COLLATE=C sort - ) - if [[ ${detected} != "${sorted}" ]] ; then - local out new old - eerror "The ebuild needs to be kept in sync." - echo "${sorted}" > ebuild-iuse - echo "${detected}" > configure-detected - out=$(diff -U 0 ebuild-iuse configure-detected | sed -e '1,2d' -e '/^@@/d') - new=$(echo "${out}" | sed -n '/^+/{s:^+::;p}') - old=$(echo "${out}" | sed -n '/^-/{s:^-::;p}') - eerror "Add these modules: $(echo ${new})" - eerror "Drop these modules: $(echo ${old})" - die "please update the ebuild" - fi -} - -src_configure() { - # sanity check fails after commit e25cf18ca19463a7d05519aa843cc76a189ab75c - # see #648896. Can be restored with future release - # check_modules - - E_ECONF=( - --disable-install-sysactions - $(use_enable doc) - $(use_enable nls) - $(use_enable pam) - $(use_enable systemd) - --enable-device-udev - $(use_enable ukit mount-udisks) - $(use_enable wayland) - ) - local u c - for u in ${IUSE_E_MODULES[@]} ; do - c=${u#enlightenment_modules_} - # Disable modules by hand since we default to enabling them all. - case ${c} in - wl-*|xwayland) - if ! use wayland ; then - E_ECONF+=( --disable-${c} ) - continue - fi - ;; - esac - E_ECONF+=( $(use_enable ${u} ${c}) ) - done - enlightenment_src_configure -} - -src_install() { - enlightenment_src_install - insinto /etc/enlightenment - newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/x11-wm/enlightenment/enlightenment-0.22.4.ebuild b/x11-wm/enlightenment/enlightenment-0.22.4.ebuild new file mode 100644 index 000000000000..677da510e547 --- /dev/null +++ b/x11-wm/enlightenment/enlightenment-0.22.4.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit meson xdg-utils + +DESCRIPTION="Enlightenment window manager" +HOMEPAGE="https://www.enlightenment.org" +SRC_URI="https://download.enlightenment.org/rel/apps/${PN}/${P}.tar.xz" + +LICENSE="BSD-2" +SLOT="0.17/${PV%%_*}" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="acpi bluetooth connman doc geolocation nls packagekit pam systemd udisks wayland wifi" + +RDEPEND=" + >=dev-libs/efl-1.20.5[eet,X] + virtual/udev + x11-libs/libXext + x11-libs/libxcb + x11-libs/xcb-util-keysyms + x11-misc/xkeyboard-config + acpi? ( sys-power/acpid ) + bluetooth? ( net-wireless/bluez ) + connman? ( dev-libs/efl[connman] ) + geolocation? ( app-misc/geoclue:2.0 ) + packagekit? ( app-admin/packagekit-base ) + pam? ( sys-libs/pam ) + systemd? ( sys-apps/systemd ) + udisks? ( sys-fs/udisks:2 ) + wayland? ( + >=dev-libs/efl-1.21.0[drm,wayland] + dev-libs/wayland + x11-libs/libxkbcommon + x11-libs/pixman + ) +" +BDEPEND=" + virtual/pkgconfig + nls? ( sys-devel/gettext ) +" +DEPEND="${RDEPEND}" + +src_prepare() { + default + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -D device-udev=true + -D install-sysactions=false + -D mount-udisks=$(usex udisks true false) + -D bluez4=$(usex bluetooth true false) + -D connman=$(usex connman true false) + -D geolocation=$(usex geolocation true false) + -D nls=$(usex nls true false) + -D packagekit=$(usex packagekit true false) + -D pam=$(usex pam true false) + -D systemd=$(usex systemd true false) + -D wayland=$(usex wayland true false) + -D wireless=$(usex wifi true false) + ) + + if ! use wayland; then + emesonargs+=( + -D wl-buffer=false + -D wl-desktop-shell=false + -D wl-drm=false + -D wl-text-input=false + -D wl-weekeyboard=false + -D wl-wl=false + -D wl-x11=false + -D xwayland=false + ) + fi + + meson_src_configure +} + +src_install() { + insinto /etc/enlightenment + newins "${FILESDIR}"/gentoo-sysactions.conf sysactions.conf + + if use doc; then + local HTML_DOCS=( doc/. ) + fi + + meson_src_install +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/x11-wm/enlightenment/metadata.xml b/x11-wm/enlightenment/metadata.xml index 4b927b67c714..f29f0f98962f 100644 --- a/x11-wm/enlightenment/metadata.xml +++ b/x11-wm/enlightenment/metadata.xml @@ -9,8 +9,7 @@ Proxy Maintainers - Enable EGL rendering - Use upower/udisks to automount devices + Enable module for package manager integration Enlightenment is classed as a "desktop shell" as it provides everything you need to diff --git a/x11-wm/qtile/Manifest b/x11-wm/qtile/Manifest index 4735399e6beb..302b2120b585 100644 --- a/x11-wm/qtile/Manifest +++ b/x11-wm/qtile/Manifest @@ -1,7 +1,8 @@ +AUX qtile-0.12.0-tests.patch 415 BLAKE2B f0701a380584a7e31b5141a8307a163ac8c54060279e9d994c9ee42b0454c376bd6350fa76e4d7eac5bd01623875f85f5d6b3fe9e4e6ad0dc872a70f7f9e0e23 SHA512 a3cef5aa6680baaef6ea22207efbe0b58ca3dddb7f713443422eac58893d33f5900a178bc2331073e3d5b6c408ddac0e087253f3a29f8f65c822747c4f080b84 AUX qtile-session 1854 BLAKE2B 260c39642f805f9b94e59ab25d9e8d6e53abcb9fbed76f33434fdd2ccd65dc24c71b7ea654ced6393404656f2f26d96dc45a2b7e580190da408a396e76af2897 SHA512 4d7418316f6baeaa28b254f341c74641004bd58444c425f626c92e44bff046ec108d128a9e91c10daae75b222c5758e8f0e8a5e3b778b2af36409f4d4b778cbe -DIST qtile-0.10.5.tar.gz 325311 BLAKE2B fadf8c232d6f3840f93d61d4c8c6a2dddc61483e316b02f7a60058eac0e5da9f3b2eab99e952b7db30e29036d2db0283e07926ec054322994ebaf16a7a223906 SHA512 00fbeaa17921eb2d4014c979bcd1f81f22e155606b13340f4653c262d7fde3b1f471a7f20e9a80b58435bdc1e5479c983a72e4be180b49df2ef4a5fe568b8631 DIST qtile-0.10.6.tar.gz 328892 BLAKE2B 3a4887808b87b0cbe4410d2bac8af4664873d2aa9b8c782f8c026ae78ba586b6e02d9a50ee42434afa916e9fe9041a7a15a68f9026ee7d95a0edec2594515cfa SHA512 39eef26358e1220ca766b030733396206df68677e3f23d6847d375f479952a4e2d47e0c3e59fab2e5046e899bad91d107a913bb25458fb66859dec3fa8c0e956 -EBUILD qtile-0.10.5.ebuild 1331 BLAKE2B acc0220751c8cd8f38140eb3a228fe40154e28c09e776c9e9d0d69e3e74e8fe4e108b12d371a344b000d3042bc1172d995d9306e43d589eb75400fa6c5c762eb SHA512 a515550e2b03034a774df7dee0863cdaa357c204871fc17e0ff2f154099f44855ca80c815b9f3289ef244c5a091905833eafb8874b71964585b46ac6976a2a69 +DIST qtile-0.12.0.tar.gz 447139 BLAKE2B c1bea9ba8b36ccf14b7e55b4a2cbc05714ecffef33d992e9bf1683e6f8c416d481cf9d141bbf0fe62df65aeb3555290647d072dd45f507b08e0d523f992a1671 SHA512 a94237c40775524e16aebdd8555d0ed0623c248b65aee32851145e8a6cc54ce4d46ee5cf4c4f583e468de4557a565c4281660219e4b2ee1b73fb483567e1a5b2 EBUILD qtile-0.10.6.ebuild 1354 BLAKE2B 1dc08d6e4baa03f5c2416eba26fe5d398cd77e6d3db0feeabbb49fae7d700e1f280e085b8ef20c5d03878bf6974a48c837464b5e52554d11f11fc1520790858d SHA512 5949738009c1fc7f7baa658d314c2cf17b43d1e4338df0772ae2c8d6d8b687a7f7b434029222eb2c675f8b32d35693521115d585d4bf146484d6f5cec7880e53 -EBUILD qtile-9999.ebuild 1358 BLAKE2B 4a1933b0328da46c6b4a6e5a18bb470205ce8849049bb9a426238d7c24da1bbf677a55cae585bd6e04d8fdf205caab3468005872e302185a9662b6bc3920b727 SHA512 500bf414810648944fac5800fc882b045e63274a1b425609cae230986d0f172803d765c4f57beb44ce403dd9a2011a38e62c71bed5ce0007ef11a68c1fc2e963 +EBUILD qtile-0.12.0.ebuild 1709 BLAKE2B 8d0b2f784803827d007513195b012dd30176fd7e7fc4c4ad544c0672233ca0e88acf6e16b03334c053ca425c3a629f602d25f619039934998a312f2ef64f7246 SHA512 f80dd9f4a4a7cf30965c5810039ad7deb31498aa6cda14e87ca2a6089b4eca369ac7bbaa13a72fd74cf9e0a50159e02ed76d616fb8703f44459c6c13e63f6b00 +EBUILD qtile-9999.ebuild 1709 BLAKE2B 8d0b2f784803827d007513195b012dd30176fd7e7fc4c4ad544c0672233ca0e88acf6e16b03334c053ca425c3a629f602d25f619039934998a312f2ef64f7246 SHA512 f80dd9f4a4a7cf30965c5810039ad7deb31498aa6cda14e87ca2a6089b4eca369ac7bbaa13a72fd74cf9e0a50159e02ed76d616fb8703f44459c6c13e63f6b00 MISC metadata.xml 322 BLAKE2B bdbe4a68aa5f64ac0c4a045653920863b757b661b1966cbedead7b9bc48f0436cf96e30d5e615b265daa57e21b92959f4b38a8bc16c1123c2c2af6709ff981ab SHA512 2722b020cfc1260e907fccc5055ea5556435bd603fe362fbe0ceb0b3074ee20baf6ecc04d2afd6bd9c7b949d0ce0cc06f5c9234f77963374916924d6d7249564 diff --git a/x11-wm/qtile/files/qtile-0.12.0-tests.patch b/x11-wm/qtile/files/qtile-0.12.0-tests.patch new file mode 100644 index 000000000000..8443381b1766 --- /dev/null +++ b/x11-wm/qtile/files/qtile-0.12.0-tests.patch @@ -0,0 +1,15 @@ +The '~' character doesn't expand to $HOME in all build envs. + +--- qtile-0.12.0/test/test_bar.py ++++ qtile-0.12.0/test/test_bar.py +@@ -105,8 +105,8 @@ + assert c.complete("/bi") == "/bin/" + c.reset() + assert c.complete("/bin") != "/bin/" +- c.reset() +- assert c.complete("~") != "~" ++ #c.reset() ++ #assert c.complete("~") != "~" + + c.reset() + s = "thisisatotallynonexistantpathforsure" diff --git a/x11-wm/qtile/qtile-0.10.5.ebuild b/x11-wm/qtile/qtile-0.10.5.ebuild deleted file mode 100644 index b0eaff58e983..000000000000 --- a/x11-wm/qtile/qtile-0.10.5.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -PYTHON_COMPAT=( python{2_7,3_4,3_5} ) - -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/setuptools[${PYTHON_USEDEP}] - >=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} - 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.12.0.ebuild b/x11-wm/qtile/qtile-0.12.0.ebuild new file mode 100644 index 000000000000..5ba9a0932049 --- /dev/null +++ b/x11-wm/qtile/qtile-0.12.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +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/cairo[xcb] + x11-libs/pango + dev-python/setuptools[${PYTHON_USEDEP}] + >=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.5.0[${PYTHON_USEDEP}] + $(python_gen_cond_dep 'dev-python/trollius[${PYTHON_USEDEP}]' 'python2*') +" +DEPEND="${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/xvfbwrapper[${PYTHON_USEDEP}] + x11-base/xorg-server[xephyr] + x11-apps/xeyes + x11-apps/xcalc + x11-apps/xclock + ) +" + +# display retry backoff slowness and failures +RESTRICT="test" + +PATCHES=( "${FILESDIR}"/${PN}-0.12.0-tests.patch ) + +python_test() { + # force usage of built module + rm -rf "${S}"/libqtile || die + PYTHONPATH="${BUILD_DIR}/lib" py.test -v "${S}"/test || die "tests failed under ${EPYTHON}" +} + +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 index fc96c05526ee..5ba9a0932049 100644 --- a/x11-wm/qtile/qtile-9999.ebuild +++ b/x11-wm/qtile/qtile-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -34,15 +34,25 @@ RDEPEND=" " DEPEND="${RDEPEND} test? ( - dev-python/nose[${PYTHON_USEDEP}] - x11-base/xorg-server[kdrive] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/xvfbwrapper[${PYTHON_USEDEP}] + x11-base/xorg-server[xephyr] + x11-apps/xeyes + x11-apps/xcalc + x11-apps/xclock ) " +# display retry backoff slowness and failures RESTRICT="test" +PATCHES=( "${FILESDIR}"/${PN}-0.12.0-tests.patch ) + python_test() { - VIRTUALX_COMMAND="nosetests" virtualmake + # force usage of built module + rm -rf "${S}"/libqtile || die + PYTHONPATH="${BUILD_DIR}/lib" py.test -v "${S}"/test || die "tests failed under ${EPYTHON}" } python_install_all() { -- cgit v1.2.3