mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
net-misc/gazelle-tui: new app in v1.7.{0,2}
Signed-off-by: Jonas Toth <gentoo@jonas-toth.eu>
This commit is contained in:
2
net-misc/gazelle-tui/Manifest
Normal file
2
net-misc/gazelle-tui/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST gazelle-tui-1.7.0.tar.gz 157643 BLAKE2B 0fc0cf6085ef024fd8774f0e0b3ea1dd07845ebcb2b3638a5df35c04e9849235aebf7707baff78d586ee6dc218127b017f74e029f0a31866e19d0a0684dbb00f SHA512 3b6c7ccf8553ab8d359171fc86850bfc4f823d055bf40f8abb33b410dfc0f29cf1b093ed807b07ff7809ea78ab03b89c754c6a9c63a314c3d61c7663290ff12c
|
||||
DIST gazelle-tui-1.7.2.tar.gz 159597 BLAKE2B 6af45c3d71f177dd6b59229f3a5a526d0d1f3e87d2cabb6651aced724175a247c2e17613cd9acd2ea6a8f127ad690cfa6e736763d20894ab1b1006d9d624e0a6 SHA512 7c0690d88a07bc5eace2504dbb596d2aac685e4d44e8bc08e5519824f3236eea63754d37ea0dc00d94c2cd9d4e53066220a5f413c4667b19c8da02f096b9a4ec
|
||||
25
net-misc/gazelle-tui/files/patch-app-1.7.0.patch
Normal file
25
net-misc/gazelle-tui/files/patch-app-1.7.0.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
diff --git a/app.py b/app.py
|
||||
index df70c61..343dfe8 100644
|
||||
--- a/app.py
|
||||
+++ b/app.py
|
||||
@@ -7,7 +7,7 @@ from textual.widgets import Header, Footer, Static, Input, Button, DataTable, Se
|
||||
from textual.containers import Container, Horizontal, ScrollableContainer
|
||||
from textual.screen import ModalScreen
|
||||
from textual.binding import Binding
|
||||
-from network import *
|
||||
+from gazelle_tui.network import *
|
||||
import subprocess
|
||||
import asyncio
|
||||
import json
|
||||
diff --git a/gazelle b/gazelle
|
||||
index bf31f1c..7c72add 100755
|
||||
--- a/gazelle
|
||||
+++ b/gazelle
|
||||
@@ -2,6 +2,6 @@
|
||||
"""Gazelle - A NetworkManager TUI"""
|
||||
|
||||
if __name__ == "__main__":
|
||||
- from app import Gazelle
|
||||
+ from gazelle_tui.app import Gazelle
|
||||
app = Gazelle()
|
||||
app.run()
|
||||
39
net-misc/gazelle-tui/gazelle-tui-1.7.0.ebuild
Normal file
39
net-misc/gazelle-tui/gazelle-tui-1.7.0.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Minimal NetworkManager TUI with complete 802.1X enterprise WiFi support"
|
||||
HOMEPAGE="https://github.com/Zeus-Deus/gazelle-tui"
|
||||
SRC_URI="https://github.com/Zeus-Deus/gazelle-tui/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
net-misc/networkmanager
|
||||
net-vpn/networkmanager-openvpn
|
||||
net-vpn/wireguard-tools
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/textual-6.4.0[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/patch-app-1.7.0.patch
|
||||
)
|
||||
|
||||
src_install()
|
||||
{
|
||||
python_moduleinto ${PN/-/_}
|
||||
python_domodule network.py app.py
|
||||
python_doscript gazelle
|
||||
}
|
||||
39
net-misc/gazelle-tui/gazelle-tui-1.7.2.ebuild
Normal file
39
net-misc/gazelle-tui/gazelle-tui-1.7.2.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="Minimal NetworkManager TUI with complete 802.1X enterprise WiFi support"
|
||||
HOMEPAGE="https://github.com/Zeus-Deus/gazelle-tui"
|
||||
SRC_URI="https://github.com/Zeus-Deus/gazelle-tui/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
net-misc/networkmanager
|
||||
net-vpn/networkmanager-openvpn
|
||||
net-vpn/wireguard-tools
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/textual-6.4.0[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/patch-app-1.7.0.patch
|
||||
)
|
||||
|
||||
src_install()
|
||||
{
|
||||
python_moduleinto ${PN/-/_}
|
||||
python_domodule network.py app.py
|
||||
python_doscript gazelle
|
||||
}
|
||||
11
net-misc/gazelle-tui/metadata.xml
Normal file
11
net-misc/gazelle-tui/metadata.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>gentoo@jonas-toth.eu</email>
|
||||
<name>Jonas Toth</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Zeus-Deus/gazelle-tui</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user