summaryrefslogtreecommitdiff
path: root/dev-python/pytest-shell-utilities
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/pytest-shell-utilities
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/pytest-shell-utilities')
-rw-r--r--dev-python/pytest-shell-utilities/Manifest6
-rw-r--r--dev-python/pytest-shell-utilities/metadata.xml4
-rw-r--r--dev-python/pytest-shell-utilities/pytest-shell-utilities-1.5.0.ebuild (renamed from dev-python/pytest-shell-utilities/pytest-shell-utilities-1.0.5.ebuild)22
3 files changed, 16 insertions, 16 deletions
diff --git a/dev-python/pytest-shell-utilities/Manifest b/dev-python/pytest-shell-utilities/Manifest
index 25014fa7d801..78be39522a89 100644
--- a/dev-python/pytest-shell-utilities/Manifest
+++ b/dev-python/pytest-shell-utilities/Manifest
@@ -1,3 +1,3 @@
-DIST pytest-shell-utilities-1.0.5.tar.gz 89489 BLAKE2B 9cd7f95c9c1691e19c320378d1c2a4e147cb6fdc35ec6f3c80dc288e70416fce67b60ac86427f1ad322b2c17de3cd762e483d63076fa291b4b7d22d7a29c9e45 SHA512 395107af9eaa13ef39d01858e1674b6dedddc2cf93b9aba61316fd8d847031e1b535cc3bf4f2899dbc7828609b7d45b500aad29bb47668be6e0453ac099e99e4
-EBUILD pytest-shell-utilities-1.0.5.ebuild 1307 BLAKE2B 08fcdd6d7166344c3ce8371b97f4ecdf784b971b927d073d0f3b30f80880664345f0028691017ec54513471aae70c3a1d242cf783e655eefccaaaf8038d65a87 SHA512 94386a1e4cf9dd2fa906191fbc636a53a0311ea76e76a0a2482d1bb2850ff49f7b98d94ba491d5d31f35f1d374445fb7fee0d0500247d1359b4c1a0130a6ebb2
-MISC metadata.xml 335 BLAKE2B 62e842ec4ec614a557cbe0360488a306fafb8db8c858615403965bbfa7766ee9388f4786c027b303e9e550b7104a3b600d678239feba18a66d77d46a51e2d33b SHA512 62b9164ddb9f3e2c9d3869027bf116bccdf3ec05f35ec6e8094fd4ab79d1ee5c142c810b2c47dc281e23b4aa0c1dfa8f48573d97ae7f45e001dbc0288203b1da
+DIST pytest-shell-utilities-1.5.0.gh.tar.gz 92287 BLAKE2B 015f78838eaff93438cbd7cd395926ac8f61653f6d27275ca87b379e5f27d60165157880e41e603823c17e639dcff91ac4f5fda1e904ad505bb9db0a577b800c SHA512 00cb5fa6979e09c90ba82928a135f644dd4056fd004f6bee8d216ca63e2cf4549f944930bf16e7a124f26a79c1b696d18ecf210bee3273343b9a90f9126f340e
+EBUILD pytest-shell-utilities-1.5.0.ebuild 1059 BLAKE2B f952a1730a3315233009193fb9a1d480bf5067a0d6b1a65facd6e2abb936486a8f4e756d828e7c90543a2ef6481e039e960f32d8c545f0ddf83e69d8c152e77a SHA512 3839b6e62221d30f0386d2b70c87d61c1f21865b0236195e653230b11ba47f97624376d7b64f0b8b2ae5c6ade347a7f71015e9e11a3bd9d417d0a62e4ee0bd05
+MISC metadata.xml 436 BLAKE2B 8cb927224ae6ac36a59818b60f8b4ef4a8d1cc4ca284934f50fbcc957ac25a417307c533d6d3728f38e98977ace3cdb106b9b62abe10a9b843a42ecdb30c97e4 SHA512 505a9f97a74581b9c7f59862186db14ab2f543cadbd05424e32541f31ff0c88295b4ed0b6dfbfa53dec1208d16275fcf99cc72c6a51c95e7f07e5392804a09cd
diff --git a/dev-python/pytest-shell-utilities/metadata.xml b/dev-python/pytest-shell-utilities/metadata.xml
index 16b2592b889f..30fe0225f1c3 100644
--- a/dev-python/pytest-shell-utilities/metadata.xml
+++ b/dev-python/pytest-shell-utilities/metadata.xml
@@ -5,6 +5,10 @@
<name>Patrick McLean</name>
<email>chutzpah@gentoo.org</email>
</maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
<upstream>
<remote-id type="pypi">pytest-shell-utilities</remote-id>
</upstream>
diff --git a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.0.5.ebuild b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.5.0.ebuild
index e28b54adeec0..8baa0cbc0b49 100644
--- a/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.0.5.ebuild
+++ b/dev-python/pytest-shell-utilities/pytest-shell-utilities-1.5.0.ebuild
@@ -5,18 +5,22 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..10} )
+
inherit distutils-r1
DESCRIPTION="pytest plugin: fixtures and code to help with running shell commands on tests"
HOMEPAGE="
https://pypi.org/project/pytest-shell-utilities/
- https://github.com/saltstack/pytest-shell-utilities
+ https://github.com/saltstack/pytest-shell-utilities/
+"
+SRC_URI="
+ https://github.com/saltstack/pytest-shell-utilities/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
"
-SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
RDEPEND="
>=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
@@ -27,7 +31,7 @@ RDEPEND="
dev-python/pytest-skip-markers[${PYTHON_USEDEP}]
"
BDEPEND="
- dev-python/wheel[${PYTHON_USEDEP}]
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest-subtests[${PYTHON_USEDEP}]
)
@@ -35,12 +39,4 @@ BDEPEND="
distutils_enable_tests pytest
-python_prepare_all() {
- sed -e "s/use_scm_version=True/version='${PV}'/" -i setup.py || die
- sed -e "/setuptools_scm/ d" -i setup.cfg || die
- sed -e "s/tool.setuptools_scm/tool.disabled/" -i pyproject.toml || die
-
- printf '__version__ = "${PV}"\n' > src/pytestshellutils/version.py || die
-
- distutils-r1_python_prepare_all
-}
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}