public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-syrupy/
@ 2023-02-08 15:59 Henri Gasc
  0 siblings, 0 replies; 4+ messages in thread
From: Henri Gasc @ 2023-02-08 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     92a8199032aca6c48ea7860e3d46e0ad0f856cfa
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Feb  7 12:48:28 2023 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Wed Feb  8 15:59:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=92a81990

dev-python/pytest-syrupy: new package, add 4.0.0

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/pytest-syrupy/Manifest                  |  1 +
 dev-python/pytest-syrupy/metadata.xml              | 12 ++++++
 .../pytest-syrupy/pytest-syrupy-4.0.0.ebuild       | 43 ++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-python/pytest-syrupy/Manifest b/dev-python/pytest-syrupy/Manifest
new file mode 100644
index 000000000..5b1ce1c0d
--- /dev/null
+++ b/dev-python/pytest-syrupy/Manifest
@@ -0,0 +1 @@
+DIST pytest-syrupy-4.0.0.gh.tar.gz 2294943 BLAKE2B ac968eaaccfb4258237af165bf576a635ac858b0e8b52b2089b99b1dcfd3d49cc16bd7550ceb95809340a0e568fb37081e3c59820be8292fbe55f0223dc5dffa SHA512 006a28283c1ba148845bc4f447b066112a791adf47d405ce0351a25d2f100c64240719531ec62ed83f6c2a899f8d4ddeec9209fa152a290b6bb4e7b0e6ed1797

diff --git a/dev-python/pytest-syrupy/metadata.xml b/dev-python/pytest-syrupy/metadata.xml
new file mode 100644
index 000000000..2bfa8b7ba
--- /dev/null
+++ b/dev-python/pytest-syrupy/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gasc@eurecom.fr</email>
+		<name>Gasc Henri</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="pypi">syrupy</remote-id>
+		<remote-id type="github">tophat/syrupy</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild b/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild
new file mode 100644
index 000000000..4572bf367
--- /dev/null
+++ b/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_10 )
+
+inherit distutils-r1
+
+DESCRIPTION="The sweeter pytest snapshot plugin"
+HOMEPAGE="https://github.com/tophat/syrupy https://pypi.org/project/syrupy"
+SRC_URI="https://github.com/tophat/syrupy/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
+S="${WORKDIR}/syrupy-${PV}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+	dev-python/rich[${PYTHON_USEDEP}]
+	dev-python/typing-extensions[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-lang/python
+	dev-python/poetry-core[${PYTHON_USEDEP}]
+	dev-python/colored[${PYTHON_USEDEP}]
+	dev-python/pytest[${PYTHON_USEDEP}]
+	test? (
+		dev-python/codecov[${PYTHON_USEDEP}]
+		dev-python/invoke[${PYTHON_USEDEP}]
+		dev-python/coverage[${PYTHON_USEDEP}]
+		dev-python/pytest-benchmark[${PYTHON_USEDEP}]
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	)
+"
+DEPEND="
+	${BDEPEND}
+	${RDEPEND}
+"
+
+distutils_enable_tests pytest


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-syrupy/
@ 2023-02-08 20:53 Henri Gasc
  0 siblings, 0 replies; 4+ messages in thread
From: Henri Gasc @ 2023-02-08 20:53 UTC (permalink / raw
  To: gentoo-commits

commit:     72d91d3e023f5f0a7535a009ff9d83c8adfcf8e3
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Wed Feb  8 20:43:47 2023 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Wed Feb  8 20:43:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=72d91d3e

dev-python/pytest-syrupy: remove useless variables

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild b/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild
index 4572bf367..240c594c4 100644
--- a/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild
+++ b/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild
@@ -16,14 +16,12 @@ S="${WORKDIR}/syrupy-${PV}"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="test"
 
 RDEPEND="
 	dev-python/rich[${PYTHON_USEDEP}]
 	dev-python/typing-extensions[${PYTHON_USEDEP}]
 "
 BDEPEND="
-	dev-lang/python
 	dev-python/poetry-core[${PYTHON_USEDEP}]
 	dev-python/colored[${PYTHON_USEDEP}]
 	dev-python/pytest[${PYTHON_USEDEP}]


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-syrupy/
@ 2024-04-13 12:31 Henri Gasc
  0 siblings, 0 replies; 4+ messages in thread
From: Henri Gasc @ 2024-04-13 12:31 UTC (permalink / raw
  To: gentoo-commits

commit:     26fa58e0c5f55a8c5247563c65de3abbad997dd8
Author:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sat Apr 13 12:31:25 2024 +0000
Commit:     Henri Gasc <gasc <AT> eurecom <DOT> fr>
CommitDate: Sat Apr 13 12:31:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26fa58e0

dev-python/pytest-syrupy: add 4.0.1, drop 4.0.0

Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>

 dev-python/pytest-syrupy/Manifest                   |  2 +-
 ...rupy-4.0.0.ebuild => pytest-syrupy-4.0.1.ebuild} | 21 ++++++++++-----------
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/dev-python/pytest-syrupy/Manifest b/dev-python/pytest-syrupy/Manifest
index 5b1ce1c0d9..e5300f6175 100644
--- a/dev-python/pytest-syrupy/Manifest
+++ b/dev-python/pytest-syrupy/Manifest
@@ -1 +1 @@
-DIST pytest-syrupy-4.0.0.gh.tar.gz 2294943 BLAKE2B ac968eaaccfb4258237af165bf576a635ac858b0e8b52b2089b99b1dcfd3d49cc16bd7550ceb95809340a0e568fb37081e3c59820be8292fbe55f0223dc5dffa SHA512 006a28283c1ba148845bc4f447b066112a791adf47d405ce0351a25d2f100c64240719531ec62ed83f6c2a899f8d4ddeec9209fa152a290b6bb4e7b0e6ed1797
+DIST pytest-syrupy-4.0.1.gh.tar.gz 2300053 BLAKE2B 875465e5bfc6462535125f374906f29392c0fdb957eb4efe1fa9a38882f10e200af69065bc3190f224270d59e73f531b3d0c017d2686068f1abd4cb8e2cbcd89 SHA512 6f786e40e1700077b0fd98f5ca794d749666945dff89388d07a9c58c538b077835b107358eaa66d4ad1d7e50bea1964371c6428ab9597868f9005ae8b4e2d874

diff --git a/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild b/dev-python/pytest-syrupy/pytest-syrupy-4.0.1.ebuild
similarity index 69%
rename from dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild
rename to dev-python/pytest-syrupy/pytest-syrupy-4.0.1.ebuild
index 240c594c42..93ef0efb21 100644
--- a/dev-python/pytest-syrupy/pytest-syrupy-4.0.0.ebuild
+++ b/dev-python/pytest-syrupy/pytest-syrupy-4.0.1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..12} )
 
 inherit distutils-r1
 
@@ -17,25 +17,24 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
 
+DOCS=( README.md CHANGELOG.md )
+
 RDEPEND="
 	dev-python/rich[${PYTHON_USEDEP}]
-	dev-python/typing-extensions[${PYTHON_USEDEP}]
 "
 BDEPEND="
-	dev-python/poetry-core[${PYTHON_USEDEP}]
 	dev-python/colored[${PYTHON_USEDEP}]
-	dev-python/pytest[${PYTHON_USEDEP}]
 	test? (
-		dev-python/codecov[${PYTHON_USEDEP}]
 		dev-python/invoke[${PYTHON_USEDEP}]
-		dev-python/coverage[${PYTHON_USEDEP}]
 		dev-python/pytest-benchmark[${PYTHON_USEDEP}]
 		dev-python/pytest-xdist[${PYTHON_USEDEP}]
 	)
 "
-DEPEND="
-	${BDEPEND}
-	${RDEPEND}
-"
+DEPEND="${RDEPEND}"
 
 distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+	# Seems like the output changed but the tests did not
+	tests/integration/test_pytest_extension.py::test_ignores_non_function_nodes
+)


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-syrupy/
  2024-04-15  9:34 [gentoo-commits] repo/proj/guru:master " Julien Roy
@ 2024-04-15  9:26 ` Julien Roy
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Roy @ 2024-04-15  9:26 UTC (permalink / raw
  To: gentoo-commits

commit:     1e595e75665ad264288ac64b7e3e0c4cffdc4352
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Apr 15 09:23:42 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Apr 15 09:23:42 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e595e75

dev-python/pytest-syrupy: disable py3.10

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

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

diff --git a/dev-python/pytest-syrupy/pytest-syrupy-4.0.1.ebuild b/dev-python/pytest-syrupy/pytest-syrupy-4.0.1.ebuild
index 93ef0efb21..ee41252f18 100644
--- a/dev-python/pytest-syrupy/pytest-syrupy-4.0.1.ebuild
+++ b/dev-python/pytest-syrupy/pytest-syrupy-4.0.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit distutils-r1
 


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

end of thread, other threads:[~2024-04-15  9:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-08 15:59 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-syrupy/ Henri Gasc
  -- strict thread matches above, loose matches on Subject: below --
2023-02-08 20:53 Henri Gasc
2024-04-13 12:31 Henri Gasc
2024-04-15  9:34 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-04-15  9:26 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

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