public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Anna Vyalkova" <cyber+gentoo@sysrq.in>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-cases/
Date: Sun,  9 Jan 2022 00:01:21 +0000 (UTC)	[thread overview]
Message-ID: <1641686471.2e1dabbb84a0fcd84c277b34bcc5e737a53484d0.cybertailor@gentoo> (raw)

commit:     2e1dabbb84a0fcd84c277b34bcc5e737a53484d0
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Jan  8 21:57:35 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=2e1dabbb

dev-python/pytest-cases: initial import

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

 dev-python/pytest-cases/Manifest                  |  1 +
 dev-python/pytest-cases/metadata.xml              | 17 +++++++++
 dev-python/pytest-cases/pytest-cases-3.6.8.ebuild | 43 +++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/dev-python/pytest-cases/Manifest b/dev-python/pytest-cases/Manifest
new file mode 100644
index 000000000..7e14bb641
--- /dev/null
+++ b/dev-python/pytest-cases/Manifest
@@ -0,0 +1 @@
+DIST pytest-cases-3.6.8.tar.gz 1080234 BLAKE2B 37a0428e7120144f7cc11a6d1196d2766e32f0a1fcd782dd759f0ae7197f852fb6b99fbd6f93b266f6026d086b31942352360146369d9f0f370a8785bbe6b448 SHA512 9b45da6f5bc8d64f6ff1a32782e2b52ea75e38300d630c0a261bbef4ab61c23b15bd71a07b33ae19cb363a31eb384510e014ceb6148c04c4a705e58de0442d11

diff --git a/dev-python/pytest-cases/metadata.xml b/dev-python/pytest-cases/metadata.xml
new file mode 100644
index 000000000..4fbac7824
--- /dev/null
+++ b/dev-python/pytest-cases/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-cases</remote-id>
+		<remote-id type="github">smarie/python-pytest-cases</remote-id>
+		<doc>https://smarie.github.io/python-pytest-cases/</doc>
+		<maintainer>
+			<email>sylvain.marie@schneider-electric.com</email>
+			<name>Sylvain Marie</name>
+		</maintainer>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-python/pytest-cases/pytest-cases-3.6.8.ebuild b/dev-python/pytest-cases/pytest-cases-3.6.8.ebuild
new file mode 100644
index 000000000..6509aaa21
--- /dev/null
+++ b/dev-python/pytest-cases/pytest-cases-3.6.8.ebuild
@@ -0,0 +1,43 @@
+# 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="Separate test code from test cases in pytest"
+HOMEPAGE="https://pypi.org/project/pytest-cases/ https://github.com/smarie/python-pytest-cases"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+	dev-python/decopatch[${PYTHON_USEDEP}]
+	>=dev-python/makefun-1.9.5[${PYTHON_USEDEP}]
+	dev-python/six[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]
+	test? (
+		dev-python/pytest-asyncio[${PYTHON_USEDEP}]
+		dev-python/pytest-harvest[${PYTHON_USEDEP}]
+		dev-python/pytest-steps[${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
+}


             reply	other threads:[~2022-01-09  0:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-09  0:01 Anna Vyalkova [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-02-09  0:24 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pytest-cases/ Anna Vyalkova
2022-03-31  7:24 Anna Vyalkova
2022-05-30 19:26 Anna Vyalkova
2022-12-12 11:44 Anna Vyalkova
2023-02-25 23:27 Anna Vyalkova
2023-02-28 10:09 Anna Vyalkova
2024-01-26 10:06 Takuya Wakazono
2024-01-26 10:06 Takuya Wakazono

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641686471.2e1dabbb84a0fcd84c277b34bcc5e737a53484d0.cybertailor@gentoo \
    --to=cyber+gentoo@sysrq.in \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox