From 79be8f00e2aa293669b8e22e1ef02d2d5c5f9e25 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 16 Jan 2023 17:57:56 +0000 Subject: gentoo auto-resync : 16:01:2023 - 17:57:56 --- dev-python/Manifest.gz | Bin 260559 -> 260564 bytes dev-python/OutputCheck/Manifest | 3 +- dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild | 39 +++++++++++++++++++++ dev-python/OutputCheck/OutputCheck-0.4.2.ebuild | 37 ------------------- .../files/OutputCheck-0.4.2-Driver.patch | 11 ++++++ 5 files changed, 52 insertions(+), 38 deletions(-) create mode 100644 dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild delete mode 100644 dev-python/OutputCheck/OutputCheck-0.4.2.ebuild create mode 100644 dev-python/OutputCheck/files/OutputCheck-0.4.2-Driver.patch (limited to 'dev-python') diff --git a/dev-python/Manifest.gz b/dev-python/Manifest.gz index 75dec027a28e..13f2b41f201a 100644 Binary files a/dev-python/Manifest.gz and b/dev-python/Manifest.gz differ diff --git a/dev-python/OutputCheck/Manifest b/dev-python/OutputCheck/Manifest index c6ccd1ccd2ef..c393655484d9 100644 --- a/dev-python/OutputCheck/Manifest +++ b/dev-python/OutputCheck/Manifest @@ -1,3 +1,4 @@ +AUX OutputCheck-0.4.2-Driver.patch 738 BLAKE2B 972452f782966bc0237c4bb134ecb31c4d6126e08fda3630899f51e7028120d8cc0a9a89a33018648369a84e64e335b6520bf4e220c0fcde5257ad90640deb12 SHA512 1d0a3b694261a3ffa3fc51add70c3f6a0888120da1ef5aa4b09c57777b4b9497cdb44c03e294018c3f4c70d35aed7050638bc77101aa3e99fd0367ee03358118 DIST OutputCheck-0.4.2.gh.tar.gz 16436 BLAKE2B 8c1678746b9fc11cf7b554da83a2e5a51c7095931894a543340e905ccff1e7240f1bb8ec12d348af9662ce7e515d70d6e8a93d1e6ab15629545aa5019a7fe648 SHA512 0abd1ca69c4ef683cc455c222979b313ed8b4906725cc534b80906cc4fb9a0acad855d4a6c39aa4777bbdc35309857082197a0cacdc191e4afb8a8a9a4bb2bed -EBUILD OutputCheck-0.4.2.ebuild 904 BLAKE2B fa7d5436c09aad75c282f6096b98cfa00727f8d921db894f8cc8af8e70dd4f139219382568e8fc8a8002b2ba2f2e285511f8913300841a4bf2fca333788e33cc SHA512 bd08dc933ee0215cacc9bf521df229993a1bc0b9c589a7e1643296f33f501d2693bd7b3989c75577293b0c2d0662471ab27b5267ca845224388eefff040a18db +EBUILD OutputCheck-0.4.2-r1.ebuild 959 BLAKE2B 513979e88084eba05922d63d01c0d3647d2319a1fb1f63d5ac14feb30c20c4f9fb98ded782c89579255b0b996b4458bdfa58baeefe2a7bc3efff5eb75539434f SHA512 bfcbb8903007775e0ab66981602e9cc8bb6fa8207d31beeaebf9576d453bb9b6e80d6a1f4740e25f3c0ac0672131f556002796439e8f2996333914dbc43c91e8 MISC metadata.xml 792 BLAKE2B 0359b2057a0d04dfc5e6ac79036ed5456d6c54f94d040a67bdc6cea4d644a70e53c99e40d3030e65c64441ff4c2841a3cc7a5291352bcebba36b52b70e76ca74 SHA512 77ecfb6ca26cbaffaad7a36b321d2983c67b9d2b7ec83a90e9cf926d6819f8b4e256f65af5ebc166db0f91e7e9a05ca135bfdef7274706faa665f14505308cd4 diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild new file mode 100644 index 000000000000..fc9ebef88ec2 --- /dev/null +++ b/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +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}] )" + +PATCHES=( "${FILESDIR}"/${P}-Driver.patch ) + +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 --verbose "${S}"/tests || die "running test with ${EPYTHON} failed" +} diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild deleted file mode 100644 index ca2d32009cbe..000000000000 --- a/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) - -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/files/OutputCheck-0.4.2-Driver.patch b/dev-python/OutputCheck/files/OutputCheck-0.4.2-Driver.patch new file mode 100644 index 000000000000..9812bd728e0c --- /dev/null +++ b/dev-python/OutputCheck/files/OutputCheck-0.4.2-Driver.patch @@ -0,0 +1,11 @@ +--- a/OutputCheck/Driver.py ++++ b/OutputCheck/Driver.py +@@ -34,7 +34,7 @@ ExitCode = enum('SUCCESS', + + def main(args): + parser = argparse.ArgumentParser(description=__doc__) +- parser.add_argument('check_file', type=argparse.FileType('rU'), help='File containing check commands') ++ parser.add_argument('check_file', type=argparse.FileType('r'), help='File containing check commands') + parser.add_argument('--file-to-check=', type=argparse.FileType('r'), default='-', help='File to check (default %(default)s)') + parser.add_argument('--check-prefix=', default='CHECK', help='Prefix to use from check_file') + parser.add_argument("-l","--log-level",type=str, default="INFO", choices=['debug','info','warning','error']) -- cgit v1.2.3