From ca022e1b4fea1401113e8cda67a3cceab6df1a6a Mon Sep 17 00:00:00 2001 From: l5y <220195275+l5yth@users.noreply.github.com> Date: Sat, 7 Mar 2026 16:25:51 +0100 Subject: [PATCH] remove obsolete ps dependency --- README.md | 5 ++--- packaging/archlinux/PKGBUILD | 2 +- packaging/gentoo/app-misc/psn/psn-9999.ebuild | 4 +--- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ac5ffff..9b678af 100644 --- a/README.md +++ b/README.md @@ -25,9 +25,8 @@ ## Dependencies -- any GNU/Linux system with `ps` obviously -- `ps` available in `$PATH` -- Some current Rust stable toolchain (Rust 2024 edition, Cargo) +- GNU/Linux (process data is read from `/proc` via [sysinfo](https://crates.io/crates/sysinfo) — no external binaries required) +- Rust stable toolchain (Rust 2024 edition, Cargo) for building from source Core crates: `ratatui`, `crossterm`, `sysinfo`, `nix`, `anyhow`, `users`. diff --git a/packaging/archlinux/PKGBUILD b/packaging/archlinux/PKGBUILD index 61ac95f..9987181 100644 --- a/packaging/archlinux/PKGBUILD +++ b/packaging/archlinux/PKGBUILD @@ -10,7 +10,7 @@ arch=('x86_64' 'aarch64' 'armv6h' 'armv7h') url="https://github.com/l5yth/psn" license=('Apache') options=('!debug') -depends=('procps-ng') +depends=() makedepends=('cargo' 'git') source=("git+https://github.com/l5yth/psn.git") sha256sums=('SKIP') diff --git a/packaging/gentoo/app-misc/psn/psn-9999.ebuild b/packaging/gentoo/app-misc/psn/psn-9999.ebuild index ab0f23d..bbca03a 100644 --- a/packaging/gentoo/app-misc/psn/psn-9999.ebuild +++ b/packaging/gentoo/app-misc/psn/psn-9999.ebuild @@ -15,9 +15,7 @@ KEYWORDS="" IUSE="" PROPERTIES="live" -RDEPEND=" - sys-process/procps -" + BDEPEND=" dev-lang/rust "