summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-10-31 16:28:03 +0100
committerMichał Górny <mgorny@gentoo.org>2022-10-31 16:49:17 +0100
commit7134e81605900c5f0962fc7769de2439d9ba73d3 (patch)
treeed2a697c5119e7dbf62ac9bd5216f3f86beb96bc /dev-python/pytest-metadata
parentdev-python/pytest-metadata: Remove old (diff)
downloadgentoo-7134e81605900c5f0962fc7769de2439d9ba73d3.tar.gz
gentoo-7134e81605900c5f0962fc7769de2439d9ba73d3.tar.bz2
gentoo-7134e81605900c5f0962fc7769de2439d9ba73d3.zip
dev-python/pytest-metadata: Bump to 2.0.4
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-metadata')
-rw-r--r--dev-python/pytest-metadata/Manifest1
-rw-r--r--dev-python/pytest-metadata/pytest-metadata-2.0.4.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/pytest-metadata/Manifest b/dev-python/pytest-metadata/Manifest
index d2f1852454ba..13a9ecba58bd 100644
--- a/dev-python/pytest-metadata/Manifest
+++ b/dev-python/pytest-metadata/Manifest
@@ -1 +1,2 @@
DIST pytest-metadata-2.0.3.gh.tar.gz 20078 BLAKE2B 269f8b10aad3dda94ea3f1e2655d6e0be371211138774e8662395197f483917ec8098c3acb2b792f4dfe08d7ada21fd062754dbd2be49cfadb50823a32858e09 SHA512 423b61ffd038fe94b7d09a7e2cf2ef71782c8b41504831e0f9479b3423bdd24da730464ba5e90ea1c4dda32a9f2ad935448caf48427f08f7e93c9021f1e73625
+DIST pytest-metadata-2.0.4.gh.tar.gz 20112 BLAKE2B c7f51b614f2bbb71bd77036c3e71dea26b323a236decee3d74ceb7777dc0d28795c69707af33639154effd6cdd294446d3152597075e4d24dcab5b5fe6d7dff7 SHA512 029a45a3b721841f50f5b96d2edc21b02e59d2b414313e467d232081da048ee1c60dd1d41407a040b6fd65442e70fb538f913523dfddeb8978ea33e36afe341a
diff --git a/dev-python/pytest-metadata/pytest-metadata-2.0.4.ebuild b/dev-python/pytest-metadata/pytest-metadata-2.0.4.ebuild
new file mode 100644
index 000000000000..9d0247fc2385
--- /dev/null
+++ b/dev-python/pytest-metadata/pytest-metadata-2.0.4.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{8..11} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="A plugin for pytest that provides access to test session metadata"
+HOMEPAGE="
+ https://github.com/pytest-dev/pytest-metadata/
+ https://pypi.org/project/pytest-metadata/
+"
+SRC_URI="
+ https://github.com/pytest-dev/pytest-metadata/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND="
+ <dev-python/pytest-8[${PYTHON_USEDEP}]
+ >=dev-python/pytest-7.1.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ >=dev-python/setuptools_scm-6.2.3[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}