From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C52D8158094 for ; Thu, 6 Oct 2022 14:27:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DADA0E09BB; Thu, 6 Oct 2022 14:27:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BFFD8E09BB for ; Thu, 6 Oct 2022 14:27:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94B12340E8A for ; Thu, 6 Oct 2022 14:27:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1CCB5B5 for ; Thu, 6 Oct 2022 14:27:37 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1665066455.26f0907c36d6b76906de9f901b09b9ce9d549a2c.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/OutputCheck/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/OutputCheck/Manifest dev-python/OutputCheck/OutputCheck-0.4.2.ebuild dev-python/OutputCheck/metadata.xml X-VCS-Directories: dev-python/OutputCheck/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 26f0907c36d6b76906de9f901b09b9ce9d549a2c X-VCS-Branch: master Date: Thu, 6 Oct 2022 14:27:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: bbffa782-49e3-4629-a221-f73729493448 X-Archives-Hash: f81307c2e5e225cb37f2e1e2e07e9879 commit: 26f0907c36d6b76906de9f901b09b9ce9d549a2c Author: Maciej Barć gentoo org> AuthorDate: Thu Oct 6 13:44:41 2022 +0000 Commit: Maciej Barć gentoo org> CommitDate: Thu Oct 6 14:27:35 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26f0907c dev-python/OutputCheck: new package; add version 0.4.2 Signed-off-by: Maciej Barć gentoo.org> dev-python/OutputCheck/Manifest | 1 + dev-python/OutputCheck/OutputCheck-0.4.2.ebuild | 37 +++++++++++++++++++++++++ dev-python/OutputCheck/metadata.xml | 20 +++++++++++++ 3 files changed, 58 insertions(+) diff --git a/dev-python/OutputCheck/Manifest b/dev-python/OutputCheck/Manifest new file mode 100644 index 000000000000..fcdf322a8084 --- /dev/null +++ b/dev-python/OutputCheck/Manifest @@ -0,0 +1 @@ +DIST OutputCheck-0.4.2.gh.tar.gz 16436 BLAKE2B 8c1678746b9fc11cf7b554da83a2e5a51c7095931894a543340e905ccff1e7240f1bb8ec12d348af9662ce7e515d70d6e8a93d1e6ab15629545aa5019a7fe648 SHA512 0abd1ca69c4ef683cc455c222979b313ed8b4906725cc534b80906cc4fb9a0acad855d4a6c39aa4777bbdc35309857082197a0cacdc191e4afb8a8a9a4bb2bed diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild new file mode 100644 index 000000000000..d1ec3ff584ba --- /dev/null +++ b/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="A tool for checking the output of console programs inspired by LLVM's FileCheck" +HOMEPAGE="https://github.com/stp/OutputCheck/" +SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-python/lit[${PYTHON_USEDEP}] )" + +src_prepare() { + distutils-r1_src_prepare + + # Remove bad tests. + rm "${S}"/tests/invalid-regex-syntax.smt2 || + die "failed to remove bad tests" + + # Create RELEASE-VERSION file. + echo ${PV} > "${S}"/RELEASE-VERSION || + die "failed to write RELEASE-VERSION" +} + +python_test() { + lit "${S}"/tests || die "running test with ${EPYTHON} failed" +} diff --git a/dev-python/OutputCheck/metadata.xml b/dev-python/OutputCheck/metadata.xml new file mode 100644 index 000000000000..536c2285d052 --- /dev/null +++ b/dev-python/OutputCheck/metadata.xml @@ -0,0 +1,20 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + OutputCheck is a tool for checking the output of console programs that is + inspired by the FileCheck tool used by LLVM. It has its own small language + (Check Directives) for describing the expected output of a tool that is + considerably more convenient and more powerful than GNU grep. + + + https://github.com/stp/OutputCheck/issues/ + stp/OutputCheck + OutputCheck + +