public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-steps/
@ 2022-01-09  0:01 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2022-01-09  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     a6009517c78c301912070be4e11a70c1cbb64aa9
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jan  8 21:59:07 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sun Jan  9 00:01:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6009517

dev-python/pytest-steps: initial import

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pytest-steps/Manifest                  |  1 +
 dev-python/pytest-steps/metadata.xml              | 17 ++++++++
 dev-python/pytest-steps/pytest-steps-1.8.0.ebuild | 48 +++++++++++++++++++++++
 3 files changed, 66 insertions(+)

diff --git a/dev-python/pytest-steps/Manifest b/dev-python/pytest-steps/Manifest
new file mode 100644
index 000000000..371f81725
--- /dev/null
+++ b/dev-python/pytest-steps/Manifest
@@ -0,0 +1 @@
+DIST pytest-steps-1.8.0.tar.gz 77136 BLAKE2B 7066cb7b586db6cc12fdc0f0da61c3207c32b9eef4dd667694d4db81fde849632dadf679bf44769cb307fcf5ab54b0878a9ad571c958f53dcb1ce6217c9a1651 SHA512 a8e159ba322c7d85dad1cc063781d79fec5a3ae3b135f341db2a254034fdbd004495bac6e5252f192771d3b34638a1abf24492594a612754d50be2d4a21e236e

diff --git a/dev-python/pytest-steps/metadata.xml b/dev-python/pytest-steps/metadata.xml
new file mode 100644
index 000000000..e8349094a
--- /dev/null
+++ b/dev-python/pytest-steps/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>cyber+gentoo@sysrq.in</email>
+		<name>Anna</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="pypi">pytest-steps</remote-id>
+		<remote-id type="github">smarie/python-pytest-steps</remote-id>
+		<doc>https://smarie.github.io/python-pytest-steps/</doc>
+		<maintainer>
+			<email>sylvain.marie@schneider-electric.com</email>
+			<name>Sylvain Marie</name>
+		</maintainer>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
new file mode 100644
index 000000000..5140e90f1
--- /dev/null
+++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="dev-python/mkdocs-material"
+DOCS_DIR="docs"
+inherit distutils-r1 docs
+
+DESCRIPTION="Create step-wise / incremental tests in pytest"
+HOMEPAGE="https://pypi.org/project/pytest-steps/ https://github.com/smarie/python-pytest-steps"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	>=dev-python/makefun-1.5[${PYTHON_USEDEP}]
+	dev-python/wrapt[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]
+	test? (
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/pandas[${PYTHON_USEDEP}]
+		dev-python/pytest-cases[${PYTHON_USEDEP}]
+		dev-python/pytest-harvest[${PYTHON_USEDEP}]
+		dev-python/tabulate[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	sed "/pytest-runner/d" -i setup.cfg || die
+	distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+	docs_compile
+}
+
+python_test() {
+	epytest pytest_steps/tests --doctest-modules
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-steps/
@ 2022-12-12 11:44 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2022-12-12 11:44 UTC (permalink / raw
  To: gentoo-commits

commit:     165e7a86bf6bb5a9e5a32529a3499f076efd234e
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Dec  9 09:41:22 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon Dec 12 11:22:55 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=165e7a86

dev-python/pytest-steps: enable py3.11

Closes: https://bugs.gentoo.org/884681
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pytest-steps/pytest-steps-1.8.0.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
index 5140e90f1..076d0d225 100644
--- a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
+++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
@@ -3,10 +3,12 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
+DISTUTILS_USE_PEP517=setuptools
+
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
-DOCS_DIR="docs"
+
 inherit distutils-r1 docs
 
 DESCRIPTION="Create step-wise / incremental tests in pytest"


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-steps/
@ 2022-12-27 20:40 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2022-12-27 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     8d37bb119b3b39ae000352182c1816c164c7e4d0
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Dec 27 19:37:34 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Dec 27 20:40:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8d37bb11

dev-python/pytest-steps: fix docs build

Closes: https://bugs.gentoo.org/886047
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pytest-steps/pytest-steps-1.8.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
index 076d0d225..5c48d5d2a 100644
--- a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
+++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
@@ -8,6 +8,7 @@ DISTUTILS_USE_PEP517=setuptools
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
+DOCS_DIR="docs"
 
 inherit distutils-r1 docs
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-steps/
@ 2023-03-17 13:10 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2023-03-17 13:10 UTC (permalink / raw
  To: gentoo-commits

commit:     2235bf9528aae5e7297c4ac9bce3d116c64ca9d0
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Mar 17 13:06:29 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Fri Mar 17 13:06:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2235bf95

dev-python/pytest-steps: Use pypi.eclass

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pytest-steps/pytest-steps-1.8.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
index 4981445e4..833cdd769 100644
--- a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
+++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
@@ -5,16 +5,16 @@ EAPI=8
 
 PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
 
 DOCS_BUILDER="mkdocs"
 DOCS_DEPEND="dev-python/mkdocs-material"
 DOCS_DIR="docs"
 
-inherit distutils-r1 docs
+inherit distutils-r1 docs pypi
 
 DESCRIPTION="Create step-wise / incremental tests in pytest"
 HOMEPAGE="https://pypi.org/project/pytest-steps/ https://github.com/smarie/python-pytest-steps"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"


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

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-steps/
@ 2023-05-08 12:58 Anna Vyalkova
  0 siblings, 0 replies; 5+ messages in thread
From: Anna Vyalkova @ 2023-05-08 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     283d9d0ee6cc7a498ae30319627794f88a66d36f
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Mon May  8 12:58:30 2023 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Mon May  8 12:58:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=283d9d0e

dev-python/pytest-steps: disable broken tests

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/pytest-steps/pytest-steps-1.8.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
index e8c1e6b85..8d813d065 100644
--- a/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
+++ b/dev-python/pytest-steps/pytest-steps-1.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -35,6 +35,12 @@ BDEPEND="
 	)
 "
 
+EPYTEST_DESELECT=(
+	# tests fail with recent Pandas
+	pytest_steps/tests/test_docs_example_with_harvest.py::test_synthesis_df
+	pytest_steps/tests/test_steps_harvest.py::test_synthesis
+)
+
 distutils_enable_tests pytest
 
 python_prepare_all() {


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

end of thread, other threads:[~2023-05-08 12:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-27 20:40 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-steps/ Anna Vyalkova
  -- strict thread matches above, loose matches on Subject: below --
2023-05-08 12:58 Anna Vyalkova
2023-03-17 13:10 Anna Vyalkova
2022-12-12 11:44 Anna Vyalkova
2022-01-09  0:01 Anna Vyalkova

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