fix build failure caused by NotImplemented exceptions in winbuild.py
This commit is contained in:
parent
e1c294381a
commit
a6991a431c
44
0001-python-pycurl-7.43-winbuild.patch
Normal file
44
0001-python-pycurl-7.43-winbuild.patch
Normal file
@ -0,0 +1,44 @@
|
||||
From 29deba7cdcbec627151de6482d6d78af55da4dfb Mon Sep 17 00:00:00 2001
|
||||
From: Kamil Dudka <kdudka@redhat.com>
|
||||
Date: Wed, 23 May 2018 14:34:08 +0200
|
||||
Subject: [PATCH] winbuild.py: use NotImplementedError instead of
|
||||
NotImplemented
|
||||
|
||||
---
|
||||
winbuild.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/winbuild.py b/winbuild.py
|
||||
index 883255c..7e03290 100644
|
||||
--- a/winbuild.py
|
||||
+++ b/winbuild.py
|
||||
@@ -337,7 +337,7 @@ class OpensslBuilder(Builder):
|
||||
|
||||
@property
|
||||
def dll_paths(self):
|
||||
- raise NotImplemented
|
||||
+ raise NotImplementedError
|
||||
|
||||
@property
|
||||
def include_path(self):
|
||||
@@ -371,7 +371,7 @@ class CaresBuilder(Builder):
|
||||
|
||||
@property
|
||||
def dll_paths(self):
|
||||
- raise NotImplemented
|
||||
+ raise NotImplementedError
|
||||
|
||||
@property
|
||||
def include_path(self):
|
||||
@@ -431,7 +431,7 @@ BUILD_STATIC_LIB=1
|
||||
|
||||
@property
|
||||
def dll_paths(self):
|
||||
- raise NotImplemented
|
||||
+ raise NotImplementedError
|
||||
|
||||
@property
|
||||
def include_path(self):
|
||||
--
|
||||
2.14.3
|
||||
|
||||
@ -2,13 +2,16 @@
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 7.43.0
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
Summary: A Python interface to libcurl
|
||||
|
||||
License: LGPLv2+ or MIT
|
||||
URL: http://pycurl.sourceforge.net/
|
||||
Source0: https://dl.bintray.com/pycurl/pycurl/pycurl-%{version}.tar.gz
|
||||
|
||||
# fix build failure caused by NotImplemented exceptions in winbuild.py
|
||||
Patch1: 0001-python-pycurl-7.43-winbuild.patch
|
||||
|
||||
# drop link-time vs. run-time TLS backend check (#1446850)
|
||||
Patch2: 0002-python-pycurl-7.43.0-tls-backend.patch
|
||||
|
||||
@ -118,6 +121,9 @@ rm -fv tests/fake-curl/libcurl/*.so
|
||||
%{python3_sitearch}/%{modname}-%{version}-*.egg-info
|
||||
|
||||
%changelog
|
||||
* Wed May 23 2018 Kamil Dudka <kdudka@redhat.com> - 7.43.0-16
|
||||
- fix build failure caused by NotImplemented exceptions in winbuild.py
|
||||
|
||||
* Wed Mar 14 2018 Kamil Dudka <kdudka@redhat.com> - 7.43.0-15
|
||||
- enable vsftpd-based tests
|
||||
- run the test-suite for Python 3 only
|
||||
|
||||
Loading…
Reference in New Issue
Block a user