public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/nihtest/
Date: Sat, 28 Dec 2024 18:06:55 +0000 (UTC)	[thread overview]
Message-ID: <1735409195.5b585c8b30476393c07b4bbee5e71202ee4a3978.sam@gentoo> (raw)

commit:     5b585c8b30476393c07b4bbee5e71202ee4a3978
Author:     Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Wed Dec 18 13:59:24 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 18:06:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b585c8b

dev-util/nihtest: add 1.9.1

Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de>
Closes: https://github.com/gentoo/gentoo/pull/39767
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/nihtest/Manifest             |  1 +
 dev-util/nihtest/nihtest-1.9.1.ebuild | 56 +++++++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/dev-util/nihtest/Manifest b/dev-util/nihtest/Manifest
index 66d190898891..4854ad1a2ee5 100644
--- a/dev-util/nihtest/Manifest
+++ b/dev-util/nihtest/Manifest
@@ -1,3 +1,4 @@
 DIST nihtest-1.5.2.tar.gz 39901 BLAKE2B c6b71b457ec7ff2d154061d31f009e44b4208901bfaf7ff16c3b70d4da7e0790238ed21c310651e89ac7a8a335c9d5131b974a945ad41bff74da5ba14ecbf581 SHA512 7f7e29e6c1320cb2f1886b6a73c43e11a672bd42471d01a47d0941970b478361b3e463d7d64b4275ed707d87fe27773b34c0f79f398494393330d7091f9f2f53
 DIST nihtest-1.7.0.tar.gz 40925 BLAKE2B c21a5de44c3739b8e9dceac2391f1dc53ad276759389cfbf93e4cc0688ae7170f3cd56423f3c0be3b12ca7ea07f7168b78f3a0e3ad7c6a959019253360b57ed1 SHA512 2f84a4e3491fff64f9ae41c69cb79cd917c9c3ce7f6912d54e2110e1221b62c1a129c2e31ebac077d635f5cd788e97c4d9465eb3fb414bb054e5ceed32260ddd
 DIST nihtest-1.8.0.tar.gz 41036 BLAKE2B 79e78b81e7bfbc4f8cdfbb518ece417acd15e37fae4988785f9ec6c16ab5a9374d0464eb8564a6461c0283589d40777c94032f612d3b8b34f94e11222a82d500 SHA512 fdef4ce9f5990f44eda54115767fe01e2f894c0b9b398060d31a424a00d1a8df15c9f12f0d6864b3686a82875294e2c837cc481e3cda130497de6ba6d3a5f620
+DIST nihtest-1.9.1.tar.gz 43132 BLAKE2B f863ad9c8fc9c12e4ccc317cecc97d21a4586675cff35e5dfd38ef22e61f0622ddcd00517618eab9a0c32db84d094a6d64c48fa100cdd55bf88cc9bffdb94d0e SHA512 5897551fe1d5be0c3a10408aae44c2a7090f2ca7edd99b361699c85173473ef7474da3da9daa5aa9cc04a7e9215aee781971ecdbb604799d617160bf1be3b858

diff --git a/dev-util/nihtest/nihtest-1.9.1.ebuild b/dev-util/nihtest/nihtest-1.9.1.ebuild
new file mode 100644
index 000000000000..1849d849b7f6
--- /dev/null
+++ b/dev-util/nihtest/nihtest-1.9.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 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_{10..13} )
+
+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="~amd64 ~arm ~arm64 ~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
+}


             reply	other threads:[~2024-12-28 18:06 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-28 18:06 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-09 22:05 [gentoo-commits] repo/gentoo:master commit in: dev-util/nihtest/ Andreas Sturmlechner
2025-03-09 20:19 Sam James
2025-02-27  2:42 Sam James
2025-02-26 23:45 Sam James
2025-02-26 23:45 Sam James
2025-02-26 23:35 Sam James
2025-02-26 23:35 Sam James
2025-02-26 23:29 Jakov Smolić
2025-02-26 23:29 Jakov Smolić
2025-02-26 22:16 Sam James
2025-01-25 16:21 Sam James
2025-01-05 17:11 Arthur Zamarin
2025-01-05 13:40 WANG Xuerui
2024-12-28  8:52 Arthur Zamarin
2024-12-28  8:52 Arthur Zamarin
2024-12-28  2:53 Sam James
2024-12-28  2:53 Sam James
2024-12-28  2:53 Sam James
2024-11-25  0:02 Sam James
2024-11-24 22:16 Jakov Smolić
2024-11-23 15:13 Sam James
2024-11-23 15:13 Sam James
2024-11-23 15:13 Sam James
2024-11-23 15:05 Michał Górny
2024-11-23 15:05 Michał Górny
2024-11-23 15:05 Michał Górny
2024-11-23 14:51 Sam James
2024-06-02  7:30 Joonas Niilola
2024-06-02  7:30 Joonas Niilola
2024-04-16  5:34 Joonas Niilola
2024-04-16  5:34 Joonas Niilola
2024-04-13 14:18 Michał Górny
2024-04-13 14:18 Michał Górny
2024-03-21  2:19 Sam James
2024-03-17 13:06 Michał Górny
2024-03-16 16:25 Michał Górny
2024-03-16 16:25 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1735409195.5b585c8b30476393c07b4bbee5e71202ee4a3978.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox