forked from pool/python-tox
- Add optional_devpi_process.patch to make the package not depend
on devpi_process (which is rather expensive to build). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=98
This commit is contained in:
parent
988f896c70
commit
feaea52c71
@ -6,6 +6,8 @@ Fri May 5 14:30:53 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
|||||||
to the packaged changelog.
|
to the packaged changelog.
|
||||||
- Add mark-network-tests.patch to skip test which require network
|
- Add mark-network-tests.patch to skip test which require network
|
||||||
access
|
access
|
||||||
|
- Add optional_devpi_process.patch to make the package not depend
|
||||||
|
on devpi_process (which is rather expensive to build).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:37:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:37:47 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
@ -17,6 +17,11 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
%if 0%{?sle15_python_module_pythons}
|
||||||
|
%bcond_without devpi_process
|
||||||
|
%else
|
||||||
|
%bcond_with devpi_process
|
||||||
|
%endif
|
||||||
Name: python-tox
|
Name: python-tox
|
||||||
Version: 4.5.1
|
Version: 4.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -56,6 +61,9 @@ BuildRequires: %{python_module toml >= 0.9.4}
|
|||||||
BuildRequires: %{python_module tomli >= 2.0.1}
|
BuildRequires: %{python_module tomli >= 2.0.1}
|
||||||
BuildRequires: %{python_module virtualenv >= 20.21.0}
|
BuildRequires: %{python_module virtualenv >= 20.21.0}
|
||||||
BuildRequires: %{python_module wheel >= 0.29.0}
|
BuildRequires: %{python_module wheel >= 0.29.0}
|
||||||
|
%if %{with devpi_process}
|
||||||
|
BuildRequires: %{python_module devpi-process}
|
||||||
|
%endif
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
@ -108,7 +116,11 @@ use for:
|
|||||||
CI and shell-based testing.
|
CI and shell-based testing.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n tox-%{version}
|
%setup -q -n tox-%{version}
|
||||||
|
%if %{with devpi_process}
|
||||||
|
%patch0 -p1
|
||||||
|
%endif
|
||||||
|
%autopatch -p1 -m 1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export LANG=en_US.UTF8
|
export LANG=en_US.UTF8
|
||||||
|
Loading…
Reference in New Issue
Block a user