From c8a35e87150af219980c0388c0b2ce643fea22ed1664ba6f0d3e81d5b226edd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 31 Jan 2019 10:14:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=48 --- 0001-always-obey-GEVENT_NO_CFFI_BUILD.patch | 163 -------------------- python-gevent.spec | 2 - 2 files changed, 165 deletions(-) delete mode 100644 0001-always-obey-GEVENT_NO_CFFI_BUILD.patch diff --git a/0001-always-obey-GEVENT_NO_CFFI_BUILD.patch b/0001-always-obey-GEVENT_NO_CFFI_BUILD.patch deleted file mode 100644 index a6eed28..0000000 --- a/0001-always-obey-GEVENT_NO_CFFI_BUILD.patch +++ /dev/null @@ -1,163 +0,0 @@ - - - -0001-always-obey-GEVENT_NO_CFFI_BUILD.patch - rpms/python-gevent.git - python-gevent - - - - - - - - - - - - -
- - - - -
-summaryrefslogtreecommitdiffstats
- - - -
-
-
blob: 7f768eca75310bd7119bc30a1770296e9f6dbba1 (plain) - - -
1
-2
-3
-4
-5
-6
-7
-8
-9
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-40
-41
-42
-
From 05650624fe2524ecb1bdbbd4facc5d988275e542 Mon Sep 17 00:00:00 2001
-From: Dan Callaghan <dcallagh@redhat.com>
-Date: Wed, 7 Jun 2017 13:55:53 +1000
-Subject: [PATCH] always obey GEVENT_NO_CFFI_BUILD
-
-If libev is not embedded, we still want to set GEVENT_NO_CFFI_BUILD=1 to
-prevent setup.py from trying to configure libev, regardless whether cffi
-modules will actually be built or not.
----
- setup.py | 11 ++++++-----
- 1 file changed, 6 insertions(+), 5 deletions(-)
-
-diff --git a/setup.py b/setup.py
-index 9c229ad..ea4dcaf 100755
---- a/setup.py
-+++ b/setup.py
-@@ -90,16 +90,17 @@
- except ImportError:
-     pass
- else:
--    if IGNORE_CFFI and not PYPY:
--        # Allow distributors to turn off CFFI builds
--        # even if it's available, because CFFI always embeds
--        # our copy of libev and they may not want that.
--        del cffi_modules[:]
-     # Note that we don't add cffi to install_requires, it's
-     # optional. We tend to build and distribute wheels with the CFFI
-     # modules built and they can be imported if CFFI is installed.
-     # install_requires.append('cffi >= 1.3.0')
-+    pass
- 
-+if IGNORE_CFFI and not PYPY:
-+    # Allow distributors to turn off CFFI builds
-+    # even if it's available, because CFFI always embeds
-+    # our copy of libev and they may not want that.
-+    del cffi_modules[:]
- 
- # If we are running info / help commands, or we're being imported by
- # tools like pyroma, we don't need to build anything
--- 
-2.9.4
-
-
-
- -
- - diff --git a/python-gevent.spec b/python-gevent.spec index 5ae9b93..a211612 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -26,7 +26,6 @@ Group: Development/Languages/Python URL: http://www.gevent.org/ Source: https://files.pythonhosted.org/packages/source/g/gevent/gevent-%{version}.tar.gz Source100: %{name}-rpmlintrc -Patch0: 0001-always-obey-GEVENT_NO_CFFI_BUILD.patch BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} BuildRequires: %{python_module greenlet >= 0.4.14} @@ -74,7 +73,6 @@ Documentation and examples for %{name}. %prep %setup -q -n gevent-%{version} -%patch0 -p1 %build export LIBEV_EMBED=0