diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-11-22 22:18:20 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-11-22 22:31:26 +0100 |
| commit | 1cb7588b512b2e5e56d438fd5a7cdb748fa662c3 (patch) | |
| tree | 00fe2d05db777dfc48c336bd25408c7da8726ce3 /dev-python/OutputCheck | |
| parent | 61c5b405610a280b0cce9e747b21128113323266 (diff) | |
| download | gentoo-1cb7588b512b2e5e56d438fd5a7cdb748fa662c3.tar.gz gentoo-1cb7588b512b2e5e56d438fd5a7cdb748fa662c3.tar.bz2 gentoo-1cb7588b512b2e5e56d438fd5a7cdb748fa662c3.zip | |
Rename dev-python/{OutputCheck → outputcheck}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/OutputCheck')
| -rw-r--r-- | dev-python/OutputCheck/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild | 51 | ||||
| -rw-r--r-- | dev-python/OutputCheck/files/OutputCheck-0.4.2-Driver.patch | 11 | ||||
| -rw-r--r-- | dev-python/OutputCheck/metadata.xml | 24 |
4 files changed, 0 insertions, 87 deletions
diff --git a/dev-python/OutputCheck/Manifest b/dev-python/OutputCheck/Manifest deleted file mode 100644 index fcdf322a8084..000000000000 --- a/dev-python/OutputCheck/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST OutputCheck-0.4.2.gh.tar.gz 16436 BLAKE2B 8c1678746b9fc11cf7b554da83a2e5a51c7095931894a543340e905ccff1e7240f1bb8ec12d348af9662ce7e515d70d6e8a93d1e6ab15629545aa5019a7fe648 SHA512 0abd1ca69c4ef683cc455c222979b313ed8b4906725cc534b80906cc4fb9a0acad855d4a6c39aa4777bbdc35309857082197a0cacdc191e4afb8a8a9a4bb2bed diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild deleted file mode 100644 index 9ba13e596a42..000000000000 --- a/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) - -inherit distutils-r1 - -MY_P=OutputCheck-${PV} -DESCRIPTION="A tool for checking the output of console programs inspired by LLVM's FileCheck" -HOMEPAGE=" - https://github.com/stp/OutputCheck/ - https://pypi.org/project/OutputCheck/ -" -SRC_URI=" - https://github.com/stp/OutputCheck/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -BDEPEND=" - test? ( - dev-python/lit[${PYTHON_USEDEP}] - ) -" - -src_prepare() { - local PATCHES=( - "${FILESDIR}/${PN}-0.4.2-Driver.patch" - ) - - 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/files/OutputCheck-0.4.2-Driver.patch b/dev-python/OutputCheck/files/OutputCheck-0.4.2-Driver.patch deleted file mode 100644 index 9812bd728e0c..000000000000 --- a/dev-python/OutputCheck/files/OutputCheck-0.4.2-Driver.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- 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']) diff --git a/dev-python/OutputCheck/metadata.xml b/dev-python/OutputCheck/metadata.xml deleted file mode 100644 index 0891dc52ae07..000000000000 --- a/dev-python/OutputCheck/metadata.xml +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> - -<pkgmetadata> - <maintainer type="person"> - <email>xgqt@gentoo.org</email> - <name>Maciej Barć</name> - </maintainer> - <maintainer type="project"> - <email>python@gentoo.org</email> - <name>Python</name> - </maintainer> - <longdescription> - 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. - </longdescription> - <upstream> - <bugs-to>https://github.com/stp/OutputCheck/issues/</bugs-to> - <remote-id type="github">stp/OutputCheck</remote-id> - <remote-id type="pypi">OutputCheck</remote-id> - </upstream> -</pkgmetadata> |
