Avoid tox dependency

tox is unwanted in RHEL, but it does not provide sufficient value to
make it conditional.
This commit is contained in:
Yaakov Selkowitz 2023-05-23 18:21:30 -04:00
parent 105264910b
commit 8f88727f80

View File

@ -11,7 +11,7 @@ ideal for real-time web services.}
Name: python-%{srcname} Name: python-%{srcname}
Version: 6.3.2 Version: 6.3.2
Release: 1%{?dist} Release: 2%{?dist}
Summary: Scalable, non-blocking web server and tools Summary: Scalable, non-blocking web server and tools
License: Apache-2.0 License: Apache-2.0
@ -43,7 +43,7 @@ This package contains some example applications.
%autosetup -p1 -n %{srcname}-%{version} %autosetup -p1 -n %{srcname}-%{version}
%generate_buildrequires %generate_buildrequires
%pyproject_buildrequires -e py3 %pyproject_buildrequires
%build %build
%pyproject_wheel %pyproject_wheel
@ -56,7 +56,7 @@ This package contains some example applications.
# Skip the same timing-related tests that upstream skips when run in Travis CI. # Skip the same timing-related tests that upstream skips when run in Travis CI.
# https://github.com/tornadoweb/tornado/commit/abc5780a06a1edd0177a399a4dd4f39497cb0c57 # https://github.com/tornadoweb/tornado/commit/abc5780a06a1edd0177a399a4dd4f39497cb0c57
export TRAVIS=true export TRAVIS=true
%tox %{py3_test_envvars} %{python3} -m tornado.test
%files -n python3-%{srcname} -f %{pyproject_files} %files -n python3-%{srcname} -f %{pyproject_files}
%doc README.rst %doc README.rst
@ -66,6 +66,9 @@ export TRAVIS=true
%doc demos %doc demos
%changelog %changelog
* Tue May 23 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 6.3.2-2
- Avoid tox dependency
* Tue May 16 2023 Orion Poplawski <orion@nwra.com> - 6.3.2-1 * Tue May 16 2023 Orion Poplawski <orion@nwra.com> - 6.3.2-1
- Update to 6.3.2 - Update to 6.3.2