summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-06-28 19:09:05 +0200
committerMichał Górny <mgorny@gentoo.org>2023-06-28 19:17:30 +0200
commitbfd9fe112a32d8f23cd1cb24b64dd6df57efaa08 (patch)
tree5d3ce9ca86d336bf55629be07ec971e27c1ef1a2 /dev-python/pytest-datafiles
parentapp-portage/pycargoebuild: Bump to 0.10 (diff)
downloadgentoo-bfd9fe112a32d8f23cd1cb24b64dd6df57efaa08.tar.gz
gentoo-bfd9fe112a32d8f23cd1cb24b64dd6df57efaa08.tar.bz2
gentoo-bfd9fe112a32d8f23cd1cb24b64dd6df57efaa08.zip
dev-python/pytest-datafiles: New package, v3.0.0
New dependency of dev-python/cx_Freeze. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/pytest-datafiles')
-rw-r--r--dev-python/pytest-datafiles/Manifest1
-rw-r--r--dev-python/pytest-datafiles/metadata.xml12
-rw-r--r--dev-python/pytest-datafiles/pytest-datafiles-3.0.0.ebuild29
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/pytest-datafiles/Manifest b/dev-python/pytest-datafiles/Manifest
new file mode 100644
index 000000000000..dffc6036a7e7
--- /dev/null
+++ b/dev-python/pytest-datafiles/Manifest
@@ -0,0 +1 @@
+DIST pytest-datafiles-3.0.0.gh.tar.gz 69479 BLAKE2B 26838e819f386d78eddaa90b00588bc9c72eb94521ab7bf501bd0aa681c7149827332f5d1530950f07b8419276735600c64cc87904e59929941d7a48f730e90b SHA512 8fe42d10b4e96e6df89a448e6b2f929973ce20d9d7c509afb87adb230b1dae17f098540277432ab107575c6c44c34d353fb8c1213d5ed941a3025b524249394d
diff --git a/dev-python/pytest-datafiles/metadata.xml b/dev-python/pytest-datafiles/metadata.xml
new file mode 100644
index 000000000000..6556c9854a3c
--- /dev/null
+++ b/dev-python/pytest-datafiles/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="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">omarkohl/pytest-datafiles</remote-id>
+ <remote-id type="pypi">pytest-datafiles</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pytest-datafiles/pytest-datafiles-3.0.0.ebuild b/dev-python/pytest-datafiles/pytest-datafiles-3.0.0.ebuild
new file mode 100644
index 000000000000..63e219c09aa8
--- /dev/null
+++ b/dev-python/pytest-datafiles/pytest-datafiles-3.0.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Create a 'tmp_path' containing predefined files/directories"
+HOMEPAGE="
+ https://github.com/omarkohl/pytest-datafiles/
+ https://pypi.org/project/pytest-datafiles/
+"
+SRC_URI="
+ https://github.com/omarkohl/pytest-datafiles/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ >=dev-python/pytest-3.6[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest