From 2fa49fc4793d3ba3c0ee7eae70b3645510ad9500 Mon Sep 17 00:00:00 2001 From: tigro Date: Tue, 17 Dec 2024 14:13:33 +0300 Subject: [PATCH] import python-tox-current-env-0.0.12-1.el10 --- .gitignore | 2 +- .python-tox-current-env.metadata | 2 +- SPECS/python-tox-current-env.spec | 72 +++++++++++++++++++++++++------ 3 files changed, 62 insertions(+), 14 deletions(-) diff --git a/.gitignore b/.gitignore index 9cd6894..1fb6291 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/tox-current-env-0.0.8.tar.gz +SOURCES/tox-current-env-0.0.12.tar.gz diff --git a/.python-tox-current-env.metadata b/.python-tox-current-env.metadata index 3e4b1f6..929aee6 100644 --- a/.python-tox-current-env.metadata +++ b/.python-tox-current-env.metadata @@ -1 +1 @@ -fe19861f2be192107708e6654e6997eb1bf9bccb SOURCES/tox-current-env-0.0.8.tar.gz +bfc3e9ded02de6cfe6cdc2c037e8d9d8e1ea0ca8 SOURCES/tox-current-env-0.0.12.tar.gz diff --git a/SPECS/python-tox-current-env.spec b/SPECS/python-tox-current-env.spec index 12966a0..7361e74 100644 --- a/SPECS/python-tox-current-env.spec +++ b/SPECS/python-tox-current-env.spec @@ -1,6 +1,20 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%bcond bootstrap 0 +# Tests are enabled by default, unless bootstrapping (for pytest-xdist) +%bcond tests %{without bootstrap} + Name: python-tox-current-env -Version: 0.0.8 -Release: 4%{?dist} +Version: 0.0.12 +Release: %autorelease Summary: Tox plugin to run tests in current Python environment License: MIT @@ -11,13 +25,6 @@ BuildArch: noarch BuildRequires: python%{python3_pkgversion}-devel BuildRequires: pyproject-rpm-macros -# test dependencies extracted from tox.ini -# TODO use [tests] extra with the next release -# https://github.com/fedora-python/tox-current-env/pull/53 -BuildRequires: python%{python3_pkgversion}-packaging -BuildRequires: python%{python3_pkgversion}-pytest -BuildRequires: python%{python3_pkgversion}-pytest-xdist - %description The tox-current-env plugin allows to run tests in current Python environment. @@ -36,7 +43,7 @@ The tox-current-env plugin allows to run tests in current Python environment. %generate_buildrequires # Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop -%pyproject_buildrequires -r +%pyproject_buildrequires %{?with_tests:-x tests} %build @@ -52,8 +59,10 @@ The tox-current-env plugin allows to run tests in current Python environment. # hooks[34].py are imported in hooks.py based on tox version so we have to # exclude them here. %pyproject_check_import -e '*.hooks?' +%if %{with tests} # deselected tests run tox without the options for this plugin and hence they need internet %pytest -k "not regular and not noquiet_installed_packages[None]" +%endif %files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files} @@ -61,8 +70,45 @@ The tox-current-env plugin allows to run tests in current Python environment. %changelog -* Wed Oct 23 2024 Sergey Cherevko - 0.0.8-4 -- Rebuilt for MSVSphere 9.4 +* Tue Dec 17 2024 Arkady L. Shane - 0.0.12-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Mon Sep 02 2024 Miro Hrončok - 0.0.12-1 +- Update to 0.0.12 + +* Fri Jul 19 2024 Fedora Release Engineering - 0.0.11-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 0.0.11-11 +- Rebuilt for Python 3.13 + +* Fri Jun 07 2024 Python Maint - 0.0.11-10 +- Bootstrap for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 0.0.11-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 0.0.11-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.0.11-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jun 16 2023 Python Maint - 0.0.11-4 +- Rebuilt for Python 3.12 + +* Wed Jun 14 2023 Python Maint - 0.0.11-3 +- Bootstrap for Python 3.12 + +* Fri Jan 20 2023 Fedora Release Engineering - 0.0.11-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Jan 10 2023 Miro Hrončok - 0.0.11-1 +- Update to 0.0.11 with tox 4.1.2+ support + +* Wed Dec 14 2022 Miro Hrončok - 0.0.10-1 +- Update to 0.0.10 with tox 4 support * Wed Dec 07 2022 Miro Hrončok - 0.0.8-4 - Run tests during the package build @@ -130,3 +176,5 @@ The tox-current-env plugin allows to run tests in current Python environment. * Wed Jul 24 2019 Miro Hrončok - 0.0.1-1 - Initial package + +## END: Generated by rpmautospec