commit: ef61a27e98ea7f293afd71a1dda5927481056502 Author: Alexander Miller <alex.miller <AT> gmx <DOT> de> AuthorDate: Thu Jan 22 23:02:58 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Jan 23 05:40:50 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef61a27e
dev-util/nihtest: add 1.10.1 Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de> Part-of: https://github.com/gentoo/gentoo/pull/45494 Closes: https://github.com/gentoo/gentoo/pull/45494 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/nihtest/Manifest | 1 + dev-util/nihtest/nihtest-1.10.1.ebuild | 56 ++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-util/nihtest/Manifest b/dev-util/nihtest/Manifest index d88125192ec7..ed2a8039c2e2 100644 --- a/dev-util/nihtest/Manifest +++ b/dev-util/nihtest/Manifest @@ -1,2 +1,3 @@ DIST nihtest-1.10.0.tar.gz 45854 BLAKE2B 8be07124a3cf395898c16179deb67130506a811d4b958036f37253bb03669e10fb965f8aa7cd6c366fbe30c9857b8f582db9ef9d53ad9bc50475e8ee4c71c454 SHA512 85acb380e12b49e9f42105c09d7a8c901b17df0a6dd910276275f7b1d20a1c0d5903b926413aead36ba8ea10e8f77d949c1ee55d323a8ae9e8e49904def02e8d +DIST nihtest-1.10.1.tar.gz 46684 BLAKE2B 70a506f580091bc7e98081efa5e7f7ee766439142617a267e506520518205134c5acc7e948b276df9571b311c7e0a4db1f97342377b08c0db7944491429e4a8f SHA512 9686be92048787c3fca9e4b4b93c8b7c9fb498de7e0bc00022c544658713413d035937fb1ce0ba1c94714577404c520e7081559b79c8eae9833e1e28c9fc3c1d DIST nihtest-1.9.1.tar.gz 43132 BLAKE2B f863ad9c8fc9c12e4ccc317cecc97d21a4586675cff35e5dfd38ef22e61f0622ddcd00517618eab9a0c32db84d094a6d64c48fa100cdd55bf88cc9bffdb94d0e SHA512 5897551fe1d5be0c3a10408aae44c2a7090f2ca7edd99b361699c85173473ef7474da3da9daa5aa9cc04a7e9215aee781971ecdbb604799d617160bf1be3b858 diff --git a/dev-util/nihtest/nihtest-1.10.1.ebuild b/dev-util/nihtest/nihtest-1.10.1.ebuild new file mode 100644 index 000000000000..ed51437edc97 --- /dev/null +++ b/dev-util/nihtest/nihtest-1.10.1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..14} ) + +inherit cmake distutils-r1 pypi + +DESCRIPTION="A testing tool for command line utilities" +HOMEPAGE=" + https://nih.at/nihtest/ + https://github.com/nih-at/nihtest + https://pypi.org/project/nihtest/ +" +SRC_URI+=" + https://nih.at/nihtest/${P}.tar.gz + https://github.com/nih-at/nihtest/releases/download/v${PV}/${P}.tar.gz +" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep 'dev-python/python-dateutil[${PYTHON_USEDEP}]') +" +BDEPEND="test? ( ${RDEPEND} )" + +DOCS=( NEWS.md README.md TODO.md ) + +src_prepare() { + distutils-r1_src_prepare + if use test; then + CMAKE_USE_DIR=${S}/tests + BUILD_DIR=${WORKDIR}/tests_build cmake_src_prepare + fi +} + +python_test() { + local BUILD_DIR=${WORKDIR}/tests_build + local mycmakeargs=( -DNIHTEST=nihtest ) + cmake_src_configure + cmake_src_compile + cmake_src_test +} + +src_install() { + distutils-r1_src_install + newman manpages/nihtest.man nihtest.1 + newman manpages/nihtest.conf.man nihtest.conf.5 + newman manpages/nihtest-case.man nihtest-case.5 +}
