Remove tox deps
This commit is contained in:
9
0003-remove-tox-temp.patch
Normal file
9
0003-remove-tox-temp.patch
Normal file
@@ -0,0 +1,9 @@
|
||||
diff --git a/requirements.txt b/requirements.txt
|
||||
index 65529de..ebe9f1f 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -1,4 +1,3 @@
|
||||
-tox
|
||||
pytest
|
||||
pytest-runner
|
||||
setuptools_scm
|
||||
@@ -27,6 +27,9 @@ Patch: 0001-python-lz4-deps.patch
|
||||
# Support Python 3.14
|
||||
# https://github.com/python-lz4/python-lz4/pull/303.patch
|
||||
Patch1: 0002-correct-import-of-_compression.patch
|
||||
%if %{without test}
|
||||
Patch2: 0003-remove-tox-temp.patch
|
||||
%endif
|
||||
|
||||
BuildRequires: pkgconfig(liblz4)
|
||||
BuildRequires: python3-devel
|
||||
@@ -43,10 +46,6 @@ Provides: python3-%{srcname}
|
||||
%python_provide python3-%{srcname}
|
||||
|
||||
%prep -a
|
||||
%if %{without test}
|
||||
sed -i -e 's/tox//g' requirements.txt
|
||||
%endif
|
||||
|
||||
sed -i -e '/pytest-cov/d' setup.py
|
||||
sed -i -e 's/--cov=lz4\/block --cov=lz4\/frame//' tox.ini
|
||||
|
||||
|
||||
Reference in New Issue
Block a user