public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/OutputCheck/
@ 2022-10-06 14:27 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2022-10-06 14:27 UTC (permalink / raw
  To: gentoo-commits

commit:     26f0907c36d6b76906de9f901b09b9ce9d549a2c
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Oct  6 13:44:41 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> 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ć <xgqt <AT> 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 @@
+<?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>
+  <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>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/OutputCheck/
@ 2023-01-16  1:57 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2023-01-16  1:57 UTC (permalink / raw
  To: gentoo-commits

commit:     4c378f225c674fd01917aecd90833cbb53edb0ca
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 01:22:03 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jan 16 01:57:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c378f22

dev-python/OutputCheck: enable python 3.11

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-python/OutputCheck/OutputCheck-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild
index f0240feced1f..ca2d32009cbe 100644
--- a/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild
+++ b/dev-python/OutputCheck/OutputCheck-0.4.2.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 
 inherit distutils-r1
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/OutputCheck/
@ 2023-03-04  6:17 Arthur Zamarin
  0 siblings, 0 replies; 5+ messages in thread
From: Arthur Zamarin @ 2023-03-04  6:17 UTC (permalink / raw
  To: gentoo-commits

commit:     d6efcd56238ef0e9a2911d28c9391556c5b43aa9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  4 06:16:47 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar  4 06:16:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6efcd56

dev-python/OutputCheck: Stabilize 0.4.2-r1 amd64, #899200

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild
index fc9ebef88ec2..814333b341ff 100644
--- a/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild
+++ b/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/OutputCheck/
@ 2024-04-14 15:33 Maciej Barć
  0 siblings, 0 replies; 5+ messages in thread
From: Maciej Barć @ 2024-04-14 15:33 UTC (permalink / raw
  To: gentoo-commits

commit:     601ff8e7c43f665f613c7130dfc67e5695f2667a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 14 14:52:53 2024 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sun Apr 14 15:33:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=601ff8e7

dev-python/OutputCheck: enable py3.12 compat

Closes: https://bugs.gentoo.org/929474
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 ...heck-0.4.2-r1.ebuild => OutputCheck-0.4.2-r2.ebuild} | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild
similarity index 56%
rename from dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild
rename to dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild
index 814333b341ff..01ac4eea4db6 100644
--- a/dev-python/OutputCheck/OutputCheck-0.4.2-r1.ebuild
+++ b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild
@@ -1,16 +1,17 @@
-# Copyright 1999-2023 Gentoo Authors
+# 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_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
 
 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"
+SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz
+	-> ${P}.gh.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -20,20 +21,18 @@ RESTRICT="!test? ( test )"
 
 BDEPEND="test? ( dev-python/lit[${PYTHON_USEDEP}] )"
 
-PATCHES=( "${FILESDIR}"/${P}-Driver.patch )
+PATCHES=( "${FILESDIR}/${PN}-0.4.2-Driver.patch" )
 
 src_prepare() {
 	distutils-r1_src_prepare
 
 	# Remove bad tests.
-	rm "${S}"/tests/invalid-regex-syntax.smt2 ||
-		die "failed to 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"
+	echo "${PV}" > "${S}/RELEASE-VERSION" || die "failed to write RELEASE-VERSION"
 }
 
 python_test() {
-	lit --verbose "${S}"/tests || die "running test with ${EPYTHON} failed"
+	lit --verbose "${S}/tests" || die "running test with ${EPYTHON} failed"
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: dev-python/OutputCheck/
@ 2024-11-22 19:30 Michał Górny
  0 siblings, 0 replies; 5+ messages in thread
From: Michał Górny @ 2024-11-22 19:30 UTC (permalink / raw
  To: gentoo-commits

commit:     ff5538d16e85efe7d3b5792f4fd2afdbe65c1d00
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 22 19:26:37 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 19:30:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff5538d1

dev-python/OutputCheck: Add MY_P prior to rename

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild | 27 ++++++++++++++++------
 1 file changed, 20 insertions(+), 7 deletions(-)

diff --git a/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild
index 01ac4eea4db6..9ba13e596a42 100644
--- a/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild
+++ b/dev-python/OutputCheck/OutputCheck-0.4.2-r2.ebuild
@@ -4,14 +4,21 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{9..12} )
+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/"
-SRC_URI="https://github.com/stp/${PN}/archive/${PV}.tar.gz
-	-> ${P}.gh.tar.gz"
+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"
@@ -19,11 +26,17 @@ KEYWORDS="amd64 ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-BDEPEND="test? ( dev-python/lit[${PYTHON_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}/${PN}-0.4.2-Driver.patch" )
+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.


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-22 19:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-04  6:17 [gentoo-commits] repo/gentoo:master commit in: dev-python/OutputCheck/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2024-11-22 19:30 Michał Górny
2024-04-14 15:33 Maciej Barć
2023-01-16  1:57 Maciej Barć
2022-10-06 14:27 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox