Compare commits

..

2 Commits
i9ce ... i10ce

2
.gitignore vendored

@ -1 +1 @@
SOURCES/tox-current-env-0.0.8.tar.gz SOURCES/tox_current_env-0.0.14.tar.gz

@ -1 +1 @@
fe19861f2be192107708e6654e6997eb1bf9bccb SOURCES/tox-current-env-0.0.8.tar.gz 50eb524903fa41fd47dc257e8716689af9609b61 SOURCES/tox_current_env-0.0.14.tar.gz

@ -1,23 +1,30 @@
## START: Set by rpmautospec
## (rpmautospec version 0.7.3)
## 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 Name: python-tox-current-env
Version: 0.0.8 Version: 0.0.14
Release: 4%{?dist} Release: %autorelease
Summary: Tox plugin to run tests in current Python environment Summary: Tox plugin to run tests in current Python environment
License: MIT License: MIT
URL: https://github.com/fedora-python/tox-current-env URL: https://github.com/fedora-python/tox-current-env
Source0: %{pypi_source tox-current-env} Source0: %{pypi_source tox_current_env}
BuildArch: noarch BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: pyproject-rpm-macros 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 %description
The tox-current-env plugin allows to run tests in current Python environment. The tox-current-env plugin allows to run tests in current Python environment.
@ -31,12 +38,12 @@ The tox-current-env plugin allows to run tests in current Python environment.
%prep %prep
%autosetup -n tox-current-env-%{version} %autosetup -n tox_current_env-%{version}
%generate_buildrequires %generate_buildrequires
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop # Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
%pyproject_buildrequires -r %pyproject_buildrequires %{?with_tests:-x tests}
%build %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 # hooks[34].py are imported in hooks.py based on tox version so we have to
# exclude them here. # exclude them here.
%pyproject_check_import -e '*.hooks?' %pyproject_check_import -e '*.hooks?'
%if %{with tests}
# deselected tests run tox without the options for this plugin and hence they need internet # 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]" %pytest -k "not regular and not noquiet_installed_packages[None]"
%endif
%files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files} %files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files}
@ -61,8 +70,49 @@ The tox-current-env plugin allows to run tests in current Python environment.
%changelog %changelog
* Wed Oct 23 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 0.0.8-4 ## START: Generated by rpmautospec
- Rebuilt for MSVSphere 9.4 * Tue Dec 17 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.0.14-1
- Rebuilt for MSVSphere 10
* Tue Oct 29 2024 Miro Hrončok <miro@hroncok.cz> - 0.0.14-1
- Update to 0.0.14
- Introduces --print-dependency-groups-to (PEP 735)
* Mon Sep 02 2024 Miro Hrončok <miro@hroncok.cz> - 0.0.12-1
- Update to 0.0.12
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.0.11-11
- Rebuilt for Python 3.13
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.0.11-10
- Bootstrap for Python 3.13
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 0.0.11-4
- Rebuilt for Python 3.12
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.0.11-3
- Bootstrap for Python 3.12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Tue Jan 10 2023 Miro Hrončok <mhroncok@redhat.com> - 0.0.11-1
- Update to 0.0.11 with tox 4.1.2+ support
* Wed Dec 14 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.10-1
- Update to 0.0.10 with tox 4 support
* Wed Dec 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-4 * Wed Dec 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-4
- Run tests during the package build - Run tests during the package build
@ -130,3 +180,5 @@ The tox-current-env plugin allows to run tests in current Python environment.
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.1-1 * Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.1-1
- Initial package - Initial package
## END: Generated by rpmautospec

Loading…
Cancel
Save