From 3fee2b0db8fd2117243ce45bbc589e44ade31b61 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Sun, 11 Sep 2022 19:29:20 -0400 Subject: [PATCH] gui-apps/waybar-tooltips: add 0.0.4 Signed-off-by: Horea Christian --- gui-apps/waybar-tooltips/Manifest | 1 + .../waybar-tooltips-0.0.4.ebuild | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 gui-apps/waybar-tooltips/waybar-tooltips-0.0.4.ebuild diff --git a/gui-apps/waybar-tooltips/Manifest b/gui-apps/waybar-tooltips/Manifest index 9098b7e..870f270 100644 --- a/gui-apps/waybar-tooltips/Manifest +++ b/gui-apps/waybar-tooltips/Manifest @@ -1,3 +1,4 @@ DIST waybar-tooltips-0.0.1.tar.gz 14442 BLAKE2B 655f70dab366993074c07579ccb4cef9dbb4e84b0facc3870a76695c49f92f10d9bc2c36e3a333eeab778e1bd185c111ec3c1682e82506d3684d9cc49d0bce4b SHA512 5605b6a57b97c039945b4d2acce20e767117c07a6dfec9c68717c0a6968ad098ad5888a7a84cb3188fd3c2767515a08134a1689336a7bd9018e9444e49260d53 DIST waybar-tooltips-0.0.2.gh.tar.gz 14499 BLAKE2B 58f0811c42cbd183ddd75b0ebabef1add9eb38f3931b64601076ec7fdadc7024c92c9f4efd3ee5772c2268aa832137eadafe8dabb44362109e0bafd18acf39c8 SHA512 017f51a804c924d9409d3c011a3f58f2e3090472102da83cfbe8f93ae5c30be98493599c4d3b0a267f73e62f160b28b5304546dce2a088ad15ac3244c5d226f5 DIST waybar-tooltips-0.0.3.gh.tar.gz 14556 BLAKE2B b3432acaf5ecaf4e8239b927bb72f1af5c516355790e06cfabd5fbaf49cd1fb2ec168f9e467fba7a7601cfb190baecaaaf985ee23175e3660249c4ec0a11c5df SHA512 3a934d4e084a35dde99e6823aeeb148675931cc7bd7e5ee3b005db360d491c864b59f6dfc96f92c7a76c02e40828aec07306db53265806a789f9271d61173405 +DIST waybar-tooltips-0.0.4.gh.tar.gz 14582 BLAKE2B 262d25238eecad46c9800cb94eba4aae19b2d169c42f5055d427b0aef9369ad73236d6446750f55aa4ee1abdd7cc5ee87b9070e5c2a9abea9e924681c1d6d269 SHA512 915356a7f203e7c2514871b0a4952d263ad651abe33ce083711cc5b5abc9f8e9f628d7393df355f20cdde9ba6ebd82dc5482a6d44775b782896581526cb21540 diff --git a/gui-apps/waybar-tooltips/waybar-tooltips-0.0.4.ebuild b/gui-apps/waybar-tooltips/waybar-tooltips-0.0.4.ebuild new file mode 100644 index 0000000..c5c5519 --- /dev/null +++ b/gui-apps/waybar-tooltips/waybar-tooltips-0.0.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit python-r1 + +DESCRIPTION="Tooltips for Waybar" +HOMEPAGE="https://github.com/TheChymera/waybar-tooltips/" +SRC_URI="https://github.com/TheChymera/waybar-tooltips/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +KEYWORDS="~amd64 ~x86" + +LICENSE="GPL-3" +IUSE="khal weather" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" +SLOT="0" + +RDEPEND=" + ${PYTHON_DEPS} + media-fonts/fontawesome + khal? ( + app-misc/khal[${PYTHON_USEDEP}] + ) + weather? ( + app-misc/ansiweather + ) +" + +khal_python_install() { + python_doscript "${S}/bin/waybar-tooltip-khal.py" +} + +src_install() { + if use khal; then + python_foreach_impl khal_python_install + fi + if use weather; then + dobin "${S}/bin/waybar-tooltip-weather" + fi +}