14
0
forked from pool/python-Fabric

Accepting request 993698 from devel:languages:python

- Add patch remove-pathlib2.patch:
  * Drop install_requires on pathlib2.

OBS-URL: https://build.opensuse.org/request/show/993698
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Fabric?expand=0&rev=40
This commit is contained in:
2022-08-08 09:43:01 +00:00
committed by Git OBS Bridge
3 changed files with 21 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Aug 8 08:09:01 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch remove-pathlib2.patch:
* Drop install_requires on pathlib2.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 2 13:31:00 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com> Tue Aug 2 13:31:00 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>

View File

@@ -28,6 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/f/fabric/fabric-%
Patch0: fix-executable.patch Patch0: fix-executable.patch
# PATCH-FIX-UPSTREAM gh#fabric/fabric#2210 # PATCH-FIX-UPSTREAM gh#fabric/fabric#2210
Patch1: remove-mock.patch Patch1: remove-mock.patch
# PATCH-FIX-OPENSUSE remove pathlib2 requirement gh#fabric/fabric#2180
Patch2: remove-pathlib2.patch
BuildRequires: %{python_module cryptography >= 1.1} BuildRequires: %{python_module cryptography >= 1.1}
BuildRequires: %{python_module decorator} BuildRequires: %{python_module decorator}
BuildRequires: %{python_module invoke >= 1.3} BuildRequires: %{python_module invoke >= 1.3}
@@ -41,7 +43,6 @@ Requires: python-cryptography >= 1.1
Requires: python-decorator Requires: python-decorator
Requires: python-invoke >= 1.3 Requires: python-invoke >= 1.3
Requires: python-paramiko >= 2.4 Requires: python-paramiko >= 2.4
Requires: python-pathlib2
Requires: python-setuptools Requires: python-setuptools
Requires: python-six Requires: python-six
Requires(post): update-alternatives Requires(post): update-alternatives

13
remove-pathlib2.patch Normal file
View File

@@ -0,0 +1,13 @@
Index: fabric-2.7.1/setup.py
===================================================================
--- fabric-2.7.1.orig/setup.py
+++ fabric-2.7.1/setup.py
@@ -65,7 +65,7 @@ setuptools.setup(
"CI": "https://app.circleci.com/pipelines/github/fabric/fabric",
"Twitter": "https://twitter.com/pyfabric",
},
- install_requires=["invoke>=1.3,<2.0", "paramiko>=2.4", "pathlib2"],
+ install_requires=["invoke>=1.3,<2.0", "paramiko>=2.4"],
extras_require={
"testing:python_version<='3.3'": testing_deps,
"pytest:python_version<='3.3'": testing_deps + pytest_deps,