public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/
@ 2023-07-08  0:52 Marek Szuba
  0 siblings, 0 replies; 6+ messages in thread
From: Marek Szuba @ 2023-07-08  0:52 UTC (permalink / raw
  To: gentoo-commits

commit:     49d7fbe423834409e0f747ca20525b3461921cd2
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  7 23:42:07 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 00:52:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49d7fbe4

dev-python/pytest-golden: new package, add 0.2.2

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-python/pytest-golden/Manifest                  |  1 +
 dev-python/pytest-golden/metadata.xml              | 13 +++++++++
 .../pytest-golden/pytest-golden-0.2.2.ebuild       | 31 ++++++++++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/dev-python/pytest-golden/Manifest b/dev-python/pytest-golden/Manifest
new file mode 100644
index 000000000000..72e21b9924b0
--- /dev/null
+++ b/dev-python/pytest-golden/Manifest
@@ -0,0 +1 @@
+DIST pytest-golden-0.2.2.gh.tar.gz 11928 BLAKE2B efe7af645d643f265c629f8b7f96298554c68f0c91f27e99fa65b520986d60e8ac95bcbfb631f390b0734e6892a041ea7c89c0b12e0c8c9a652bd4af0e107e81 SHA512 77c4395949eaf58f29999f3f68a7bac2a644a6404a02efcf628a35270f6c03b45550391357fad1208fb13ea3dc7d33704346984c821f1a6663cb715d240384b7

diff --git a/dev-python/pytest-golden/metadata.xml b/dev-python/pytest-golden/metadata.xml
new file mode 100644
index 000000000000..8eb191339305
--- /dev/null
+++ b/dev-python/pytest-golden/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>marecki@gentoo.org</email>
+		<name>Marek Szuba</name>
+	</maintainer>
+	<stabilize-allarches/>
+	<upstream>
+		<remote-id type="pypi">pytest-golden</remote-id>
+		<remote-id type="github">oprypin/pytest-golden</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
new file mode 100644
index 000000000000..3ad9c0b434be
--- /dev/null
+++ b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Plugin for pytest that offloads expected outputs to data files"
+HOMEPAGE="
+	https://github.com/oprypin/pytest-golden
+	https://pypi.org/project/pytest-golden/
+"
+# No tests in PyPI tarballs
+SRC_URI="https://github.com/oprypin/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}]
+	>=dev-python/pytest-6.1.2[${PYTHON_USEDEP}]
+	>=dev-python/ruamel-yaml-0.16.12[${PYTHON_USEDEP}]
+	<dev-python/ruamel-yaml-1.0[${PYTHON_USEDEP}]
+	>=dev-python/testfixtures-6.15.0[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest


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

* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/
@ 2023-07-08 23:39 Marek Szuba
  0 siblings, 0 replies; 6+ messages in thread
From: Marek Szuba @ 2023-07-08 23:39 UTC (permalink / raw
  To: gentoo-commits

commit:     41b4068e01a35a28e05d81ccda8cbc7fe9b746c0
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  8 22:43:54 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Jul  8 23:39:19 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41b4068e

dev-python/pytest-golden: keyword 0.2.2 for ~riscv

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 dev-python/pytest-golden/pytest-golden-0.2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
index 3ad9c0b434be..3087ff87091d 100644
--- a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
+++ b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/oprypin/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 
 RDEPEND="
 	>=dev-python/atomicwrites-1.4.0[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/
@ 2023-07-23 15:29 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2023-07-23 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     09fe687a4883a728e848dbdb32d584aa2beded37
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 15:24:42 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 15:29:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09fe687a

dev-python/pytest-golden: Enable py3.12

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

 dev-python/pytest-golden/pytest-golden-0.2.2.ebuild | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
index 3087ff87091d..343ed09d482b 100644
--- a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
+++ b/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
@@ -4,17 +4,20 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
 DESCRIPTION="Plugin for pytest that offloads expected outputs to data files"
 HOMEPAGE="
-	https://github.com/oprypin/pytest-golden
+	https://github.com/oprypin/pytest-golden/
 	https://pypi.org/project/pytest-golden/
 "
 # No tests in PyPI tarballs
-SRC_URI="https://github.com/oprypin/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+SRC_URI="
+	https://github.com/oprypin/pytest-golden/archive/v${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
 
 LICENSE="MIT"
 SLOT="0"
@@ -29,3 +32,9 @@ RDEPEND="
 "
 
 distutils_enable_tests pytest
+
+python_test() {
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	local -x PYTEST_PLUGINS=pytest_golden.plugin
+	epytest -x
+}


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

* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/
@ 2023-07-23 15:29 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2023-07-23 15:29 UTC (permalink / raw
  To: gentoo-commits

commit:     6f9da6548b19e644c770a635a8f4792839e9cd1a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 23 15:27:11 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 23 15:29:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f9da654

dev-python/pytest-golden: Unpin dependencies

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

 .../{pytest-golden-0.2.2.ebuild => pytest-golden-0.2.2-r1.ebuild}   | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
similarity index 90%
rename from dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
rename to dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
index 343ed09d482b..e4f8e404860f 100644
--- a/dev-python/pytest-golden/pytest-golden-0.2.2.ebuild
+++ b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
@@ -33,6 +33,12 @@ RDEPEND="
 
 distutils_enable_tests pytest
 
+src_prepare() {
+	# poetry, sigh
+	sed -i -e 's:\^:>=:' pyproject.toml || die
+	distutils-r1_src_prepare
+}
+
 python_test() {
 	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
 	local -x PYTEST_PLUGINS=pytest_golden.plugin


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

* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/
@ 2024-06-28 11:38 Michał Górny
  0 siblings, 0 replies; 6+ messages in thread
From: Michał Górny @ 2024-06-28 11:38 UTC (permalink / raw
  To: gentoo-commits

commit:     f16097cd126419df3e5033c6e01eb5059a299896
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 11:33:46 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 11:38:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f16097cd

dev-python/pytest-golden: Add python@ as maintainer

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

 dev-python/pytest-golden/metadata.xml | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-golden/metadata.xml b/dev-python/pytest-golden/metadata.xml
index 82d4be6bd96e..d96c8fa54a8f 100644
--- a/dev-python/pytest-golden/metadata.xml
+++ b/dev-python/pytest-golden/metadata.xml
@@ -1,7 +1,10 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+		<name>Python</name>
+	</maintainer>
 	<stabilize-allarches/>
 	<upstream>
 		<remote-id type="pypi">pytest-golden</remote-id>


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

* [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/
@ 2024-06-30 11:51 Petr Vaněk
  0 siblings, 0 replies; 6+ messages in thread
From: Petr Vaněk @ 2024-06-30 11:51 UTC (permalink / raw
  To: gentoo-commits

commit:     05f10e35c8fdc8b9951f0c2860057023c34bbc97
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 30 11:20:38 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 11:51:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05f10e35

dev-python/pytest-golden: enable py3.13

Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
index f27b7bd47795..a34d82d4ebc4 100644
--- a/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
+++ b/dev-python/pytest-golden/pytest-golden-0.2.2-r1.ebuild
@@ -1,10 +1,10 @@
-# 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=poetry
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 inherit distutils-r1
 


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

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-23 15:29 [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-golden/ Michał Górny
  -- strict thread matches above, loose matches on Subject: below --
2024-06-30 11:51 Petr Vaněk
2024-06-28 11:38 Michał Górny
2023-07-23 15:29 Michał Górny
2023-07-08 23:39 Marek Szuba
2023-07-08  0:52 Marek Szuba

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