summaryrefslogtreecommitdiff
path: root/dev-python/pytest-helpers-namespace
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-03 20:56:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-03 20:56:28 +0100
commitfbda87924e6faa7a1919f1a2b4182490bde5ec5c (patch)
treef3114a4ed212a754756adce027aeef3a4a1a2e2a /dev-python/pytest-helpers-namespace
parent3b08f674e3f771b49370edb144dab0958c8cf721 (diff)
gentoo resync : 03.09.2021
Diffstat (limited to 'dev-python/pytest-helpers-namespace')
-rw-r--r--dev-python/pytest-helpers-namespace/Manifest5
-rw-r--r--dev-python/pytest-helpers-namespace/files/pytest-helpers-namespace-2021.3.24-remove-extra-dep.patch48
-rw-r--r--dev-python/pytest-helpers-namespace/metadata.xml2
-rw-r--r--dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.3.24.ebuild41
4 files changed, 95 insertions, 1 deletions
diff --git a/dev-python/pytest-helpers-namespace/Manifest b/dev-python/pytest-helpers-namespace/Manifest
index 2a3f66e3dbfa..045416d60ead 100644
--- a/dev-python/pytest-helpers-namespace/Manifest
+++ b/dev-python/pytest-helpers-namespace/Manifest
@@ -1,3 +1,6 @@
+AUX pytest-helpers-namespace-2021.3.24-remove-extra-dep.patch 1218 BLAKE2B 1126c43aa209aa989f969e9ef04e1ddbd9502b697f46f4920234f022b380f5098f06b12fd1b9aae42d29ee61480f0db617af261da01b6ce2cf749e4b20fc06b9 SHA512 67fac2cd8ff09b6e104ceb2c7c239316444a9ac9e361ca2dfb152118bf540ab64eb336dd6a02a2c30a1579d47f3aad64789a5f95f9298f28a696219312af1bc6
+DIST pytest-helpers-namespace-2021.3.24.gh.tar.gz 25881 BLAKE2B d13e82eebf09b4acb1d8fb9d3609f8814a49bfd0df56f23fe6f3fe3fa1508c4f1ac338b3f75e1e97ae90f71cae548dd100548d23cdbaa6c4bdb76cdb6e3d4a41 SHA512 1914427a4805a168d4067cd5db5663d28e3ff680f612e70a169a7efbc6c2c7ba0e2dc74132595aa70e13b651886bd10a6947e56558edf22b871618c967537073
DIST pytest-helpers-namespace-v2019.1.8.tar.gz 10274 BLAKE2B 1d232817e99909738f7f37466ba22fbeadf75f4fbfdd9b61790dd79418bedbce4ee219e5102ee2db1709ba991e323ce6edffc68c4e3a657c58cb628b505de098 SHA512 d5f4db3ece8b0e1719c4d1213a5e07a3c53257b089d3d74f90cf86f21a7951983a95286c7753f5e9486acc7e482d79c2a95d5a7b8eb22e19c7048db99fa3c421
EBUILD pytest-helpers-namespace-2019.1.8-r1.ebuild 829 BLAKE2B 345691a4f76889eaf53383b98c90a4180928c1e30d5b1e392ed2f9105dfa6dea85d9a8e40ea12371681eea0ccdd3bd5774dd17c2ea52532aabeb807c5f3e561d SHA512 af664d73031b7474bbda6e117034cfd82a9a1c2291a5439cd8395d18041aac1dae2eadebfe976c4affc4ae752da3f6b5bda8ab513b1f80a5e62d02a69daa6479
-MISC metadata.xml 415 BLAKE2B 6a073523c1bc77be20e0332514be3e351f5d83a22b5b03f4445ef136c37ffa07e779e32ae9f254306f2af2541ab47b2246ba7556a954b135b0fa70467688b09b SHA512 52e0c48feaa7d06214876c9efe87eaf0f27785aa095c013c5d6365e2a277eb56ef894a1bf5de754779d84ab38ab6deba2b5a68aa338b8d5735c6942beb214bc2
+EBUILD pytest-helpers-namespace-2021.3.24.ebuild 814 BLAKE2B cfbca5b665932c27cd606e7e5423127a4752a0c5b8b88ff838f202d2ec605c386dccd368fb407d3411488327ee05d117cb7ed40d98480aa45aa6a3bcc0bea20b SHA512 21561af5a4eda4bb97d0da12b8a0830be0effbea5562ece6443a209da5d1fe1d831a6801cbb0c77aed5abfcacfb4459732e49ea6dbc1554b64f7360d7bcb1ec4
+MISC metadata.xml 513 BLAKE2B b5e786ee2d5ed4db3cabcd9e31fd3f97d2b805ba996244bb684c61df69b116d7f4647ebe5737d8e238c4b614ea5d7ebbf8090c815b770ac3e8c26d51d3df8130 SHA512 c20c2d3e08201b4e3dcd2553a0cb33095cd1e6a5822cd09b4cbe5d7371d06179dd55fb45a2bf88e1fd45e566e77a94d47441bb6c626bc32e4ca2b27e07b06458
diff --git a/dev-python/pytest-helpers-namespace/files/pytest-helpers-namespace-2021.3.24-remove-extra-dep.patch b/dev-python/pytest-helpers-namespace/files/pytest-helpers-namespace-2021.3.24-remove-extra-dep.patch
new file mode 100644
index 000000000000..5bde4bccd537
--- /dev/null
+++ b/dev-python/pytest-helpers-namespace/files/pytest-helpers-namespace-2021.3.24-remove-extra-dep.patch
@@ -0,0 +1,48 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,7 +1,3 @@
+ [build-system]
+ requires = ["setuptools>=50.3.2", "wheel", "setuptools-declarative-requirements", "setuptools_scm[toml]>=3.4"]
+ build-backend = "setuptools.build_meta"
+-
+-[tool.setuptools_scm]
+-write_to = "src/pytest_helpers_namespace/version.py"
+-write_to_template = "__version__ = \"{version}\""
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -1,4 +1,5 @@
+ [metadata]
++version = @PV@
+ name = pytest-helpers-namespace
+ description = Pytest Helpers Namespace Plugin
+ long_description = file: README.rst
+@@ -34,21 +35,12 @@ packages = find:
+ python_requires = >= 3.5
+ setup_requires =
+ setuptools>=50.3.2
+- setuptools_scm[toml]>=3.4
+- setuptools-declarative-requirements
+
+ [options.packages.find]
+ where = src
+ exclude =
+ tests
+
+-[requirements-files]
+-install_requires = requirements/base.txt
+-extras_require =
+- docs = requirements/docs.txt
+- lint = requirements/lint.txt
+- tests = requirements/tests.txt
+-
+ [options.entry_points]
+ pytest11 =
+ helpers_namespace = pytest_helpers_namespace.plugin
+--- a/setup.py
++++ b/setup.py
+@@ -2,4 +2,4 @@
+ import setuptools
+
+ if __name__ == "__main__":
+- setuptools.setup(use_scm_version=True)
++ setuptools.setup()
diff --git a/dev-python/pytest-helpers-namespace/metadata.xml b/dev-python/pytest-helpers-namespace/metadata.xml
index 8e6e23408c47..3e58650c4ebc 100644
--- a/dev-python/pytest-helpers-namespace/metadata.xml
+++ b/dev-python/pytest-helpers-namespace/metadata.xml
@@ -8,7 +8,9 @@
<email>chutzpah@gentoo.org</email>
<name>Patrick McLean</name>
</maintainer>
+ <stabilize-allarches/>
<upstream>
<remote-id type="pypi">pytest-helpers-namespace</remote-id>
+ <remote-id type="github">saltstack/pytest-helpers-namespace</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.3.24.ebuild b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.3.24.ebuild
new file mode 100644
index 000000000000..68c0ee8e6852
--- /dev/null
+++ b/dev-python/pytest-helpers-namespace/pytest-helpers-namespace-2021.3.24.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Provides a helpers pytest namespace"
+HOMEPAGE="https://github.com/saltstack/pytest-helpers-namespace"
+SRC_URI="
+ https://github.com/saltstack/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/pytest-forked[${PYTHON_USEDEP}]
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${P}-remove-extra-dep.patch"
+)
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+ sed -e "s/@PV@/${PV}/" -i setup.cfg || die
+}
+
+python_test() {
+ distutils_install_for_testing
+ epytest --forked
+}