|
|
|
@@ -2,8 +2,8 @@
|
|
|
|
|
%global pypi_under tox_current_env
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 0.0.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Version: 0.0.8
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Tox plugin to run tests in current Python environment
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@@ -32,7 +32,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
|
|
|
|
|
%pyproject_buildrequires -r
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@@ -41,21 +41,56 @@ The tox-current-env plugin allows to run tests in current Python environment.
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
%pyproject_save_files %{pypi_under}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#check
|
|
|
|
|
%check
|
|
|
|
|
# the tests currently only work within actual tox and with various Python
|
|
|
|
|
# versions installed, so we skip them.
|
|
|
|
|
# versions installed, so we skip them and do an import check only instead.
|
|
|
|
|
# hooks[34].py are imported in hooks.py based on tox version so we have to
|
|
|
|
|
# exclude them here.
|
|
|
|
|
%pyproject_check_import -e '*.hooks?'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{pypi_name}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
|
|
|
|
|
%doc README.rst
|
|
|
|
|
%{python3_sitelib}/%{pypi_under}/
|
|
|
|
|
%{python3_sitelib}/%{pypi_under}-%{version}.dist-info/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.8-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.8-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Wed Mar 02 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.8-1
|
|
|
|
|
- Update to 0.0.8 to support allowlist_externals
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2022 Miro Hrončok <mhroncok@redhat.com> - 0.0.7-1
|
|
|
|
|
- Update to 0.0.7 to pin tox < 4
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 05 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-4
|
|
|
|
|
- In %%check, test if the module at least imports
|
|
|
|
|
|
|
|
|
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.6-3
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 0.0.6-2
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Mon Mar 29 2021 Miro Hrončok <mhroncok@redhat.com> - 0.0.6-1
|
|
|
|
|
- Update to 0.0.6
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Nov 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.5-1
|
|
|
|
|
- Update to 0.0.5
|
|
|
|
|
|
|
|
|
|
* Wed Nov 04 2020 Miro Hrončok <mhroncok@redhat.com> - 0.0.4-1
|
|
|
|
|
- Update to 0.0.4
|
|
|
|
|
|
|
|
|
|