Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/sysz/
Date: Sun, 03 Oct 2021 23:20:39
Message-Id: 1633303223.5fa986fd9c5d1f2049d39a0199628957607fbf82.Alessandro-Barbieri@gentoo
1 commit: 5fa986fd9c5d1f2049d39a0199628957607fbf82
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 3 23:20:23 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Oct 3 23:20:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5fa986fd
7
8 sys-apps/sysz: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 sys-apps/sysz/Manifest | 1 +
13 sys-apps/sysz/metadata.xml | 26 ++++++++++++++++++++++++++
14 sys-apps/sysz/sysz-1.4.0.ebuild | 30 ++++++++++++++++++++++++++++++
15 3 files changed, 57 insertions(+)
16
17 diff --git a/sys-apps/sysz/Manifest b/sys-apps/sysz/Manifest
18 new file mode 100644
19 index 000000000..1879efcb9
20 --- /dev/null
21 +++ b/sys-apps/sysz/Manifest
22 @@ -0,0 +1 @@
23 +DIST sysz-1.4.0.tar.gz 7451 BLAKE2B ee052fb4ab4ff2632be13966f56b7c4f4df86121e92087674c3f8df353c53c338a2128eb279d33f66a9651126413e381fbc82b896eb3af41781d045ab31d752e SHA512 c2700b5cb2b9a72215ec0ecb76b24f8aa2f43ade64ad394d7d37761d3ef7c6936c515b11617baa36727739b56795ec7f154ead7ab9eda8ab926f27e9f60c8343
24
25 diff --git a/sys-apps/sysz/metadata.xml b/sys-apps/sysz/metadata.xml
26 new file mode 100644
27 index 000000000..81beb195d
28 --- /dev/null
29 +++ b/sys-apps/sysz/metadata.xml
30 @@ -0,0 +1,26 @@
31 +<?xml version="1.0" encoding="UTF-8"?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <email>lssndrbarbieri@×××××.com</email>
36 + <name>Alessandro Barbieri</name>
37 + </maintainer>
38 + <upstream>
39 + <bugs-to>https://github.com/joehillen/sysz/issues</bugs-to>
40 + <remote-id type="github">joehillen/sysz</remote-id>
41 + </upstream>
42 + <longdescription lang="en">
43 +Features
44 +
45 +See and filter both system and user units simultaneously.
46 +Supports all unit types.
47 +Units ordered by service, timer, socket, and the rest.
48 +Runs sudo automatically and only if necessary.
49 +Filter units by state using ctrl-s or the --state option.
50 +Run daemon-reload with ctrl-r.
51 +Has short versions of systemctl commands to reduce typing.
52 +Runs status after other commands (start, stop, restart, etc).
53 +Select multiple units, states, and commands using TAB.
54 +Only prompts commands based on current state (e.g. show "start" only if the unit is inactive).
55 + </longdescription>
56 +</pkgmetadata>
57
58 diff --git a/sys-apps/sysz/sysz-1.4.0.ebuild b/sys-apps/sysz/sysz-1.4.0.ebuild
59 new file mode 100644
60 index 000000000..59e441db9
61 --- /dev/null
62 +++ b/sys-apps/sysz/sysz-1.4.0.ebuild
63 @@ -0,0 +1,30 @@
64 +# Copyright 1999-2021 Gentoo Authors
65 +# Distributed under the terms of the GNU General Public License v2
66 +
67 +EAPI=8
68 +
69 +DESCRIPTION="An fzf terminal UI for systemctl"
70 +HOMEPAGE="https://github.com/joehillen/sysz"
71 +SRC_URI="https://github.com/joehillen/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
72 +
73 +LICENSE="Unlicense"
74 +SLOT="0"
75 +KEYWORDS="~amd64"
76 +
77 +RDEPEND="
78 + >=app-shells/bash-4.3
79 + >=app-shells/fzf-0.27.1
80 + sys-apps/systemd
81 + virtual/awk
82 +"
83 +
84 +DOCS=( README.md CHANGELOG.md )
85 +
86 +src_compile() {
87 + :
88 +}
89 +
90 +src_install() {
91 + dobin "${PN}"
92 + einstalldocs
93 +}