[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 708d569f056c5fc5ef66a144cab18d842027ce5a Author: Arthur Zamarin gentoo org> AuthorDate: Fri Nov 24 16:32:01 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Nov 24 16:32:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=708d569f dev-python/pytest-system-statistics: Stabilize 1.0.2-r2 arm64, #918334 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild index 33ba05c24c2e..2ed51c91e1d5 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild @@ -20,7 +20,7 @@ SRC_URI=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" +KEYWORDS="amd64 ~arm arm64 ~riscv x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: b9921ec9876a6ff0c9144cf2a5c4f1b250368ccd Author: Michał Górny gentoo org> AuthorDate: Sun Nov 5 17:44:43 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 5 17:55:07 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9921ec9 dev-python/pytest-system-statistics: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild index 9c2879f6d87b..33ba05c24c2e 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild @@ -4,7 +4,8 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) + inherit distutils-r1 DESCRIPTION="Pytest Plugin Which Reports System Usage Statistics"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 789ed50f978054671e42f0b220d926bfa50ab53e Author: Michał Górny gentoo org> AuthorDate: Sun Nov 5 17:44:39 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Nov 5 17:55:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789ed50f dev-python/pytest-system-statistics: Simplify setuptools-scm Signed-off-by: Michał Górny gentoo.org> .../pytest-system-statistics-1.0.2-r2.ebuild| 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild index 24f261c75ef4..9c2879f6d87b 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild @@ -12,7 +12,10 @@ HOMEPAGE=" https://pypi.org/project/pytest-system-statistics/ https://github.com/saltstack/pytest-system-statistics " -SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" +SRC_URI=" + https://github.com/saltstack/pytest-system-statistics/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="Apache-2.0" SLOT="0" @@ -26,7 +29,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}] ) @@ -38,15 +41,7 @@ PATCHES=( 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/pytestsysstats/version.py || die - - distutils-r1_python_prepare_all -} +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} python_test() { local EPYTEST_DESELECT=(
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 66c11dad28b78a4a4602b5bd7449e8342242b0b6 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 17 11:36:47 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 17 11:36:47 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66c11dad dev-python/pytest-system-statistics: Add GH remote-id Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-system-statistics/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pytest-system-statistics/metadata.xml b/dev-python/pytest-system-statistics/metadata.xml index 227706a29106..30e449670acf 100644 --- a/dev-python/pytest-system-statistics/metadata.xml +++ b/dev-python/pytest-system-statistics/metadata.xml @@ -6,6 +6,7 @@ chutz...@gentoo.org + saltstack/pytest-system-statistics pytest-system-statistics
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 0c06c9fcfffc0e81a616aabf35611f6283788eb9 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 17 11:31:05 2023 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 17 11:31:05 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c06c9fc dev-python/pytest-system-statistics: Remove old Signed-off-by: Michał Górny gentoo.org> .../pytest-system-statistics-1.0.2-r1.ebuild | 49 -- 1 file changed, 49 deletions(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild deleted file mode 100644 index 253f89ca6b94.. --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{9..11} ) -inherit distutils-r1 - -DESCRIPTION="Pytest Plugin Which Reports System Usage Statistics" -HOMEPAGE=" - https://pypi.org/project/pytest-system-statistics/ - https://github.com/saltstack/pytest-system-statistics -" -SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" - -RDEPEND=" - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/pytest-skip-markers[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/wheel[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-subtests[${PYTHON_USEDEP}] - ) -" - -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/pytestsysstats/version.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest -k 'not proc_sys_stats' -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: fac09edec3c4e049a854dbb627b9a8b5c9a1c669 Author: Sam James gentoo org> AuthorDate: Sun Sep 17 05:47:02 2023 + Commit: Sam James gentoo org> CommitDate: Sun Sep 17 05:47:02 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac09ede dev-python/pytest-system-statistics: Stabilize 1.0.2-r2 x86, #914322 Signed-off-by: Sam James gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild index 0e79d7fc706a..24f261c75ef4 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 2615be35c6d1defc1c4b23271f2c763e9e2cf3a3 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Sep 17 05:06:45 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Sep 17 05:06:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2615be35 dev-python/pytest-system-statistics: Stabilize 1.0.2-r2 amd64, #914322 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild index 1b51073f1fb6..0e79d7fc706a 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/files/, dev-python/pytest-system-statistics/
commit: d7fa918e3b8de4336d6db8cdfa5b22a5a28dfb45 Author: Patrick McLean gentoo org> AuthorDate: Tue Aug 15 02:57:56 2023 + Commit: Patrick McLean gentoo org> CommitDate: Tue Aug 15 19:47:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7fa918e dev-python/pytest-system-statistics: Revbump, add fix for loading with newer setuptools Signed-off-by: Patrick McLean gentoo.org> .../pytest-system-statistics-1.0.2-loader.patch| 43 .../pytest-system-statistics-1.0.2-r2.ebuild | 57 ++ 2 files changed, 100 insertions(+) diff --git a/dev-python/pytest-system-statistics/files/pytest-system-statistics-1.0.2-loader.patch b/dev-python/pytest-system-statistics/files/pytest-system-statistics-1.0.2-loader.patch new file mode 100644 index ..6d4751759617 --- /dev/null +++ b/dev-python/pytest-system-statistics/files/pytest-system-statistics-1.0.2-loader.patch @@ -0,0 +1,43 @@ +diff --git a/src/pytestsysstats/plugin.py b/src/pytestsysstats/plugin.py +index 4009858..3067f73 100644 +--- a/src/pytestsysstats/plugin.py b/src/pytestsysstats/plugin.py +@@ -231,20 +231,17 @@ def pytest_sessionstart(session: "Session") -> None: + ): + stats_processes_instance = StatsProcesses() + stats_processes_instance.add("Test Suite Run", os.getpid()) +-else: +-stats_processes_instance = None ++session.config.pluginmanager.register(stats_processes_instance, "sysstats-processes") + +-session.config.pluginmanager.register(stats_processes_instance, "sysstats-processes") +- +-terminalreporter = session.config.pluginmanager.getplugin( +-"terminalreporter" +-) # type: "TerminalReporter" +-sys_stats_reporter = SystemStatsReporter( +-config=session.config, +-stats_processes=stats_processes_instance, +-terminalreporter=terminalreporter, +-) +-session.config.pluginmanager.register(sys_stats_reporter, "sysstats-reporter") ++terminalreporter = session.config.pluginmanager.getplugin( ++"terminalreporter" ++) # type: "TerminalReporter" ++sys_stats_reporter = SystemStatsReporter( ++config=session.config, ++stats_processes=stats_processes_instance, ++terminalreporter=terminalreporter, ++) ++session.config.pluginmanager.register(sys_stats_reporter, "sysstats-reporter") + + + @pytest.fixture(scope="session") # type: ignore[misc] +@@ -252,5 +249,5 @@ def stats_processes(request: "SubRequest") -> StatsProcesses: + """ + Session scoped process statistics tracker. + """ +-plugin = request.config.pluginmanager.get_plugin("sysstats-processes") # type: StatsProcesses +-return plugin ++if request.config.pluginmanager.has_plugin("sysstats-processes"): ++return request.config.pluginmanager.get_plugin("sysstats-processes") # type: StatsProcesses diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild new file mode 100644 index ..1b51073f1fb6 --- /dev/null +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r2.ebuild @@ -0,0 +1,57 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Pytest Plugin Which Reports System Usage Statistics" +HOMEPAGE=" + https://pypi.org/project/pytest-system-statistics/ + https://github.com/saltstack/pytest-system-statistics +" +SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/pytest-skip-markers[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}/pytest-system-statistics-1.0.2-loader.patch" +) + +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/pytestsysstats/version.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local EPYTEST_DESELECT=( + tests/functional/test_syststats.py::test_proc_sys_stats +
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 8d9db39d18786ea82091591c510cd0835a119bc9 Author: Michał Górny gentoo org> AuthorDate: Sat Dec 10 15:49:48 2022 + Commit: Michał Górny gentoo org> CommitDate: Sat Dec 10 15:49:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9db39d dev-python/pytest-system-statistics: Remove old Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-system-statistics/Manifest | 1 - .../pytest-system-statistics-1.0.2.ebuild | 49 -- 2 files changed, 50 deletions(-) diff --git a/dev-python/pytest-system-statistics/Manifest b/dev-python/pytest-system-statistics/Manifest index 1cd15b29538a..dceabab2f895 100644 --- a/dev-python/pytest-system-statistics/Manifest +++ b/dev-python/pytest-system-statistics/Manifest @@ -1,2 +1 @@ DIST pytest-system-statistics-1.0.2.gh.tar.gz 55147 BLAKE2B 9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf SHA512 1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347 -DIST pytest-system-statistics-1.0.2.tar.gz 55147 BLAKE2B 9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf SHA512 1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347 diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild deleted file mode 100644 index cfad9b945e60.. --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8..10} ) -inherit distutils-r1 - -DESCRIPTION="Pytest Plugin Which Reports System Usage Statistics" -HOMEPAGE=" - https://pypi.org/project/pytest-system-statistics/ - https://github.com/saltstack/pytest-system-statistics -" -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 ~riscv x86" - -RDEPEND=" - >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] - dev-python/attrs[${PYTHON_USEDEP}] - dev-python/psutil[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - dev-python/pytest-skip-markers[${PYTHON_USEDEP}] -" -BDEPEND=" - dev-python/wheel[${PYTHON_USEDEP}] - test? ( - dev-python/pytest-subtests[${PYTHON_USEDEP}] - ) -" - -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/pytestsysstats/version.py || die - - distutils-r1_python_prepare_all -} - -python_test() { - epytest -k 'not proc_sys_stats' -}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: c6e24effe1c9197e6a1f3f0e937d6863bb0c5eaf Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 10 14:32:28 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 10 14:32:28 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6e24eff dev-python/pytest-system-statistics: Stabilize 1.0.2-r1 x86, #885243 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild index fc05f0b09978..f2faf80969b3 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 989adac66457cdf1b34cc278def72ae2bbb38915 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 10 09:05:10 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 10 09:05:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=989adac6 dev-python/pytest-system-statistics: Stabilize 1.0.2-r1 amd64, #885243 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild index 28c76f28eac4..fc05f0b09978 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: cd5a98df0cd6bae141a203f83f4fdb010f321799 Author: Patrick McLean gentoo org> AuthorDate: Wed Nov 2 22:33:27 2022 + Commit: Patrick McLean gentoo org> CommitDate: Wed Nov 2 23:40:09 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd5a98df dev-python/pytest-system-statistics: revbump, add py311, tarball Signed-off-by: Patrick McLean gentoo.org> dev-python/pytest-system-statistics/Manifest | 1 + .../pytest-system-statistics-1.0.2-r1.ebuild | 49 ++ 2 files changed, 50 insertions(+) diff --git a/dev-python/pytest-system-statistics/Manifest b/dev-python/pytest-system-statistics/Manifest index 550382e4b516..1cd15b29538a 100644 --- a/dev-python/pytest-system-statistics/Manifest +++ b/dev-python/pytest-system-statistics/Manifest @@ -1 +1,2 @@ +DIST pytest-system-statistics-1.0.2.gh.tar.gz 55147 BLAKE2B 9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf SHA512 1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347 DIST pytest-system-statistics-1.0.2.tar.gz 55147 BLAKE2B 9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf SHA512 1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347 diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild new file mode 100644 index ..28c76f28eac4 --- /dev/null +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..11} ) +inherit distutils-r1 + +DESCRIPTION="Pytest Plugin Which Reports System Usage Statistics" +HOMEPAGE=" + https://pypi.org/project/pytest-system-statistics/ + https://github.com/saltstack/pytest-system-statistics +" +SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +RDEPEND=" + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/pytest-skip-markers[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +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/pytestsysstats/version.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest -k 'not proc_sys_stats' +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 28c6745e6ee649a487812682d739a72b2acdcc5e Author: Jakov Smolić gentoo org> AuthorDate: Mon May 30 10:05:50 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon May 30 13:51:00 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c6745e dev-python/pytest-system-statistics: keyword 1.0.2 for ~riscv Signed-off-by: Jakov Smolić gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild index cbef3f0ce756..cfad9b945e60 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.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}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: ad3af066c2b99f57d0a4195817c8c77832fc00eb Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 6 19:58:56 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 6 19:58:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3af066 dev-python/pytest-system-statistics: Stabilize 1.0.2 x86, #843011 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild index 6dcb6325f1e9..cbef3f0ce756 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 3c35b6c63f7079762c627e9556d8da7810aad08d Author: Arthur Zamarin gentoo org> AuthorDate: Fri May 6 19:58:21 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri May 6 19:58:21 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c35b6c6 dev-python/pytest-system-statistics: Stabilize 1.0.2 amd64, #843011 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild index 6c442fffd9b3..6dcb6325f1e9 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 48dca70e29615bfd48e4816c8a6dc2d869dbd42f Author: Jakov Smolić gentoo org> AuthorDate: Sat Apr 16 08:43:35 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sat Apr 16 08:43:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48dca70e dev-python/pytest-system-statistics: Keyword 1.0.2 x86, #836457 Signed-off-by: Jakov Smolić gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild index 27a2d008b30a..6c442fffd9b3 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 22ffb95f48e639eb29f9b07919a4fac3a75898c8 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 2 08:44:52 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 2 08:44:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22ffb95f dev-python/pytest-system-statistics: Keyword 1.0.2 arm64, #836457 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild index 4cf533ddfa7d..27a2d008b30a 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm" +KEYWORDS="~amd64 ~arm ~arm64" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 1a4268e038b68337413e3a4b05ce79400e6e39e8 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 2 08:28:30 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 2 08:28:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a4268e0 dev-python/pytest-system-statistics: Keyword 1.0.2 arm, #836457 Signed-off-by: Arthur Zamarin gentoo.org> .../pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild index c2507c3eaf70..4cf533ddfa7d 100644 --- a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm" RDEPEND=" >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-system-statistics/
commit: 043eaaf5662e31b5fe34c3f6dbf90514c996d0bd Author: Patrick McLean gentoo org> AuthorDate: Wed Mar 30 18:10:57 2022 + Commit: Patrick McLean gentoo org> CommitDate: Thu Mar 31 01:28:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=043eaaf5 dev-python/pytest-system-statistics: initial import Signed-off-by: Patrick McLean gentoo.org> dev-python/pytest-system-statistics/Manifest | 1 + dev-python/pytest-system-statistics/metadata.xml | 11 + .../pytest-system-statistics-1.0.2.ebuild | 49 ++ 3 files changed, 61 insertions(+) diff --git a/dev-python/pytest-system-statistics/Manifest b/dev-python/pytest-system-statistics/Manifest new file mode 100644 index ..550382e4b516 --- /dev/null +++ b/dev-python/pytest-system-statistics/Manifest @@ -0,0 +1 @@ +DIST pytest-system-statistics-1.0.2.tar.gz 55147 BLAKE2B 9b1217102a23e723090e04652fdd727818e2404bf110e4f54289251eb92f4abb59861ba6c6fc611c843960cf0595fa5cbd636071033327d4e602606e8ab63abf SHA512 1fab5038dde504ab0d5d0f4da851c9a8260849adb38a1196c6399131d77cc24a1926e68310dd0701ed001a20a7fcfb57c5202c5ebfd6de4c85aac4be49fc7347 diff --git a/dev-python/pytest-system-statistics/metadata.xml b/dev-python/pytest-system-statistics/metadata.xml new file mode 100644 index ..227706a29106 --- /dev/null +++ b/dev-python/pytest-system-statistics/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + Patrick McLean + chutz...@gentoo.org + + + pytest-system-statistics + + diff --git a/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild new file mode 100644 index ..c2507c3eaf70 --- /dev/null +++ b/dev-python/pytest-system-statistics/pytest-system-statistics-1.0.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Pytest Plugin Which Reports System Usage Statistics" +HOMEPAGE=" + https://pypi.org/project/pytest-system-statistics/ + https://github.com/saltstack/pytest-system-statistics +" +SRC_URI="https://github.com/saltstack/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/pytest-6.0.0[${PYTHON_USEDEP}] + dev-python/attrs[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + dev-python/pytest-skip-markers[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/wheel[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-subtests[${PYTHON_USEDEP}] + ) +" + +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/pytestsysstats/version.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + epytest -k 'not proc_sys_stats' +}