d3089d8
Name:           nox
277e6e7
Version:        2024.04.15
9249f11
Release:        1%{?dist}
d3089d8
Summary:        Flexible test automation
d3089d8
ed7fa14
License:        Apache-2.0
8fd277a
URL:            https://github.com/wntrblm/nox
8fd277a
# Using github source files since PyPI doesn't contain "tests" folder anymore
8fd277a
Source0:        %{url}/archive/refs/tags/%{version}.tar.gz
d3089d8
BuildArch:      noarch
d3089d8
BuildRequires:  python3-devel
d3089d8
BuildRequires:  python3-flask
d3089d8
BuildRequires:  python3-myst-parser
d3089d8
BuildRequires:  python3-pytest
d3089d8
d3089d8
%description
d3089d8
Nox is a command-line tool that automates testing in multiple Python
d3089d8
environments, similar to tox. Unlike tox, Nox uses a standard Python
d3089d8
file for configuration.
d3089d8
d3089d8
%prep
d3089d8
%autosetup -p1 -n nox-%{version}
d3089d8
d3089d8
%generate_buildrequires
d3089d8
%pyproject_buildrequires -r -x tox_to_nox
d3089d8
d3089d8
%build
d3089d8
%pyproject_wheel
d3089d8
d3089d8
%install
d3089d8
%pyproject_install
d3089d8
%pyproject_save_files nox
d3089d8
d3089d8
%check
9249f11
%pytest -k "not test__create_venv_options[nox.virtualenv.CondaEnv.create-conda-CondaEnv]"
d3089d8
d3089d8
%files -f %{pyproject_files}
d3089d8
%{_bindir}/nox
d3089d8
%pycached %exclude %{python3_sitelib}/nox/tox_to_nox.py
d3089d8
%exclude %{python3_sitelib}/nox/tox_to_nox.jinja2
d3089d8
%exclude %{_bindir}/tox-to-nox
d3089d8
d3089d8
%pyproject_extras_subpkg -n nox tox_to_nox
d3089d8
%pycached %{python3_sitelib}/nox/tox_to_nox.py
d3089d8
%{python3_sitelib}/nox/tox_to_nox.jinja2
d3089d8
%{_bindir}/tox-to-nox
d3089d8
d3089d8
%changelog
277e6e7
* Mon Apr 15 2024 Lumír Balhar <lbalhar@redhat.com> - 2024.04.15-1
277e6e7
- Update to 2024.04.15 (rhbz#2275137)
277e6e7
9249f11
* Mon Mar 04 2024 Lumír Balhar <lbalhar@redhat.com> - 2024.03.02-1
9249f11
- Update to 2024.03.02 (rhbz#2267571)
9249f11
a2fddbd
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.04.22-5
a2fddbd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
a2fddbd
26def0a
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2023.04.22-4
26def0a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
26def0a
1145af6
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2023.04.22-3
1145af6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
1145af6
b4d399d
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 2023.04.22-2
b4d399d
- Rebuilt for Python 3.12
b4d399d
ed7fa14
* Tue May 02 2023 Lumír Balhar <lbalhar@redhat.com> - 2023.04.22-1
ed7fa14
- Update to 2023.04.22 (rhbz#2188881)
ed7fa14
- Use SPDX license identifier
ed7fa14
67932ce
* Thu Feb 16 2023 Lumír Balhar <lbalhar@redhat.com> - 2022.11.21-4
67932ce
- Fix tox_to_nox for tox 4
67932ce
951d43b
* Tue Jan 24 2023 Lumír Balhar <lbalhar@redhat.com> - 2022.11.21-3
951d43b
- Fix FTBFS
951d43b
d254d85
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2022.11.21-2
d254d85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
d254d85
8fd277a
* Thu Dec 01 2022 ondaaak <ondaaak@gmail.com> - 2022.11.21-1
8fd277a
- Update to 2022.11.21
8fd277a
2255475
* Mon Aug 22 2022 ondaaak <ondaaak@gmail.com> - 2022.8.7-1
2255475
- Update to 2022.8.7
2255475
e11ea89
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1.7-3
e11ea89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
e11ea89
fb8c214
* Wed Jun 15 2022 Python Maint <python-maint@redhat.com> - 2022.1.7-2
fb8c214
- Rebuilt for Python 3.11
fb8c214
d3089d8
* Wed Mar 23 2022 ondaaak <ondaaak@gmail.com> - 2022.1.7-1
d3089d8
- Initial package for Fedora