From c0260ef0055cb6794519a0e5cb5b77daddfe9777 Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Wed, 1 Feb 2023 13:04:47 -0500 Subject: [PATCH] gui-apps/waybar-tooltips: add 0.0.9 Signed-off-by: Horea Christian --- gui-apps/waybar-tooltips/Manifest | 1 + .../waybar-tooltips-0.0.9.ebuild | 42 +++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 gui-apps/waybar-tooltips/waybar-tooltips-0.0.9.ebuild diff --git a/gui-apps/waybar-tooltips/Manifest b/gui-apps/waybar-tooltips/Manifest index 13d7dea..ab070b3 100644 --- a/gui-apps/waybar-tooltips/Manifest +++ b/gui-apps/waybar-tooltips/Manifest @@ -2,3 +2,4 @@ DIST waybar-tooltips-0.0.5.gh.tar.gz 14684 BLAKE2B 1b62e2419aa93dc8cd831ae42fbb9 DIST waybar-tooltips-0.0.6.gh.tar.gz 14767 BLAKE2B 2288d6cd795f31df3305d0b2bdc0c553f8e6aca00a3eab6bb3a30032a52d3f6a9708ef3f99241ca660745de3ac93b0c8794d5bd8a957e85ddaba0d998b42edb5 SHA512 1f2893ccbd96fd76edc7340e881f657ad882dfda38dadd64e89d28dbfddd1a3501ceba7b1238452207ec9bcbbd75a8f9ca80f62137d913e5d35c48941be0dcf5 DIST waybar-tooltips-0.0.7.gh.tar.gz 14852 BLAKE2B 4acb77bca3cc63fadd22203f42213c797831cc8a3450251a50d0e8712d4600c63f9ccb52a7c6d878b98170fe5ec49f1d8779a7544fda159d2ab3d87df219b179 SHA512 3ed76d0ef4dac6795b172b0209e3650d81b40b290dcb6af70c389ed76dbe2dbb989f0d73ecdcbbb06480b4e2933be9169284496c2ad4644b1de69db2e6921011 DIST waybar-tooltips-0.0.8.gh.tar.gz 15080 BLAKE2B 873309e79cf98dca7114a6f7d57dae6d22ada57ab081c65ec3b078f8f63675354db9837db8796230be0d45bd20094e95ca496e1aa90ae202e9d10a7c0cf43dc6 SHA512 57baed2d9404da0fc17bcc2d6a8400e444998d849b3bbff672e0006b4527eb36364b884e65ac1af6eccec1853bb3ab8ac148d725d75b9102ee0a8014b98edd5e +DIST waybar-tooltips-0.0.9.gh.tar.gz 15099 BLAKE2B 3fc11808062579b28179b8e1c045a138993bc41feb97dcd8b33640f2da78913d4529f27360043bc7b8542eff080e2feb2dd7dc2603f905c1d3db3444fcf0c937 SHA512 85b5a9ae0a385d6e45f74447ed2dff516967b85c24b3a8a05e36a511ab1c368f3eb3a05da46b8bd9b0d636956c5ae9c6fcbe6b6c971a9a3ea2aee7cf932be4cd diff --git a/gui-apps/waybar-tooltips/waybar-tooltips-0.0.9.ebuild b/gui-apps/waybar-tooltips/waybar-tooltips-0.0.9.ebuild new file mode 100644 index 0000000..db2fa79 --- /dev/null +++ b/gui-apps/waybar-tooltips/waybar-tooltips-0.0.9.ebuild @@ -0,0 +1,42 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..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() { + dobin "${S}/bin/waybar-tooltip-checkapp" + if use khal; then + python_foreach_impl khal_python_install + fi + if use weather; then + dobin "${S}/bin/waybar-tooltip-weather" + fi +}