Revert "gui-apps/nwg-panel: drop 0.9.27"

This reverts commit 62f513576c.

I would like to keep 0.9.27 around because it is the last version that
works with Python <3.12

Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
This commit is contained in:
Pascal Jäger
2024-05-02 23:57:24 +02:00
parent 3fe9e79fd6
commit 2991fe18fa
2 changed files with 54 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST nwg-panel-0.9.27.tar.gz 229930 BLAKE2B d1a028a6fb7cdf2097b868a572fb394bf9bd5ab8ed927d35eab63d354b668f4e422d0a59e1ab28d5d1cdc47343768429ce4891f72ebaa554e2d55314dfec912b SHA512 f2772fcd5336761dbe9b0f15502d4506a0a7e0362610310a67605751d5b1d0575e1b0abb2ed0745a4b14822cba71206afb6534ed59b182b35350f51ca0184563
DIST nwg-panel-0.9.28.tar.gz 230981 BLAKE2B 70b424ae92c4d52a3c59ca3969ac9efc4799a72a316775455a8f96ab7e58690cace5702f251551054cd4ce2f3f029864aff8c636b0498f4e79508f6a4d9c7738 SHA512 b5c0dc81c96c8ade31e94e9d9298cf839d2bbcb39320b79860259ecf2d8ee9e1803a1bddb30f7cdbff4bba4e2a3843149ace0890fe3097afd5bed326427416d6
DIST nwg-panel-0.9.29.tar.gz 230960 BLAKE2B 9787176e887dd89f5fdae1a171e21f6db9acb552f98e3846c2f1c760e263232fb0832bd23116aa79e9406bb26dcd3a9643277afb639522176c814429188c571b SHA512 948fcb86ec70577e8109e5f0b1e98ecd411d1b4faa543f00ed4814009d4ff79d267222fd48104c7b4c3f067c63fd8d8875ba48b970ef20876c9aa86e9dd54fc1

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..11} )
DISTUTILS_USE_PEP517=setuptools
inherit desktop distutils-r1 systemd xdg-utils
if [[ "${PV}" == 9999 ]]
then
inherit git-r3
EGIT_REPO_URI="https://github.com/nwg-piotr/nwg-panel.git"
else
SRC_URI="https://github.com/nwg-piotr/nwg-panel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="GTK3-based panel for sway and Hyprland Wayland compositors"
HOMEPAGE="https://github.com/nwg-piotr/nwg-panel"
LICENSE="MIT"
SLOT="0"
RDEPEND="
x11-libs/gtk+:3
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
dev-python/i3ipc[${PYTHON_USEDEP}]
dev-python/dasbus[${PYTHON_USEDEP}]
gui-apps/nwg-icon-picker
media-sound/playerctl
gui-libs/gtk-layer-shell
"
DEPEND="${RDEPEND}"
python_install_all() {
distutils-r1_python_install_all
domenu nwg-panel-config.desktop
domenu nwg-processes.desktop
doicon nwg-panel.svg
doicon nwg-processes.svg
doicon nwg-shell.svg
systemd_dounit nwg-panel.service
}
pkg_postinst() {
xdg_desktop_database_update
}
pkg_postrm() {
xdg_desktop_database_update
}