mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-util/nihtest: drop 1.6.0
Signed-off-by: Alexander Miller <alex.miller@gmx.de> Closes: https://github.com/gentoo/gentoo/pull/36324 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
3771a67353
commit
058ca2f268
@@ -1,3 +1,2 @@
|
||||
DIST nihtest-1.5.2.tar.gz 39901 BLAKE2B c6b71b457ec7ff2d154061d31f009e44b4208901bfaf7ff16c3b70d4da7e0790238ed21c310651e89ac7a8a335c9d5131b974a945ad41bff74da5ba14ecbf581 SHA512 7f7e29e6c1320cb2f1886b6a73c43e11a672bd42471d01a47d0941970b478361b3e463d7d64b4275ed707d87fe27773b34c0f79f398494393330d7091f9f2f53
|
||||
DIST nihtest-1.6.0.tar.gz 40473 BLAKE2B 98c1247485fc49a3a4b8f96dce16e35f7ac706ce8da7fc491ed62ad2c18a1514225ffdfcecae05266958f210d839897263bf2862abf0d771870f29a911f257fe SHA512 b70a7cd5624f7930f48cc75b454993f878a1d3d42035fa6dd90e89cc6d2b1928e8489974c583a814fa009f33749d9dc4614869f0693f51de1d1c74cf77801f0f
|
||||
DIST nihtest-1.7.0.tar.gz 40925 BLAKE2B c21a5de44c3739b8e9dceac2391f1dc53ad276759389cfbf93e4cc0688ae7170f3cd56423f3c0be3b12ca7ea07f7168b78f3a0e3ad7c6a959019253360b57ed1 SHA512 2f84a4e3491fff64f9ae41c69cb79cd917c9c3ce7f6912d54e2110e1221b62c1a129c2e31ebac077d635f5cd788e97c4d9465eb3fb414bb054e5ceed32260ddd
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user