From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/nihtest/
Date: Sun, 17 Mar 2024 13:06:55 +0000 (UTC) [thread overview]
Message-ID: <1710680811.6fa3dfcbdc0b91e97b6b56400cd2b48fc0b4a4e2.mgorny@gentoo> (raw)
commit: 6fa3dfcbdc0b91e97b6b56400cd2b48fc0b4a4e2
Author: Alexander Miller <alex.miller <AT> gmx <DOT> de>
AuthorDate: Sun Mar 17 12:53:12 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Mar 17 13:06:51 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa3dfcb
dev-util/nihtest: add 1.5.1
Signed-off-by: Alexander Miller <alex.miller <AT> gmx.de>
Closes: https://github.com/gentoo/gentoo/pull/35801
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-util/nihtest/Manifest | 1 +
dev-util/nihtest/nihtest-1.5.1.ebuild | 56 +++++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/dev-util/nihtest/Manifest b/dev-util/nihtest/Manifest
index 49cf95f7d2b8..c5e5a38ac74b 100644
--- a/dev-util/nihtest/Manifest
+++ b/dev-util/nihtest/Manifest
@@ -1 +1,2 @@
DIST nihtest-1.5.0.tar.gz 39258 BLAKE2B 6f2bf228d080a705ac9c7a56e7f73cd6000e03fae09dc9076eb7c9003f8cd9629690ccc2860c7939461edc089f8e73419232ed08bc131f9b526f141b434f33f8 SHA512 aac6167c18b5af3f49f5b43b6a218f3f3921d5b0bfe74df546a6808cf826debbe587de44b04baf1d4abd8e0c193da1b86a1f6490cc6bd7888b7707e261a1ebcf
+DIST nihtest-1.5.1.tar.gz 39866 BLAKE2B 6e499db71d894e6fe3a5bcd2fe42b89c588edbec451b4c580feac1e07fe7b3cfa9e658dd52d21b0bda3a13be305a240698654eba672b22d9593af7a7335081ff SHA512 269b21c6e4baf2c00b01e799394361631f96a7876c5df7f08e8d97ab640312f77251b5024804cb66a3aa5cb5dd0e43f8e54eb4644d985038fe25de24de30f93a
diff --git a/dev-util/nihtest/nihtest-1.5.1.ebuild b/dev-util/nihtest/nihtest-1.5.1.ebuild
new file mode 100644
index 000000000000..5dbe563be3c9
--- /dev/null
+++ b/dev-util/nihtest/nihtest-1.5.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..12} )
+
+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 ~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
+}
next reply other threads:[~2024-03-17 13:07 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-17 13:06 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-05-23 11:45 [gentoo-commits] repo/gentoo:master commit in: dev-util/nihtest/ Arthur Zamarin
2025-03-09 22:05 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 18:06 Sam James
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-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=1710680811.6fa3dfcbdc0b91e97b6b56400cd2b48fc0b4a4e2.mgorny@gentoo \
--to=mgorny@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