mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
sys-process/nq: Move from sys-apps
I didn't realize sys-process was a group, this is a better place for it. Comparisons to nq are the likes of `at`, which are also found in this group Signed-off-by: Marco Sirabella <marco@sirabella.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST nq-0.4.tar.gz 11976 BLAKE2B 2fa22bd0518e8eea09604db4bfb3c0c11583e8c812bb80697d4697afe30283ff878e367e5e42b0894a1a216ee3ce313f41a8f5d217dcc15a49a8b331d0ba9c3f SHA512 c4587c2074dd6e3d18d56a273b943b2594f6ea73912d774120706dbcb6a64e0b7a99c4da7283cbe0d3d47eb24fa246625e9180a88ee2e0cacc647de8c8606c38
|
||||
@@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>marco@sirabella.org</email>
|
||||
<name>Marco Sirabella</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">leahneukirchen/nq</remote-id>
|
||||
<bugs-to>https://github.com/leahneukirchen/nq/issues</bugs-to>
|
||||
<changelog>https://git.vuxu.org/nq/plain/NEWS.md</changelog>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
These small utilities allow creating very lightweight job queue systems which require no setup, maintenance, supervision, or any long-running processes.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="shell">Use shell implementation</flag>
|
||||
<flag name="tq">Install tq, a tmux & screen wrapper</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -1,38 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Unix command line queue utility"
|
||||
HOMEPAGE="https://git.vuxu.org/nq/about/"
|
||||
SRC_URI="https://git.vuxu.org/${PN}/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="-shell +tq test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="shell? ( !test )" # shell alternatives currently fail tests
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
shell? ( sys-apps/util-linux sys-apps/coreutils )
|
||||
tq? ( || ( app-misc/tmux app-misc/screen ) )
|
||||
"
|
||||
BDEPEND="test? ( dev-lang/perl )"
|
||||
|
||||
DOCS=( README.md NEWS.md )
|
||||
|
||||
src_compile() {
|
||||
if use shell; then
|
||||
cp nq.sh nq
|
||||
cp fq.sh fq
|
||||
fi
|
||||
emake CFLAGS="${CFLAGS} -Wno-unused-result"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr ALL="nq fq $(usev tq)" install
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user