mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
dev-nim/cligen: add 1.8.3, drop 1.8.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
35
dev-nim/cligen/cligen-1.8.3.ebuild
Normal file
35
dev-nim/cligen/cligen-1.8.3.ebuild
Normal file
@@ -0,0 +1,35 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit nimble
|
||||
|
||||
DESCRIPTION="Infer & generate command-line interface/option/argument parser"
|
||||
HOMEPAGE="
|
||||
https://c-blake.github.io/cligen/
|
||||
https://github.com/c-blake/cligen
|
||||
"
|
||||
SRC_URI="https://github.com/c-blake/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC MIT"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples"
|
||||
|
||||
DOCS=( configs {MOTIVATION,README,RELEASE-NOTES,TODO}.md )
|
||||
|
||||
set_package_url "https://github.com/c-blake/cligen"
|
||||
|
||||
src_test() {
|
||||
emake test V=1 NIM_EXTRA="--processing:off"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
|
||||
nimble_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user