|
rdobuilder |
8bc23b |
%bcond bootstrap 0
|
|
|
d4bc36 |
# Tests are enabled by default, unless bootstrapping (for pytest-xdist)
|
|
|
d4bc36 |
%bcond tests %{without bootstrap}
|
|
|
d4bc36 |
|
|
|
d4bc36 |
Name: python-tox-current-env
|
|
|
d4bc36 |
Version: 0.0.12
|
|
rdobuilder |
8bc23b |
Release: 1%{?dist}
|
|
|
d4bc36 |
Summary: Tox plugin to run tests in current Python environment
|
|
|
d4bc36 |
|
|
|
d4bc36 |
License: MIT
|
|
|
d4bc36 |
URL: https://github.com/fedora-python/tox-current-env
|
|
|
d4bc36 |
Source0: %{pypi_source tox-current-env}
|
|
|
d4bc36 |
BuildArch: noarch
|
|
|
d4bc36 |
|
|
|
d4bc36 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
|
d4bc36 |
BuildRequires: pyproject-rpm-macros
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%description
|
|
|
d4bc36 |
The tox-current-env plugin allows to run tests in current Python environment.
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%package -n python%{python3_pkgversion}-tox-current-env
|
|
|
d4bc36 |
Summary: %{summary}
|
|
|
d4bc36 |
%{?python_provide:%python_provide python%{python3_pkgversion}-tox-current-env}
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%description -n python%{python3_pkgversion}-tox-current-env
|
|
|
d4bc36 |
The tox-current-env plugin allows to run tests in current Python environment.
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%prep
|
|
|
d4bc36 |
%autosetup -n tox-current-env-%{version}
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%generate_buildrequires
|
|
|
d4bc36 |
# Don't use %%pyproject_buildrequires -t/-e to avoid a build dependency loop
|
|
|
d4bc36 |
%pyproject_buildrequires %{?with_tests:-x tests}
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%build
|
|
|
d4bc36 |
%pyproject_wheel
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%install
|
|
|
d4bc36 |
%pyproject_install
|
|
|
d4bc36 |
%pyproject_save_files tox_current_env
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%check
|
|
|
d4bc36 |
# hooks[34].py are imported in hooks.py based on tox version so we have to
|
|
|
d4bc36 |
# exclude them here.
|
|
|
d4bc36 |
%pyproject_check_import -e '*.hooks?'
|
|
|
d4bc36 |
%if %{with tests}
|
|
|
d4bc36 |
# deselected tests run tox without the options for this plugin and hence they need internet
|
|
|
d4bc36 |
%pytest -k "not regular and not noquiet_installed_packages[None]"
|
|
|
d4bc36 |
%endif
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%files -n python%{python3_pkgversion}-tox-current-env -f %{pyproject_files}
|
|
|
d4bc36 |
%doc README.rst
|
|
|
d4bc36 |
|
|
|
d4bc36 |
|
|
|
d4bc36 |
%changelog
|
|
rdobuilder |
8bc23b |
* Mon Sep 02 2024 Miro Hrončok <miro@hroncok.cz> - 0.0.12-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.12
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-12
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.0.11-11
|
|
rdobuilder |
8bc23b |
- Rebuilt for Python 3.13
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 0.0.11-10
|
|
rdobuilder |
8bc23b |
- Bootstrap for Python 3.13
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-7
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-6
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-5
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 0.0.11-4
|
|
rdobuilder |
8bc23b |
- Rebuilt for Python 3.12
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.0.11-3
|
|
rdobuilder |
8bc23b |
- Bootstrap for Python 3.12
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.11-2
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Tue Jan 10 2023 Miro Hrončok <mhroncok@redhat.com> - 0.0.11-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.11 with tox 4.1.2+ support
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Dec 14 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.10-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.10 with tox 4 support
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Dec 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-4
|
|
rdobuilder |
8bc23b |
- Run tests during the package build
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-3
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.8-2
|
|
rdobuilder |
8bc23b |
- Rebuilt for Python 3.11
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.8 to support allowlist_externals
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Mon Feb 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.7 to pin tox < 4
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Thu Aug 05 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-4
|
|
rdobuilder |
8bc23b |
- In %%check, test if the module at least imports
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
|
|
rdobuilder |
8bc23b |
- Second attempt - Rebuilt for
|
|
rdobuilder |
8bc23b |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.0.6-2
|
|
rdobuilder |
8bc23b |
- Rebuilt for Python 3.10
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.6
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-2
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.5
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Nov 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.4-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.4
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Sep 30 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.3-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.3
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Aug 12 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-7
|
|
rdobuilder |
8bc23b |
- Fix FTBFS with pyproject-rpm-macros >= 0-23
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-6
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-5
|
|
rdobuilder |
8bc23b |
- Rebuilt for Python 3.9
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-4
|
|
rdobuilder |
8bc23b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-3
|
|
rdobuilder |
8bc23b |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-2
|
|
rdobuilder |
8bc23b |
- Rebuilt for Python 3.8
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.2-1
|
|
rdobuilder |
8bc23b |
- Update to 0.0.2
|
|
rdobuilder |
8bc23b |
|
|
rdobuilder |
8bc23b |
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.0.1-1
|
|
rdobuilder |
8bc23b |
- Initial package
|