commit python-pycurl for openSUSE:Factory

2012-01-20 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2012-01-20 20:25:11

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2011-09-23 12:43:08.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2012-01-20 20:26:20.0 +0100
@@ -1,0 +2,5 @@
+Thu Jan 12 11:31:10 UTC 2012 - co...@suse.com
+
+- change license to be in spdx.org format
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.lntafm/_old  2012-01-20 20:26:34.0 +0100
+++ /var/tmp/diff_new_pack.lntafm/_new  2012-01-20 20:26:34.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycurl
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,7 +11,7 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
@@ -20,14 +20,14 @@
 Release:0
 Url:http://pycurl.sourceforge.net/
 Summary:PycURL -- cURL library module
-License:LGPL and MIT
+License:LGPL-2.1+ and MIT
 Group:  Development/Languages/Python
 Source: pycurl-%{version}.tar.gz
 Patch0: pycurl-7.18.1-nostaticlibs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
+BuildRequires:  python-devel
 %if 0%{?suse_version}
 %py_requires
 %endif

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pycurl for openSUSE:Factory

2012-05-08 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2012-05-08 11:15:24

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2012-01-20 20:26:20.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2012-05-08 11:15:28.0 +0200
@@ -1,0 +2,6 @@
+Sat Apr 28 06:42:57 UTC 2012 - highwaystar...@gmail.com
+
+- added python3 package 
+- spec file slighly cleaned (old buildroot macro replaced)
+
+---
New Changes file:

--- /dev/null   2012-05-03 01:24:41.895590051 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python3-pycurl.changes
2012-05-08 11:15:28.0 +0200
@@ -0,0 +1,6 @@
+---
+Sat Apr 28 06:43:11 UTC 2012 - highwaystar...@gmail.com
+
+- python3 package created
+- added python3 patch from upstream bugtracker
+

New:

  pycurl-python3.patch
  python3-pycurl.changes
  python3-pycurl.spec



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.MvKP3S/_old  2012-05-08 11:15:29.0 +0200
+++ /var/tmp/diff_new_pack.MvKP3S/_new  2012-05-08 11:15:29.0 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:   python-pycurl
 Version:7.19.0
 Release:0
@@ -57,7 +58,7 @@
 
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-rm -rf $RPM_BUILD_ROOT%{_datadir}/doc # Remove wrongly installed junk
+rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
 
 %files
 %defattr(-,root,root,-)

++ python3-pycurl.spec ++
#
# spec file for package python3-pycurl
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


#
%define modname pycurl
Name:   python3-%{modname}
Version:7.19.0
Release:0
Url:http://pycurl.sourceforge.net/
Summary:PycURL -- cURL library module
License:LGPL-2.1+ and MIT
Group:  Development/Languages/Python
Source: %{modname}-%{version}.tar.gz
Patch0: %{modname}-7.18.1-nostaticlibs.patch
#patch from upstream 
http://sourceforge.net/tracker/?func=detail&aid=3188495&group_id=28236&atid=392779
Patch1: pycurl-python3.patch
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  libcurl-devel >= 7.19.0
BuildRequires:  openssl-devel
BuildRequires:  python3-2to3
BuildRequires:  python3-devel
%if 0%{?suse_version} <= 1140
%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
%endif
Requires:   python3 >= %{py3_ver}

%description
This module provides bindings for the cURL library.

%package doc
Summary:Documentation for python-curl
Group:  Development/Libraries/Python
Requires:   %{name} = %{version}

%description doc
This module provides bindings for the cURL library.

This package contains documentation and examples.

%prep
%setup -q -n %{modname}-%{version}
%patch0
%patch1 -p1

%build
2to3 -w --no-diffs -n .
CFLAGS="%{optflags}" python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk

%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING README TODO
%{python3_sitearch}/*

%files doc
%defattr(-,root,root)
%doc examples doc/*.html

%changelog
++ pycurl-python3.patch ++
 1015 lines (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pycurl for openSUSE:Factory

2011-09-21 Thread h_root

Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory
checked in at Wed Sep 21 17:21:04 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ /mounts/work_src_done/STABLE/python-pycurl/python-pycurl.changes
2011-09-20 14:05:30.0 +0200
@@ -0,0 +1,109 @@
+---
+Tue Sep 20 11:54:25 UTC 2011 - sasc...@suse.de
+
+- Renamed package to 'python-pycurl' to match upstream name
+- Removed authors from description
+
+---
+Wed Feb 10 11:45:01 UTC 2010 - jf...@funktronics.ca
+
+- Update to 7.19.0:
+  * Added CURLFILE, ADDRESS_SCOPE and ISSUERCERT options, 
+as well as the APPCONNECT_TIME info.
+  * Added PRIMARY_IP info (patch by
+Yuhui H ).
+  * Added support for curl_easy_reset through a
+new 'reset' method on curl objects
+(patch by Nick Pilon ).
+  * Added support for OPENSOCKET callbacks.
+See 'tests/test_opensocket.py' for example
+usage (patch by Thomas Hunger ).
+- Version 7.18.2:
+  * Added REDIRECT_URL info and M_MAXCONNECTS option
+(patch by Yuhui H ).
+  * Added socket_action() method to CurlMulti objects.
+See 'tests/test_multi_socket_select.py' for example
+usage (patch by Yuhui H ).
+  * Added AUTOREFERER option.
+  * Allow resetting some list operations (HTTPHEADER,
+QUOTE, POSTQUOTE, PREQUOTE) by passing an empty
+list to setopt (patch by Jim Patterson).
+- Split off doc subpackage
+
+---
+Fri Apr 25 16:45:35 ADT  2008 - jf...@funktronics.ca
+
+- Update to 7.18.1:
+  * Added POST301, SSH_HOST_PUBLIC_KEY_MD5,
+COPYPOSTFIELDS and PROXY_TRANSFER_MODE options.
+  * Check for static libs in setup.py to better detect
+whether libcurl was linked with OpenSSL or GNUTLS.
+  * PycURL is now dual licensed under the LGPL and
+a license similar to the cURL license (an MIT/X
+derivate).
+- Version 7.16.4:
+  * Allow any callable object as the callback function.
+This change comes handy when you would like to use objects
+which are callable but are not functions or methods, for
+example those objects created by the functions in the functools
+module (patch by Daniel Pena Arteaga ).
+  * Added NEW_DIRECTORY_PERMS and NEW_FILE_PERMS options.
+- Version 7.16.2.1:
+  * Added IOCMD_NOP and IOCMD_RESTARTREAD for ioctl callback
+handling (patch by Mark Eichin).
+  * Use Py_ssize_t where appropriate for Python 2.5 and 64-bit
+compatibility.  This fixes the problem reported by Aaron
+Hill, where the exception "pycurl.error: (2, '')" is thrown
+when calling setopt(pycurl.POSTFIELDS,...) on 64-bit
+platforms.
+- Version 7.16.2:
+  * Added options HTTP_TRANSFER_DECODING, HTTP_CONTENT_DECODING,
+TIMEOUT_MS, CONNECTTIMEOUT_MS from libcurl 7.16.2.
+  * Right-strip URLs read from files in the test scripts
+to avoid sending requests with '\n' at the end.
+- Version 7.16.1:
+  * Added constants for all libcurl (error) return codes.  They
+are named the same as the macro constants in curl.h but prefixed
+with E_ instead of CURLE.  Return codes for the multi API are
+prefixed with M_ instead of CURLM.
+  * Added CURLOPT_FTP_SSL_CCC, CURLOPT_SSH_PUBLIC_KEYFILE,
+CURLOPT_SSH_PRIVATE_KEYFILE, CURLOPT_SSH_AUTH_TYPES.
+  * Removed CLOSEPOLICY and friends since this option is now
+deprecated in libcurl.
+  * Set the _use_datetime attribute on the CURLTransport class
+to unbreak xmlrpc_curl.py on Python 2.5.
+- Version 7.16.0 [no public release]:
+  * Added CURLOPT_SSL_SESSIONID_CACHE.
+  * Removed SOURCE_* options since they are no longer
+supported by libcurl.
+
+---
+Mon Oct  2 13:51:57 CEST 2006 - cth...@suse.de
+
+- fix build on older distributions
+
+---
+Sun Oct  1 15:14:26 CEST 2006 - cth...@suse.de
+
+- update to version 7.15.5.1
+  * Added test for basic ftp usage (tests/test_ftp.py).
+  * Fix broken ssl mutex lock funcction when using GNU TLS
+
+---
+Thu Sep 21 14:28:54 CEST 2006 - cth...@suse.de
+
+- fix build with python 2.5
+
+---
+Mon Aug 14 10:01:34 CEST 2006 - cth...@suse.de
+
+- update to version 7.15.5
+  * Added CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_MAX_SEND_SPEED_LARGE, and
+CURLOPT_MAX_RECV_SPEED_LARGE.
+- requires curl >= 7.15.5
+
+---
+Sat Aug  5 16:52:04 CEST 2006 - cth...@suse.de
+
+- initial package (version 7.15.4.2)
+

calling whatdependson for head-i586


New:

  pycurl-7.18.1-nostaticlibs.patch
  pycurl-7.19.0.tar.gz
  python-pycurl.changes
  python-pycurl.spec

+

commit python-pycurl for openSUSE:Factory

2013-06-19 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2013-06-19 16:46:46

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Changes:


Old:

  python3-pycurl.changes
  python3-pycurl.spec



Other differences:
--
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pycurl for openSUSE:Factory

2013-09-03 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2013-09-03 22:03:54

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2013-04-05 17:05:33.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2013-09-03 22:03:55.0 +0200
@@ -1,0 +2,6 @@
+Fri Aug 30 18:07:30 UTC 2013 - crrodrig...@opensuse.org
+
+- remove runtime curl version check and __DATE__ __TIME__ usage 
+  (pycurl-no-runtime-curlvercheck.patch)
+
+---

New:

  pycurl-no-runtime-curlvercheck.patch



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.Nw1KKc/_old  2013-09-03 22:03:56.0 +0200
+++ /var/tmp/diff_new_pack.Nw1KKc/_new  2013-09-03 22:03:56.0 +0200
@@ -25,6 +25,7 @@
 Group:  Development/Languages/Python
 Source: http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
 Patch0: pycurl-7.18.1-nostaticlibs.patch
+Patch1: pycurl-no-runtime-curlvercheck.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
@@ -52,7 +53,7 @@
 %prep
 %setup -q -n pycurl-%{version}
 %patch0
-
+%patch1 -p1
 %build
 CFLAGS="%{optflags}" python setup.py build
 

++ pycurl-no-runtime-curlvercheck.patch ++
--- pycurl-7.19.0.orig/src/pycurl.c
+++ pycurl-7.19.0/src/pycurl.c
@@ -3450,7 +3450,7 @@ initpycurl(void)
 
 /* Add version strings to the module */
 insstr(d, "version", curl_version());
-insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
+//insstr(d, "COMPILE_DATE", __DATE__ " " __TIME__);
 insint(d, "COMPILE_PY_VERSION_HEX", PY_VERSION_HEX);
 insint(d, "COMPILE_LIBCURL_VERSION_NUM", LIBCURL_VERSION_NUM);
 
@@ -3883,6 +3883,7 @@ initpycurl(void)
 insint_s(d, "LOCK_DATA_COOKIE", CURL_LOCK_DATA_COOKIE);
 insint_s(d, "LOCK_DATA_DNS", CURL_LOCK_DATA_DNS);
 
+#if 0
 /* Check the version, as this has caused nasty problems in
  * some cases. */
 vi = curl_version_info(CURLVERSION_NOW);
@@ -3894,6 +3895,7 @@ initpycurl(void)
 Py_FatalError("pycurl: libcurl link-time version is older than 
compile-time version");
 assert(0);
 }
+#endif
 
 /* Initialize callback locks if ssl is enabled */
 #if defined(PYCURL_NEED_SSL_TSL)
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pycurl for openSUSE:Factory

2012-11-28 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2012-11-28 14:34:03

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python3-pycurl.changes 
2012-05-08 11:15:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python3-pycurl.changes
2012-11-28 14:34:04.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 22 13:47:34 UTC 2012 - toddrme2...@gmail.com
+
+- Removed openSUSE 11.4 spec file workarounds
+
+---



Other differences:
--
++ python3-pycurl.spec ++
--- /var/tmp/diff_new_pack.6IG8It/_old  2012-11-28 14:34:05.0 +0100
+++ /var/tmp/diff_new_pack.6IG8It/_new  2012-11-28 14:34:05.0 +0100
@@ -34,11 +34,7 @@
 BuildRequires:  openssl-devel
 BuildRequires:  python3-2to3
 BuildRequires:  python3-devel
-%if 0%{?suse_version} <= 1140
-%{!?python3_sitearch: %global python3_sitearch %(python3 -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
-%{!?py3_ver: %global py3_ver %(python3 -c "import sys; 
version=str(sys.version_info[0]) + '.' + str(sys.version_info[1]); 
print(version)" 2>/dev/null || echo PYTHON-NOT-FOUND)}
-%endif
-Requires:   python3 >= %{py3_ver}
+Requires:   python(abi) = %{py3_ver}
 
 %description
 This module provides bindings for the cURL library.

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pycurl for openSUSE:Factory

2013-04-05 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2013-04-05 17:05:33

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl", Maintainer is ""

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2012-05-08 11:15:28.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2013-04-05 17:05:33.0 +0200
@@ -1,0 +2,5 @@
+Fri Apr  5 13:16:51 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls 
+
+---
--- /work/SRC/openSUSE:Factory/python-pycurl/python3-pycurl.changes 
2012-11-28 14:34:04.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python3-pycurl.changes
2013-04-05 17:05:33.0 +0200
@@ -1,0 +2,5 @@
+Fri Apr  5 13:17:05 UTC 2013 - idon...@suse.com
+
+- Add Source URL, see https://en.opensuse.org/SourceUrls 
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.4Rr6qm/_old  2013-04-05 17:05:34.0 +0200
+++ /var/tmp/diff_new_pack.4Rr6qm/_new  2013-04-05 17:05:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycurl
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 Summary:PycURL -- cURL library module
 License:LGPL-2.1+ and MIT
 Group:  Development/Languages/Python
-Source: pycurl-%{version}.tar.gz
+Source: http://pycurl.sourceforge.net/download/pycurl-%{version}.tar.gz
 Patch0: pycurl-7.18.1-nostaticlibs.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libcurl-devel >= 7.19.0

++ python3-pycurl.spec ++
--- /var/tmp/diff_new_pack.4Rr6qm/_old  2013-04-05 17:05:34.0 +0200
+++ /var/tmp/diff_new_pack.4Rr6qm/_new  2013-04-05 17:05:34.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python3-pycurl
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Summary:PycURL -- cURL library module
 License:LGPL-2.1+ and MIT
 Group:  Development/Languages/Python
-Source: %{modname}-%{version}.tar.gz
+Source: 
http://pycurl.sourceforge.net/download/%{modname}-%{version}.tar.gz
 Patch0: %{modname}-7.18.1-nostaticlibs.patch
 #patch from upstream 
http://sourceforge.net/tracker/?func=detail&aid=3188495&group_id=28236&atid=392779
 Patch1: pycurl-python3.patch

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pycurl for openSUSE:Factory

2018-09-20 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-09-20 11:40:59

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Thu Sep 20 11:40:59 2018 rev:24 rq:634807 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-08-31 09:51:57.665610307 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2018-09-20 11:41:07.604868230 +0200
@@ -1,0 +2,6 @@
+Thu Sep  6 12:53:06 UTC 2018 - Matěj Cepl 
+
+- Switch to multibuild, so that we don't need testing BuildRequires
+  always.
+
+---

New:

  _multibuild



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.tQVdD0/_old  2018-09-20 11:41:08.212867874 +0200
+++ /var/tmp/diff_new_pack.tQVdD0/_new  2018-09-20 11:41:08.212867874 +0200
@@ -18,7 +18,19 @@
 
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define test 1
+%bcond_without test
+%else
+%bcond_with test
+%endif
+%if %{with test}
+Name:   python-pycurl-%{flavor}
+%else
 Name:   python-pycurl
+%endif
 Version:7.43.0.2
 Release:0
 Summary:PycURL -- cURL library module
@@ -32,14 +44,16 @@
 Patch1: pycurl-libssh.patch
 # PATCH-FIX-OPENSUSE python-pycurl-7.43.0-tls-backend.patch -- do not run 
runtime tests to compare linked libs
 Patch2: python-pycurl-7.43.0-tls-backend.patch
-BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module flaky}
-BuildRequires:  %{python_module nose}
 BuildRequires:  fdupes
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
 BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module bottle}
+BuildRequires:  %{python_module flaky}
+BuildRequires:  %{python_module nose}
+%endif
 %ifpython2
 Provides:   %{oldpython}-curl = %{version}
 Obsoletes:  %{oldpython}-curl < %{version}
@@ -76,9 +90,14 @@
 
 rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
 
-%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%{python_expand \
+$python -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}
+$python -O -m compileall -d %{$python_sitearch} %{buildroot}%{$python_sitearch}
+%fdupes %{buildroot}%{$python_sitearch}
+}
 
 %check
+%if %{with test}
 export PYCURL_SSL_LIBRARY=openssl
 # taken from "make test" because we only need to run nosetests,
 # not the rest of the mess in the upstream runner
@@ -97,11 +116,15 @@
 %{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
 nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags"
 }
+rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
+%endif # test
 
 %files %{python_files}
 %license COPYING-LGPL COPYING-MIT
 %doc AUTHORS ChangeLog README.rst
+%if ! %{with test}
 %{python_sitearch}/*
+%endif
 
 %files -n %{name}-doc
 %doc examples doc/*.rst

++ _multibuild ++

  test




commit python-pycurl for openSUSE:Factory

2020-03-08 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2020-03-08 22:22:07

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.26092 (New)


Package is "python-pycurl"

Sun Mar  8 22:22:07 2020 rev:32 rq:781212 version:7.43.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2019-11-22 10:25:50.585266138 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.26092/python-pycurl.changes   
2020-03-08 22:22:12.732006187 +0100
@@ -1,0 +2,8 @@
+Tue Mar  3 12:01:13 UTC 2020 - Ondřej Súkup 
+
+- update to 7.43.0.5
+- refresh python-pycurl-7.43.0-tls-backend.patch 
+ * added python 3.8 support
+ * officialy ended support for python 2
+
+---

Old:

  pycurl-7.43.0.3.tar.gz

New:

  pycurl-7.43.0.5.tar.gz



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.RQANJt/_old  2020-03-08 22:22:14.368007196 +0100
+++ /var/tmp/diff_new_pack.RQANJt/_new  2020-03-08 22:22:14.368007196 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycurl
 #
-# Copyright (c) 2019 SUSE LLC.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,11 +27,10 @@
 %bcond_with test
 %endif
 Name:   python-pycurl%{psuffix}
-Version:7.43.0.3
+Version:7.43.0.5
 Release:0
 Summary:PycURL -- cURL library module
 License:LGPL-2.1-or-later AND MIT
-Group:  Development/Languages/Python
 URL:http://pycurl.io/
 Source: 
https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a 
test so it doesn't fail when obs is overloaded
@@ -64,7 +63,6 @@
 
 %package -n %{name}-doc
 Summary:Documentation for python-curl
-Group:  Development/Libraries/Python
 Requires:   %{name} = %{version}
 Provides:   %{python_module pycurl-doc = %{version}}
 BuildArch:  noarch

++ pycurl-7.43.0.3.tar.gz -> pycurl-7.43.0.5.tar.gz ++
 3319 lines of diff (skipped)

++ python-pycurl-7.43.0-tls-backend.patch ++
--- /var/tmp/diff_new_pack.RQANJt/_old  2020-03-08 22:22:14.480007265 +0100
+++ /var/tmp/diff_new_pack.RQANJt/_new  2020-03-08 22:22:14.484007268 +0100
@@ -11,10 +11,10 @@
  src/module.c | 20 +---
  1 file changed, 1 insertion(+), 19 deletions(-)
 
-Index: pycurl-7.43.0.3/src/module.c
+Index: pycurl-7.43.0.5/src/module.c
 ===
 pycurl-7.43.0.3.orig/src/module.c
-+++ pycurl-7.43.0.3/src/module.c
+--- pycurl-7.43.0.5.orig/src/module.c
 pycurl-7.43.0.5/src/module.c
 @@ -322,7 +322,7 @@ initpycurl(void)
  {
  PyObject *m, *d;
@@ -24,7 +24,7 @@
  size_t libcurl_version_len, pycurl_version_len;
  PyObject *xio_module = NULL;
  PyObject *collections_module = NULL;
-@@ -345,26 +345,6 @@ initpycurl(void)
+@@ -345,27 +345,6 @@ initpycurl(void)
  goto error;
  }
  
@@ -34,6 +34,8 @@
 -} else if (!strncmp(vi->ssl_version, "OpenSSL/", 8) || 
!strncmp(vi->ssl_version, "LibreSSL/", 9) ||
 -   !strncmp(vi->ssl_version, "BoringSSL", 9)) {
 -runtime_ssl_lib = "openssl";
+-} else if (!strncmp(vi->ssl_version, "wolfSSL/", 8)) {
+-runtime_ssl_lib = "wolfssl";
 -} else if (!strncmp(vi->ssl_version, "GnuTLS/", 7)) {
 -runtime_ssl_lib = "gnutls";
 -} else if (!strncmp(vi->ssl_version, "NSS/", 4)) {
@@ -47,7 +49,6 @@
 -PyErr_Format(PyExc_ImportError, "pycurl: libcurl link-time ssl 
backend (%s) is different from compile-time ssl backend (%s)", runtime_ssl_lib, 
COMPILE_SSL_LIB);
 -goto error;
 -}
--
+ 
  /* Initialize the type of the new type objects here; doing it here
   * is required for portability to Windows without requiring C++. */
- p_Curl_Type = &Curl_Type;




commit python-pycurl for openSUSE:Factory

2020-04-15 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2020-04-15 20:04:29

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.2738 (New)


Package is "python-pycurl"

Wed Apr 15 20:04:29 2020 rev:33 rq:792436 version:7.43.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2020-03-08 22:22:12.732006187 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.2738/python-pycurl.changes
2020-04-15 20:07:22.006140717 +0200
@@ -1,0 +2,5 @@
+Wed Apr  8 12:05:25 UTC 2020 - Tomáš Chvátal 
+
+- Do not pull in py2 package on doc subpkg
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.pF9k8r/_old  2020-04-15 20:07:22.990141386 +0200
+++ /var/tmp/diff_new_pack.pF9k8r/_new  2020-04-15 20:07:22.994141389 +0200
@@ -63,7 +63,6 @@
 
 %package -n %{name}-doc
 Summary:Documentation for python-curl
-Requires:   %{name} = %{version}
 Provides:   %{python_module pycurl-doc = %{version}}
 BuildArch:  noarch
 




commit python-pycurl for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2017-04-28 10:39:23

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Fri Apr 28 10:39:23 2017 rev:15 rq:487859 version:7.43.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2015-03-29 20:15:09.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2017-04-28 10:39:28.396238968 +0200
@@ -1,0 +2,114 @@
+Tue Dec 20 15:55:00 UTC 2016 - jmate...@suse.com
+
+- update for multipython build
+- merge python3 project
+- update and apply pycurl-no-runtime-curlvercheck.patch
+- run test suite
+- single doc package for all pythons
+
+---
+Sat Feb  6 04:43:19 UTC 2016 - a...@gmx.de
+
+- update to version 7.43.0:
+  * Highlights of this release:
++ Binary wheels are now built for Windows systems.
++ setopt_string method added to Curl objects to permit setting
+  string libcurl options that PycURL does not know about.
++ curl module can now be imported on Windows again.
++ OPENSOCKETFUNCTION callback is now invoked with the address as
+  bytes on Python 3 as was documented.
++ Support for many libcurl options and constants was added.
+
+---
+Sat Jan 30 17:57:48 UTC 2016 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+  * update patch
+
+- update to version 7.21.5:
+  * Highlights of this release:
++ Socket callbacks are now fully implemented
+  ("CURLOPT_OPENSOCKETFUNCTION", "CURLOPT_SOCKOPTFUNCTION",
+  "CURLOPT_CLOSESOCKETFUNCTION"). Unfortunately this required
+  changing "OPENSOCKETFUNCTION" API once again in a
+  backwards-incompatible manner. Support for "SOCKOPTFUNCTION" and
+  "CLOSESOCKETFUNCTION" was added in this
+  release. "OPENSOCKETFUNCTION" now supports Unix sockets.
++ Many other libcurl options and constants have been added to
+  PycURL.
++ When "pycurl" module initialization fails, "ImportError" is
+  raised instead of a fatal error terminating the process.
++ Usability of official Windows builds has been greatly improved
+
+---
+Tue Nov  3 16:59:19 UTC 2015 - a...@gmx.de
+
+- update to version 7.19.5.3:
+  * python and nosetests binaries can now be overridden when running
+the test suite (patch by Kamil Dudka).
+  * Files needed to run the test suite are distributed in sdist
+(patch by Kamil Dudka).
+
+---
+Mon Nov  2 17:03:47 UTC 2015 - a...@gmx.de
+
+- update to version 7.19.5.2:
+  * C sources made 64-bit clean on Windows.
+  * Support for building against Python 3.5 added to winbuild.py.
+  * Fixed build on Windows when using MS SDK 8.1+ or MSVC 14/2015
+(patch by Gisle Vanem).
+  * Added automatic SSL library detection on CentOS 6 by loading
+libcurl shared library in setup.py. This automatic detection is
+meant to permit installing pycurl seamlessly via `pip install pycurl`
+on CentOS; as such, it is only employed when no other configuration
+options or configuration environment variables are given to setup.py
+(original patch by Francisco Alves).
+  * Added --libcurl-dll option to setup.py to take SSL library
+information out of libcurl shared library (original patch by
+Francisco Alves). This option is only usable
+with Python 2.5 or higher.
+  * --with-ssl, --with-gnutls and --with-nss options to setup.py now
+result in PycURL explicitly linking against the respective SSL
+library. Previously setup.py relied on curl-config to supply the
+needed libraries in this case.
+  * List and tuples are now accepted in all positions of HTTPPOST
+option values.
+  * Tuples are now accepted for options taking list values (e.g.
+HTTPHEADER).
+  * Fixed a use after free in HTTPPOST when using FORM_BUFFERPTR with
+a Unicode string (patch by Clint Clayton).
+  * Fixed a memory leak in HTTPPOST for multiple FORM_BUFFERPTR
+(patch by Clint Clayton).
+  * CURLMOPT_* option constants were mistakenly defined on Curl
+instances but not on CurlMulti instances. These option constants
+are now defined on CurlMulti instances and on pycurl module,
+but not on Curl instances.
+  * Fixed several memory leaks when setting string options to
+Unicode values failed.
+  * Fixed a memory leak when using POSTFIELDS with unicode objects
+on Python 2 (patch by Clint Clayton).
+  * Official support for Python 2.4 and 2.5 dropped. PycURL is no
+longer tested against these Python

commit python-pycurl for openSUSE:Factory

2015-03-29 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2015-03-29 20:15:08

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2014-05-27 18:23:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2015-03-29 20:15:09.0 +0200
@@ -1,0 +2,40 @@
+Wed Mar 25 13:54:46 UTC 2015 - mci...@suse.cz
+
+- Run testsuite during build
+
+---
+Wed Mar 25 13:51:16 UTC 2015 - mci...@suse.cz
+
+- Update to 7.19.5.1:
+  * Added CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME.
+  * setup.py now prints PycURL-specific option help when -h is used.
+  * LibreSSL is now supported (patch by JiCiT.)
+  * Fixed an oversight that broke PycURL building against libcurl 7.19.4
+through 7.21.1. The bug was introduced in PycURL 7.19.5.
+  * Tests are now included in source distributions again, thanks to
+Kamil Dudka and Johan Bergstroem.
+  * Added CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT (libcurl 7.20.0+)
+and CURLOPT_MAIL_AUTH (libcurl 7.25.0+).
+  * Tests removed from source and binary distributions.
+  * Documentation greatly improved. Quickstart guide added.
+  * pycurl.Curl, pycurl.CurlMulti and pycurl.CurlShare are now classes
+rather than factory functions. Previously, the classes were "hidden"
+(they were accessible as e.g. type(pycurl.Curl()), but could not be
+instantiated, nor could class methods be obtained from the classes.
+Please see this mailing list post for further information:
+http://curl.haxx.se/mail/curlpython-2014-06/0004.html
+  * When passing a file-like object to READDATA option, PycURL was
+mistakenly looking for write method on this object. Now read method
+is looked up, as would be expected.
+  * Python 3.4 is now officially supported.
+  * Windows packages now build libcurl against zlib.
+  * CherryPy is no longer required for the test suite, ssl module from
+the Python standard library is used instead.
+  * Fixed a reference leak of SOCKET and TIMER callbacks on
+CurlMulti instances, thanks to Ben Darnell.
+  * Fixed build against openssl on cygwin, where pycurl needs to link
+against libcrypto rather than libssl.
+  * Added CURLOPT_SSH_KNOWNHOSTS (libcurl 7.19.6+).
+  * Added CURLE_FTP_ACCEPT_FAILED (libcurl 7.24.0+).
+
+---

Old:

  pycurl-7.19.3.1.tar.gz

New:

  pycurl-7.19.5.1.tar.gz



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.fsOT20/_old  2015-03-29 20:15:10.0 +0200
+++ /var/tmp/diff_new_pack.fsOT20/_new  2015-03-29 20:15:10.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycurl
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   python-pycurl
-Version:7.19.3.1
+Version:7.19.5.1
 Release:0
 Url:http://pycurl.sourceforge.net/
 Summary:PycURL -- cURL library module
@@ -28,13 +28,13 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
-BuildRequires:  python-devel
-BuildRequires:  python-bottle
 BuildRequires:  python-CherryPy
+BuildRequires:  python-bottle
+BuildRequires:  python-devel
 BuildRequires:  python-nose
 BuildRequires:  python-simplejson
-Requires:   python-bottle
 Requires:   python-CherryPy
+Requires:   python-bottle
 Requires:   python-simplejson
 %if 0%{?suse_version}
 %py_requires
@@ -67,6 +67,11 @@
 python setup.py install --prefix=%{_prefix} --root=%{buildroot} --with-ssl
 rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
 
+%check
+%if 0%{?suse_version} >= 1320
+make test
+%endif
+
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING-LGPL COPYING-MIT README.rst

++ pycurl-7.19.3.1.tar.gz -> pycurl-7.19.5.1.tar.gz ++
 15514 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-pycurl for openSUSE:Factory

2014-05-27 Thread h_root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2014-05-27 18:23:37

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2013-09-03 22:03:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2014-05-27 18:23:47.0 +0200
@@ -1,0 +2,137 @@
+Mon May 26 14:17:15 UTC 2014 - toddrme2...@gmail.com
+
+- Removed part of patch that breaks now necessary things:
+  pycurl-no-runtime-curlvercheck.patch
+- Specify ssl type since it is not automatically detected.
+
+---
+Wed May 21 15:41:00 UTC 2014 - toddrme2...@gmail.com
+
+- Removed patch specific to python3-pycurl: pycurl-python3.patch
+- Rebase patch: pycurl-no-runtime-curlvercheck.patch
+
+---
+Tue May 20 12:13:23 UTC 2014 - toddrme2...@gmail.com
+
+- Update to version 7.19.3.1
+  * Added --avoid-stdio setup.py option to avoid passing FILE
+pointers from Python to libcurl. Applies to Python 2 only.
+  * Added CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE,
+CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE, CURLMOPT_MAX_HOST_CONNECTIONS
+CURLMOPT_MAX_PIPELINE_LENGTH, CURLMOPT_MAX_TOTAL_CONNECTIONS
+multi options (patch by Jakob Truelsen).
+  * SSL detection logic changed to consult `curl-config --static-libs`
+even if `curl-config --libs` succeeded. This should achieve
+pre-7.19.3 behavior with respect to automatic SSL detection
+(patch by Andjelko Horvat).
+- Update to version 7.19.3
+  * Added CURLOPT_NOPROXY.
+  * Added CURLINFO_LOCAL_PORT, CURLINFO_PRIMARY_PORT and
+CURLINFO_LOCAL_IP (patch by Adam Jacob Muller).
+  * When running on Python 2.x, for compatibility with Python 3.x,
+Unicode strings containing ASCII code points only are now accepted
+in setopt() calls.
+  * PycURL now requires that compile time SSL backend used by libcurl
+is the same as the one used at runtime. setup.py supports
+--with-ssl, --with-gnutls and --with-nss options like libcurl does,
+to specify which backend libcurl uses. On some systems PycURL can
+automatically figure out libcurl's backend.
+If the backend is not one for which PycURL provides crypto locks
+(i.e., any of the other backends supported by libcurl),
+no runtime SSL backend check is performed.
+  * Default PycURL user agent string is now built at runtime, and will
+include the user agent string of libcurl loaded at runtime rather
+than the one present at compile time.
+  * PycURL will now use WSAduplicateSocket rather than dup on Windows
+to duplicate sockets obtained from OPENSOCKETFUNCTION.
+Using dup may have caused crashes, OPENSOCKETFUNCTION should
+now be usable on Windows.
+  * A new script, winbuild.py, was added to build PycURL on Windows
+against Python 2.6, 2.7, 3.2 and 3.3.
+  * Added CURL_LOCK_DATA_SSL_SESSION (patch by Tom Pierce).
+  * Added E_OPERATION_TIMEDOUT (patch by Romuald Brunet).
+  * setup.py now handles --help argument and will print PycURL-specific
+configuration options in addition to distutils help.
+  * Windows build configuration has been redone:
+PYCURL_USE_LIBCURL_DLL #define is gone, use --use-libcurl-dll
+argument to setup.py to build against a libcurl DLL.
+CURL_STATICLIB is now #defined only when --use-libcurl-dll is not
+given to setup.py, and PycURL is built against libcurl statically.
+--libcurl-lib-name option can be used to override libcurl import
+library name.
+  * Added CURLAUTH_DIGEST_IE as pycurl.HTTPAUTH_DIGEST_IE.
+  * Added CURLOPT_POSTREDIR option and CURL_REDIR_POST_301,
+CURL_REDIR_POST_302, CURL_REDIR_POST_303 and CURL_REDIR_POST_ALL
+constants. CURL_REDIR_POST_303 requires libcurl 7.26.0 or higher,
+all others require libcurl 7.19.1 or higher.
+  * PycURL now supports Python 3.1 through 3.3. Python 3.0 might
+work but it appears to ship with broken distutils, making virtualenv
+not function on it.
+  * PycURL multi objects now have the multi constants defined on them.
+Previously the constants were only available on pycurl module.
+The new behavior matches that of curl and share objects.
+  * PycURL share objects can now be closed via the close() method.
+  * PycURL will no longer call `curl-config --static-libs` if
+`curl-config --libs` succeeds and returns output.
+Systems on which neither `curl-config --libs` nor
+`curl-config --static-libs` do the right thing should provide
+a `curl-config` wrapper that is sane.
+  * Added CURLFORM_BUFFER and CURLFORM_BUFFERPTR.
+  * 

commit python-pycurl for openSUSE:Factory

2018-08-31 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-08-31 09:51:56

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Fri Aug 31 09:51:56 2018 rev:23 rq:632305 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-08-17 23:57:31.229898371 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2018-08-31 09:51:57.665610307 +0200
@@ -1,0 +2,11 @@
+Thu Aug 30 12:36:12 UTC 2018 - Tomáš Chvátal 
+
+- Add patch to match up Fedora on how we detect tls backend on runtime
+  * python-pycurl-7.43.0-tls-backend.patch
+
+---
+Wed Aug 29 08:33:02 UTC 2018 - tchva...@suse.com
+
+- Make sure we build on Leap 42.3
+
+---

New:

  python-pycurl-7.43.0-tls-backend.patch



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.sFKIXs/_old  2018-08-31 09:51:58.089611375 +0200
+++ /var/tmp/diff_new_pack.sFKIXs/_new  2018-08-31 09:51:58.093611385 +0200
@@ -30,6 +30,8 @@
 Patch0: increase_test_timeout.diff
 # PATCH-FIX-UPSTREAM handle difference between libssh and libssh2
 Patch1: pycurl-libssh.patch
+# PATCH-FIX-OPENSUSE python-pycurl-7.43.0-tls-backend.patch -- do not run 
runtime tests to compare linked libs
+Patch2: python-pycurl-7.43.0-tls-backend.patch
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module flaky}
@@ -61,8 +63,7 @@
 
 %prep
 %setup -q -n pycurl-%{version}
-%patch0 -p1
-%patch1 -p1
+%autopatch -p1
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -72,7 +73,9 @@
 %install
 export PYCURL_SSL_LIBRARY=openssl
 %python_install --with-openssl
+
 rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
+
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -92,7 +95,7 @@
 test_flags="$test_flags,\!ssh"
 fi
 %{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
-nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags" -e 
test_writefunction_collection
+nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags"
 }
 
 %files %{python_files}

++ python-pycurl-7.43.0-tls-backend.patch ++
>From 36dcccb94bef72a7c4cf6acf7479f18568e545bb Mon Sep 17 00:00:00 2001
From: Kamil Dudka 
Date: Tue, 2 May 2017 17:19:20 +0200
Subject: [PATCH] module: drop link-time vs. run-time TLS backend check

This effectively reverts the following commit:
8891398a31119ce7c872509ed60328926c51cdfb

Bug: https://bugzilla.redhat.com/1446850
---
 src/module.c | 20 +---
 1 file changed, 1 insertion(+), 19 deletions(-)

diff --git a/src/module.c b/src/module.c
index a7108a0..af79875 100644
--- a/src/module.c
+++ b/src/module.c
@@ -322,7 +322,7 @@ initpycurl(void)
 {
 PyObject *m, *d;
 const curl_version_info_data *vi;
-const char *libcurl_version, *runtime_ssl_lib;
+const char *libcurl_version;
 size_t libcurl_version_len, pycurl_version_len;
 PyObject *xio_module = NULL;
 PyObject *collections_module = NULL;
@@ -345,24 +345,6 @@ initpycurl(void)
 goto error;
 }
 
-/* Our compiled crypto locks should correspond to runtime ssl library. */
-if (vi->ssl_version == NULL) {
-runtime_ssl_lib = "none/other";
-} else if (!strncmp(vi->ssl_version, "OpenSSL/", 8) || 
!strncmp(vi->ssl_version, "LibreSSL/", 9) ||
-   !strncmp(vi->ssl_version, "BoringSSL", 9)) {
-runtime_ssl_lib = "openssl";
-} else if (!strncmp(vi->ssl_version, "GnuTLS/", 7)) {
-runtime_ssl_lib = "gnutls";
-} else if (!strncmp(vi->ssl_version, "NSS/", 4)) {
-runtime_ssl_lib = "nss";
-} else {
-runtime_ssl_lib = "none/other";
-}
-if (strcmp(runtime_ssl_lib, COMPILE_SSL_LIB)) {
-PyErr_Format(PyExc_ImportError, "pycurl: libcurl link-time ssl backend 
(%s) is different from compile-time ssl backend (%s)", runtime_ssl_lib, 
COMPILE_SSL_LIB);
-goto error;
-}
-
 /* Initialize the type of the new type objects here; doing it here
  * is required for portability to Windows without requiring C++. */
 p_Curl_Type = &Curl_Type;
-- 
2.10.2




commit python-pycurl for openSUSE:Factory

2019-03-29 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2019-03-29 20:33:50

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.25356 (New)


Package is "python-pycurl"

Fri Mar 29 20:33:50 2019 rev:28 rq:684317 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2019-02-11 21:17:07.811345415 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.25356/python-pycurl.changes   
2019-03-29 20:33:51.650629506 +0100
@@ -1,0 +2,5 @@
+Tue Mar 12 14:20:40 UTC 2019 - Matej Cepl 
+
+- Fix URL of the project
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.Cr8s7j/_old  2019-03-29 20:33:52.334629548 +0100
+++ /var/tmp/diff_new_pack.Cr8s7j/_new  2019-03-29 20:33:52.334629548 +0100
@@ -18,7 +18,6 @@
 
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define test 1
@@ -26,6 +25,7 @@
 %else
 %bcond_with test
 %endif
+
 %if %{with test}
 Name:   python-pycurl-%{flavor}
 %else
@@ -36,7 +36,7 @@
 Summary:PycURL -- cURL library module
 License:LGPL-2.1-or-later AND MIT
 Group:  Development/Languages/Python
-URL:http://pycurl.sourceforge.net/
+URL:http://pycurl.io/
 Source: 
https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a 
test so it doesn't fail when obs is overloaded
 Patch0: increase_test_timeout.diff




commit python-pycurl for openSUSE:Factory

2019-04-10 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2019-04-10 23:10:58

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.27019 (New)


Package is "python-pycurl"

Wed Apr 10 23:10:58 2019 rev:29 rq:692313 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2019-03-29 20:33:51.650629506 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.27019/python-pycurl.changes   
2019-04-10 23:10:59.771960287 +0200
@@ -1,0 +2,12 @@
+Mon Apr  8 15:35:42 CEST 2019 - Matej Cepl 
+
+- bsc#1128355: update to the Factory package to get multibuild and
+  better working tests.
+- Refreshed patch against the new minor release tarball:
+  - pycurl-libssh.patch
+- Added patches:
+  - disable_randomly_failing_tests.patch
+  - python-pycurl-7.43.0-tls-backend.patch (from
+
https://src.fedoraproject.org/rpms/python-pycurl/blob/master/f/0002-python-pycurl-7.43.0-tls-backend.patch)
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.1o4J3D/_old  2019-04-10 23:11:00.675961313 +0200
+++ /var/tmp/diff_new_pack.1o4J3D/_new  2019-04-10 23:11:00.679961317 +0200
@@ -18,19 +18,16 @@
 
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
-%define test 1
+%define psuffix -test
 %bcond_without test
 %else
+%define psuffix %{nil}
 %bcond_with test
 %endif
-
-%if %{with test}
-Name:   python-pycurl-%{flavor}
-%else
-Name:   python-pycurl
-%endif
+Name:   python-pycurl%{psuffix}
 Version:7.43.0.2
 Release:0
 Summary:PycURL -- cURL library module
@@ -122,14 +119,14 @@
 rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
 %endif # test
 
+%if ! %{with test}
 %files %{python_files}
 %license COPYING-LGPL COPYING-MIT
 %doc AUTHORS ChangeLog README.rst
-%if ! %{with test}
 %{python_sitearch}/*
-%endif
 
 %files -n %{name}-doc
 %doc examples doc/*.rst
+%endif
 
 %changelog




commit python-pycurl for openSUSE:Factory

2018-08-17 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-08-17 23:57:31

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Fri Aug 17 23:57:31 2018 rev:22 rq:628389 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-07-21 10:08:17.211197338 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2018-08-17 23:57:31.229898371 +0200
@@ -1,0 +2,5 @@
+Thu Aug  9 11:15:17 UTC 2018 - tchva...@suse.com
+
+- Start excluding flaky tests
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.6ibl1r/_old  2018-08-17 23:57:31.601899476 +0200
+++ /var/tmp/diff_new_pack.6ibl1r/_new  2018-08-17 23:57:31.601899476 +0200
@@ -77,7 +77,6 @@
 
 %check
 export PYCURL_SSL_LIBRARY=openssl
-%ifnarch %{arm} aarch64
 # taken from "make test" because we only need to run nosetests,
 # not the rest of the mess in the upstream runner
 pushd tests/fake-curl/libcurl
@@ -92,9 +91,9 @@
 if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
 test_flags="$test_flags,\!ssh"
 fi
-%{python_expand PYTHONPATH=$(ls -d build/lib.*) \
-nosetests-%$python_bin_suffix --with-flaky -a "$test_flags"}
-%endif
+%{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
+nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags" -e 
test_writefunction_collection
+}
 
 %files %{python_files}
 %license COPYING-LGPL COPYING-MIT




commit python-pycurl for openSUSE:Factory

2018-12-26 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-12-27 00:29:41

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.28833 (New)


Package is "python-pycurl"

Thu Dec 27 00:29:41 2018 rev:26 rq:660010 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-11-12 09:48:48.240520744 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.28833/python-pycurl.changes   
2018-12-27 00:29:42.739647307 +0100
@@ -1,0 +2,5 @@
+Wed Dec 19 14:18:26 CET 2018 - mc...@suse.com
+
+- Add missing setuptools BR
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.eDVRHs/_old  2018-12-27 00:29:43.367646793 +0100
+++ /var/tmp/diff_new_pack.eDVRHs/_new  2018-12-27 00:29:43.367646793 +0100
@@ -46,6 +46,7 @@
 Patch2: python-pycurl-7.43.0-tls-backend.patch
 Patch3: disable_randomly_failing_tests.patch
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
@@ -115,7 +116,7 @@
 test_flags="$test_flags,\!ssh"
 fi
 %{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
-nosetests-%$python_bin_suffix -v --with-flaky -a "$test_flags"
+nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags"
 }
 rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
 %endif # test




commit python-pycurl for openSUSE:Factory

2018-02-01 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-02-01 21:25:54

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Thu Feb  1 21:25:54 2018 rev:19 rq:571200 version:7.43.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2017-12-10 18:17:09.620008195 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2018-02-01 21:25:56.386745805 +0100
@@ -1,0 +2,8 @@
+Tue Jan 30 16:01:27 UTC 2018 - vci...@suse.com
+
+- Since version 7.58.0, curl may be compiled with libssh instead of
+  libssh2 which differ in supported functionality (bsc#1078329)
+  * add pycurl-libssh.patch
+- update license
+
+---

New:

  pycurl-libssh.patch



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.NNncJy/_old  2018-02-01 21:25:57.158709723 +0100
+++ /var/tmp/diff_new_pack.NNncJy/_new  2018-02-01 21:25:57.166709349 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycurl
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,12 +22,14 @@
 Version:7.43.0.1
 Release:0
 Summary:PycURL -- cURL library module
-License:LGPL-2.1+ and MIT
+License:LGPL-2.1+ AND MIT
 Group:  Development/Languages/Python
 Url:http://pycurl.sourceforge.net/
 Source: 
https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a 
test so it doesn't fail when obs is overloaded
 Patch0: increase_test_timeout.diff
+# PATCH-FIX-UPSTREAM handle difference between libssh and libssh2
+Patch1: pycurl-libssh.patch
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module flaky}
@@ -61,6 +63,7 @@
 %prep
 %setup -q -n pycurl-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ pycurl-libssh.patch ++
Index: pycurl-7.43.0.1/tests/ssh_key_cb_test.py
===
--- pycurl-7.43.0.1.orig/tests/ssh_key_cb_test.py   2017-12-03 
20:03:17.0 +0100
+++ pycurl-7.43.0.1/tests/ssh_key_cb_test.py2018-01-30 16:56:42.499858079 
+0100
@@ -30,8 +30,11 @@ class SshKeyCbTest(unittest.TestCase):
 def keyfunction(known_key, found_key, match):
 return pycurl.KHSTAT_FINE
 
-self.curl.setopt(pycurl.SSH_KNOWNHOSTS, '.known_hosts')
-self.curl.setopt(pycurl.SSH_KEYFUNCTION, keyfunction)
+try:
+self.curl.setopt(pycurl.SSH_KNOWNHOSTS, '.known_hosts')
+self.curl.setopt(pycurl.SSH_KEYFUNCTION, keyfunction)
+except pycurl.error as e:
+self.assertEqual(pycurl.E_UNKNOWN_OPTION, e.args[0])
 
 try:
 self.curl.perform()
@@ -44,8 +47,11 @@ class SshKeyCbTest(unittest.TestCase):
 def keyfunction(known_key, found_key, match):
 return pycurl.KHSTAT_REJECT
 
-self.curl.setopt(pycurl.SSH_KNOWNHOSTS, '.known_hosts')
-self.curl.setopt(pycurl.SSH_KEYFUNCTION, keyfunction)
+try:
+self.curl.setopt(pycurl.SSH_KNOWNHOSTS, '.known_hosts')
+self.curl.setopt(pycurl.SSH_KEYFUNCTION, keyfunction)
+except pycurl.error as e:
+self.assertEqual(pycurl.E_UNKNOWN_OPTION, e.args[0])
 
 try:
 self.curl.perform()
@@ -58,8 +64,11 @@ class SshKeyCbTest(unittest.TestCase):
 def keyfunction(known_key, found_key, match):
 return 'bogus'
 
-self.curl.setopt(pycurl.SSH_KNOWNHOSTS, '.known_hosts')
-self.curl.setopt(pycurl.SSH_KEYFUNCTION, keyfunction)
+try:
+self.curl.setopt(pycurl.SSH_KNOWNHOSTS, '.known_hosts')
+self.curl.setopt(pycurl.SSH_KEYFUNCTION, keyfunction)
+except pycurl.error as e:
+self.assertEqual(pycurl.E_UNKNOWN_OPTION, e.args[0])
 
 try:
 self.curl.perform()
@@ -77,8 +86,14 @@ class SshKeyCbUnsetTest(unittest.TestCas
 
 @util.min_libcurl(7, 19, 6)
 def test_keyfunction_none(self):
-self.curl.setopt(pycurl.SSH_KEYFUNCTION, None)
+try:
+self.curl.setopt(pycurl.SSH_KEYFUNCTION, None)
+except pycurl.error as e:
+self.assertEqual(pycurl.E_UN

commit python-pycurl for openSUSE:Factory

2018-02-05 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-02-05 10:48:28

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Mon Feb  5 10:48:28 2018 rev:20 rq:572020 version:7.43.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-02-01 21:25:56.386745805 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2018-02-05 10:48:35.428721450 +0100
@@ -1,0 +2,11 @@
+Fri Feb  2 13:17:14 UTC 2018 - tchva...@suse.com
+
+- Disable tests on arm platforms as they are very flaky there,
+  on multiple runs always different failures
+
+---
+Fri Feb  2 13:00:02 UTC 2018 - tchva...@suse.com
+
+- Disable strict aliasing as reported by the rpm checks
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.46glGX/_old  2018-02-05 10:48:36.836655536 +0100
+++ /var/tmp/diff_new_pack.46glGX/_new  2018-02-05 10:48:36.836655536 +0100
@@ -66,7 +66,7 @@
 %patch1 -p1
 
 %build
-export CFLAGS="%{optflags}"
+export CFLAGS="%{optflags} -fno-strict-aliasing"
 %python_build --with-ssl
 
 %install
@@ -74,6 +74,7 @@
 rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
 
 %check
+%ifnarch %{arm} aarch64
 # taken from "make test" because we only need to run nosetests,
 # not the rest of the mess in the upstream runner
 pushd tests/fake-curl/libcurl
@@ -90,6 +91,7 @@
 fi
 %{python_expand PYTHONPATH=$(ls -d build/lib.*) \
 nosetests-%$python_bin_suffix --with-flaky -a "$test_flags"}
+%endif
 
 %files %{python_files}
 %defattr(-,root,root,-)




commit python-pycurl for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2019-07-30 13:05:33

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.4126 (New)


Package is "python-pycurl"

Tue Jul 30 13:05:33 2019 rev:30 rq:717837 version:7.43.0.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2019-04-10 23:10:59.771960287 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.4126/python-pycurl.changes
2019-07-30 13:05:37.918384122 +0200
@@ -1,0 +2,10 @@
+Tue Jul 23 10:20:14 UTC 2019 - Tomáš Chvátal 
+
+- Update to 7.43.0.3:
+  * This release primarily fixes an OpenSSL-related installation issue, and
+repairs the ability to use PycURL with newer libcurls compiled without
+FTP support.
+- Rebase patch:
+  * python-pycurl-7.43.0-tls-backend.patch
+
+---

Old:

  pycurl-7.43.0.2.tar.gz

New:

  pycurl-7.43.0.3.tar.gz



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.6idyEJ/_old  2019-07-30 13:05:38.334384013 +0200
+++ /var/tmp/diff_new_pack.6idyEJ/_new  2019-07-30 13:05:38.338384011 +0200
@@ -18,7 +18,6 @@
 
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-
 %global flavor @BUILD_FLAVOR@%{nil}
 %if "%{flavor}" == "test"
 %define psuffix -test
@@ -28,7 +27,7 @@
 %bcond_with test
 %endif
 Name:   python-pycurl%{psuffix}
-Version:7.43.0.2
+Version:7.43.0.3
 Release:0
 Summary:PycURL -- cURL library module
 License:LGPL-2.1-or-later AND MIT
@@ -45,9 +44,10 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  libcurl-devel >= 7.19.0
-BuildRequires:  openssl-devel
+BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
+BuildRequires:  pkgconfig(libcurl) >= 7.19.0
+BuildRequires:  pkgconfig(openssl)
 %if %{with test}
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module flaky}
@@ -81,7 +81,7 @@
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 export PYCURL_SSL_LIBRARY=openssl
-%python_build --with-ssl
+%python_build --with-openssl
 
 %install
 export PYCURL_SSL_LIBRARY=openssl

++ pycurl-7.43.0.2.tar.gz -> pycurl-7.43.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycurl-7.43.0.2/AUTHORS new/pycurl-7.43.0.3/AUTHORS
--- old/pycurl-7.43.0.2/AUTHORS 2018-06-02 06:59:02.0 +0200
+++ new/pycurl-7.43.0.3/AUTHORS 2019-06-17 07:49:30.0 +0200
@@ -1,6 +1,6 @@
 Copyright (C) 2001-2008 by Kjetil Jacobsen 
 Copyright (C) 2001-2008 by Markus F.X.J. Oberhumer 
-Copyright (C) 2013-2018 by Oleg Pudeyev 
+Copyright (C) 2013-2019 by Oleg Pudeyev 
 
 Please see README, COPYING-LGPL and COPYING-MIT for license information.
 
@@ -22,6 +22,7 @@
 Daniel Pena Arteaga 
 Daniel Stenberg 
 decitre 
+Dmitriy Taychenachev 
 Dmitry Ketov 
 Domenico Andreoli 
 Dominique 
@@ -37,12 +38,14 @@
 Jakub Wilk 
 Jan Kryl 
 Jayne 
+James Deucker 
 JiCiT 
 Jim Patterson
 Jozef Melicher 
 K.S.Sreeram 
 Kamil Dudka 
 Kevin Ko 
+Khavish Anshudass Bhundoo 
 kxrd 
 Lipin Dmitriy 
 Léo El Amri 
@@ -53,6 +56,7 @@
 Markus 
 Martin Muenstermann 
 Matt King 
+Nelson Chen 
 Nick Pilon 
 Oren 
 Orion Poplawski 
@@ -66,6 +70,7 @@
 Tal Einat 
 Thomas Hunger 
 Tino Lange 
+toddrme2178 
 Tom Pierce 
 Victor Lascurain 
 Vitaly Murashev 
@@ -78,3 +83,4 @@
 Yuri Ushakov 
 Yves Bastide 
 Zdenek Pavlas 
+ziggy 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycurl-7.43.0.2/COPYING-MIT 
new/pycurl-7.43.0.3/COPYING-MIT
--- old/pycurl-7.43.0.2/COPYING-MIT 2018-06-02 06:59:02.0 +0200
+++ new/pycurl-7.43.0.3/COPYING-MIT 2019-06-17 07:49:37.0 +0200
@@ -2,7 +2,7 @@
 
 Copyright (C) 2001-2008 by Kjetil Jacobsen 
 Copyright (C) 2001-2008 by Markus F.X.J. Oberhumer 
-Copyright (C) 2013-2018 by Oleg Pudeyev 
+Copyright (C) 2013-2019 by Oleg Pudeyev 
 
 All rights reserved.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pycurl-7.43.0.2/ChangeLog 
new/pycurl-7.43.0.3/ChangeLog
--- old/pycurl-7.43.0.2/ChangeLog   2018-06-02 06:59:02.0 +0200
+++ new/pycurl-7.43.0.3/ChangeLog   2019-06-17 07:51:23.0 +0200
@@ -1,3 +1,23 @@
+Version 7.43.0.3 [requires libcurl-7.19.0 or better] - 2019-06-17
+-
+
+* Fixed use with libcurl 7.65+ when FTP support is disabled.
+
+* Added support for mbedTLS (patch by Josef 

commit python-pycurl for openSUSE:Factory

2017-08-14 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2017-08-14 12:37:18

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Mon Aug 14 12:37:18 2017 rev:17 rq:515236 version:7.43.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2017-06-29 14:59:39.748108176 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2017-08-14 12:37:19.310734761 +0200
@@ -1,0 +2,5 @@
+Tue Aug  8 19:16:32 UTC 2017 - tbecht...@suse.com
+
+- Cleanup Requires and BuildRequires
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.zUFCUm/_old  2017-08-14 12:37:19.994638725 +0200
+++ /var/tmp/diff_new_pack.zUFCUm/_new  2017-08-14 12:37:19.998638163 +0200
@@ -30,19 +30,13 @@
 Patch0: pycurl-no-runtime-curlvercheck.patch
 # PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a 
test so it doesn't fail when obs is overloaded
 Patch1: increase_test_timeout.diff
-BuildRequires:  %{python_module CherryPy}
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module flaky}
 BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module pyflakes}
-BuildRequires:  %{python_module simplejson}
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
 BuildRequires:  python-rpm-macros
-Requires:   python-CherryPy
-Requires:   python-bottle
-Requires:   python-simplejson
 %ifpython2
 Provides:   %{oldpython}-curl = %{version}
 Obsoletes:  %{oldpython}-curl < %{version}




commit python-pycurl for openSUSE:Factory

2017-12-10 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2017-12-10 18:17:07

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Sun Dec 10 18:17:07 2017 rev:18 rq:36 version:7.43.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2017-08-14 12:37:19.310734761 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2017-12-10 18:17:09.620008195 +0100
@@ -1,0 +2,12 @@
+Fri Dec  8 18:06:28 UTC 2017 - a...@gmx.de
+
+- refreshed patch increase_test_timeout.diff (updated line number)
+
+- removed patch pycurl-no-runtime-curlvercheck.patch (included upstream)
+
+- update to version 7.43.0.1:
+  * This release collects fixes and improvements made over the past
+two years,notably updating Windows dependencies to address DNS
+resolution andTLS connection issues.
+
+---

Old:

  pycurl-7.43.0.tar.gz
  pycurl-no-runtime-curlvercheck.patch

New:

  pycurl-7.43.0.1.tar.gz



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.Q9Abj3/_old  2017-12-10 18:17:10.447968758 +0100
+++ /var/tmp/diff_new_pack.Q9Abj3/_new  2017-12-10 18:17:10.451968567 +0100
@@ -19,17 +19,15 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pycurl
-Version:7.43.0
+Version:7.43.0.1
 Release:0
 Summary:PycURL -- cURL library module
 License:LGPL-2.1+ and MIT
 Group:  Development/Languages/Python
 Url:http://pycurl.sourceforge.net/
 Source: 
https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM remove __DATE__ and __TIME__
-Patch0: pycurl-no-runtime-curlvercheck.patch
 # PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a 
test so it doesn't fail when obs is overloaded
-Patch1: increase_test_timeout.diff
+Patch0: increase_test_timeout.diff
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module flaky}
@@ -63,7 +61,6 @@
 %prep
 %setup -q -n pycurl-%{version}
 %patch0 -p1
-%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"

++ increase_test_timeout.diff ++
--- /var/tmp/diff_new_pack.Q9Abj3/_old  2017-12-10 18:17:10.467967805 +0100
+++ /var/tmp/diff_new_pack.Q9Abj3/_new  2017-12-10 18:17:10.467967805 +0100
@@ -2,16 +2,16 @@
 ===
 --- pycurl-7.43.0.orig/tests/runwsgi.py
 +++ pycurl-7.43.0/tests/runwsgi.py
-@@ -55,10 +55,10 @@ def start_bottle_server(app, port, serve
+@@ -48,10 +48,10 @@ def start_bottle_server(app, port, serve
  server_thread.daemon = True
  server_thread.start()
- 
+ 
 -ok = util.wait_for_network_service(('127.0.0.1', port), 0.1, 10)
 +ok = util.wait_for_network_service(('127.0.0.1', port), 0.1, 30)
  if not ok:
  import warnings
 -warnings.warn('Server did not start after 1 second')
 +warnings.warn('Server did not start after 3 seconds')
- 
+ 
  return server_thread.server
  

++ pycurl-7.43.0.tar.gz -> pycurl-7.43.0.1.tar.gz ++
 6070 lines of diff (skipped)




commit python-pycurl for openSUSE:Factory

2019-11-22 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2019-11-22 10:25:49

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.26869 (New)


Package is "python-pycurl"

Fri Nov 22 10:25:49 2019 rev:31 rq:749288 version:7.43.0.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2019-07-30 13:05:37.918384122 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.26869/python-pycurl.changes   
2019-11-22 10:25:50.585266138 +0100
@@ -1,0 +2,6 @@
+Mon Nov 18 10:52:42 UTC 2019 - Tomáš Chvátal 
+
+- Skip 4 tests that are tied to old bottle version so we can
+  update the python-bottle package
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.zuxBp1/_old  2019-11-22 10:25:51.237265946 +0100
+++ /var/tmp/diff_new_pack.zuxBp1/_new  2019-11-22 10:25:51.237265946 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycurl
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -113,8 +113,9 @@
 if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
 test_flags="$test_flags,\!ssh"
 fi
+# test_getinfo are failing with new bottle
 %{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
-nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags"
+nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags" -e 
'test_getinfo'
 }
 rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
 %endif # test




commit python-pycurl for openSUSE:Factory

2019-02-11 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2019-02-11 21:17:07

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.28833 (New)


Package is "python-pycurl"

Mon Feb 11 21:17:07 2019 rev:27 rq:672293 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-12-27 00:29:42.739647307 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.28833/python-pycurl.changes   
2019-02-11 21:17:07.811345415 +0100
@@ -1,0 +2,5 @@
+Wed Feb  6 15:24:44 UTC 2019 - alarr...@suse.com
+
+- Set LANG to en_US.UTF8 to fix the tests
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.7z0mY1/_old  2019-02-11 21:17:08.543345027 +0100
+++ /var/tmp/diff_new_pack.7z0mY1/_new  2019-02-11 21:17:08.547345025 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pycurl
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -100,6 +100,7 @@
 
 %check
 %if %{with test}
+export LANG=en_US.UTF-8
 export PYCURL_SSL_LIBRARY=openssl
 # taken from "make test" because we only need to run nosetests,
 # not the rest of the mess in the upstream runner




commit python-pycurl for openSUSE:Factory

2018-11-12 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-11-12 09:48:45

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Mon Nov 12 09:48:45 2018 rev:25 rq:646252 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-09-20 11:41:07.604868230 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2018-11-12 09:48:48.240520744 +0100
@@ -1,0 +2,6 @@
+Fri Nov  2 11:14:22 UTC 2018 - Vítězslav Čížek 
+
+- Don't run tests that fail randomly or under load
+  * add disable_randomly_failing_tests.patch
+
+---

New:

  disable_randomly_failing_tests.patch



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.93cmUN/_old  2018-11-12 09:48:48.972519641 +0100
+++ /var/tmp/diff_new_pack.93cmUN/_new  2018-11-12 09:48:48.972519641 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -44,6 +44,7 @@
 Patch1: pycurl-libssh.patch
 # PATCH-FIX-OPENSUSE python-pycurl-7.43.0-tls-backend.patch -- do not run 
runtime tests to compare linked libs
 Patch2: python-pycurl-7.43.0-tls-backend.patch
+Patch3: disable_randomly_failing_tests.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  fdupes
 BuildRequires:  libcurl-devel >= 7.19.0
@@ -106,7 +107,7 @@
 make %{?_smp_mflags}
 popd
 # exclude certain tests
-test_flags='!online'
+test_flags='!online,!occasionally_failing'
 if ! pkg-config --variable=supported_features libcurl|grep -qw HTTP2; then
 test_flags="$test_flags,\!http2"
 fi

++ disable_randomly_failing_tests.patch ++
Index: pycurl-7.43.0.2/tests/memory_mgmt_test.py
===
--- pycurl-7.43.0.2.orig/tests/memory_mgmt_test.py  2018-06-02 
06:29:03.0 +0200
+++ pycurl-7.43.0.2/tests/memory_mgmt_test.py   2018-11-02 15:06:49.831677767 
+0100
@@ -9,6 +9,7 @@ import unittest
 import gc
 import flaky
 from . import util
+import nose
 
 debug = False
 
@@ -17,6 +18,7 @@ if sys.platform == 'win32':
 else:
 devnull = '/dev/null'
 
+@nose.plugins.attrib.attr('occasionally_failing')
 @flaky.flaky(max_runs=3)
 class MemoryMgmtTest(unittest.TestCase):
 def maybe_enable_debug(self):
Index: pycurl-7.43.0.2/tests/multi_memory_mgmt_test.py
===
--- pycurl-7.43.0.2.orig/tests/multi_memory_mgmt_test.py2018-05-22 
05:44:40.0 +0200
+++ pycurl-7.43.0.2/tests/multi_memory_mgmt_test.py 2018-11-02 
15:07:13.703835912 +0100
@@ -7,11 +7,13 @@ import unittest
 import gc
 import flaky
 import weakref
+import nose
 
 from . import util
 
 debug = False
 
+@nose.plugins.attrib.attr('occasionally_failing')
 @flaky.flaky(max_runs=3)
 class MultiMemoryMgmtTest(unittest.TestCase):
 def test_opensocketfunction_collection(self):
Index: pycurl-7.43.0.2/tests/multi_timer_test.py
===
--- pycurl-7.43.0.2.orig/tests/multi_timer_test.py  2018-06-02 
06:14:57.0 +0200
+++ pycurl-7.43.0.2/tests/multi_timer_test.py   2018-11-02 15:07:26.263919115 
+0100
@@ -5,6 +5,7 @@
 from . import localhost
 import pycurl
 import unittest
+import nose
 
 from . import appmanager
 from . import util
@@ -23,6 +24,7 @@ def teardown_module(mod):
 teardown_module_2(mod)
 teardown_module_1(mod)
 
+@nose.plugins.attrib.attr('occasionally_failing')
 class MultiSocketTest(unittest.TestCase):
 def test_multi_timer(self):
 urls = [



commit python-pycurl for openSUSE:Factory

2018-07-21 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2018-07-21 10:08:14

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Sat Jul 21 10:08:14 2018 rev:21 rq:623375 version:7.43.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2018-02-05 10:48:35.428721450 +0100
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2018-07-21 10:08:17.211197338 +0200
@@ -1,0 +2,33 @@
+Tue Jul 10 11:06:40 UTC 2018 - mc...@suse.com
+
+- Update to 7.43.0.2:
+* Added perform_rb and perform_rs methods to Curl objects to
+  return response body as byte string and string, respectively.
+* Added OPT_COOKIELIST constant for consistency with other
+  option constants.
+* PycURL is now able to report errors triggered by libcurl
+  via CURLOPT_FAILONERROR mechanism when the error messages are
+  not decodable in Python's default encoding (GitHub issue #259).
+* Added getinfo_raw method to Curl objects to return byte strings
+  as is from libcurl without attempting to decode them
+  (GitHub issue #493).
+* When adding a Curl easy object to CurlMulti via add_handle,
+  the easy objects now have their reference counts increased so that
+  the application is no longer required to keep references to them
+  to keep them from being garbage collected (GitHub issue #171).
+* PycURL easy, multi and share objects can now be weak referenced.
+* set_ca_certs now accepts byte strings as it should have been
+  all along.
+* Use OpenSSL 1.1 and 1.0 specific APIs for controlling thread locks
+  depending on OpenSSL version (patch by Vitaly Murashev).
+* Fixed a crash when closesocket callback failed (patch by
+  Gisle Vanem and toddrme2178).
+* Added CURLOPT_PROXY_SSLCERT, CURLOPT_PROXY_SSLCERTTYPE,
+  CURLOPT_PROXY_SSLKEY, CURLOPT_PROXY_SSLKEYTYPE,
+  CURLOPT_PROXY_SSL_VERIFYPEER (libcurl 7.52.0+,
+  patch by Casey Miller).
+* Added CURLOPT_PRE_PROXY (libcurl 7.52.0+, patch by ziggy).
+* Added SOCKET_BAD constant and it is now recognized as a valid
+  return value from OPENSOCKET callback.
+
+---

Old:

  pycurl-7.43.0.1.tar.gz

New:

  pycurl-7.43.0.2.tar.gz



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.tDHARr/_old  2018-07-21 10:08:17.619197245 +0200
+++ /var/tmp/diff_new_pack.tDHARr/_new  2018-07-21 10:08:17.619197245 +0200
@@ -19,12 +19,12 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pycurl
-Version:7.43.0.1
+Version:7.43.0.2
 Release:0
 Summary:PycURL -- cURL library module
-License:LGPL-2.1+ AND MIT
+License:LGPL-2.1-or-later AND MIT
 Group:  Development/Languages/Python
-Url:http://pycurl.sourceforge.net/
+URL:http://pycurl.sourceforge.net/
 Source: 
https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
 # PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a 
test so it doesn't fail when obs is overloaded
 Patch0: increase_test_timeout.diff
@@ -34,6 +34,7 @@
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module flaky}
 BuildRequires:  %{python_module nose}
+BuildRequires:  fdupes
 BuildRequires:  libcurl-devel >= 7.19.0
 BuildRequires:  openssl-devel
 BuildRequires:  python-rpm-macros
@@ -41,8 +42,6 @@
 Provides:   %{oldpython}-curl = %{version}
 Obsoletes:  %{oldpython}-curl < %{version}
 %endif
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-
 %python_subpackages
 
 %description
@@ -67,19 +66,23 @@
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"
+export PYCURL_SSL_LIBRARY=openssl
 %python_build --with-ssl
 
 %install
-%python_install
+export PYCURL_SSL_LIBRARY=openssl
+%python_install --with-openssl
 rm -rf %{buildroot}%{_datadir}/doc # Remove wrongly installed junk
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
+export PYCURL_SSL_LIBRARY=openssl
 %ifnarch %{arm} aarch64
 # taken from "make test" because we only need to run nosetests,
 # not the rest of the mess in the upstream runner
 pushd tests/fake-curl/libcurl
 rm -f *.so
-make
+make %{?_smp_mflags}
 popd
 # exclude certain tests
 test_flags='!online'
@@ -94,12 +97,11 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-

commit python-pycurl for openSUSE:Factory

2017-06-29 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2017-06-29 14:59:34

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new (New)


Package is "python-pycurl"

Thu Jun 29 14:59:34 2017 rev:16 rq:505428 version:7.43.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2017-04-28 10:39:28.396238968 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new/python-pycurl.changes 
2017-06-29 14:59:39.748108176 +0200
@@ -1,0 +2,11 @@
+Wed Jun 21 09:51:22 UTC 2017 - alarr...@suse.com
+
+- Add increase_test_timeout.diff so tests don't fail when obs is
+  overloaded and it takes more than 1 second to start a service.
+
+---
+Thu Jun  8 16:15:49 UTC 2017 - lnus...@suse.de
+
+- exclude http2 and ssh tests if curl(-mini) doesn't support it
+
+---

New:

  increase_test_timeout.diff



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.uZDaZ9/_old  2017-06-29 14:59:41.027927470 +0200
+++ /var/tmp/diff_new_pack.uZDaZ9/_new  2017-06-29 14:59:41.031926906 +0200
@@ -28,6 +28,8 @@
 Source: 
https://files.pythonhosted.org/packages/source/p/pycurl/pycurl-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM remove __DATE__ and __TIME__
 Patch0: pycurl-no-runtime-curlvercheck.patch
+# PATCH-FIX-OPENSUSE increase_test_timeout.diff -- Increase the timeout in a 
test so it doesn't fail when obs is overloaded
+Patch1: increase_test_timeout.diff
 BuildRequires:  %{python_module CherryPy}
 BuildRequires:  %{python_module bottle}
 BuildRequires:  %{python_module devel}
@@ -67,6 +69,7 @@
 %prep
 %setup -q -n pycurl-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 export CFLAGS="%{optflags}"
@@ -83,13 +86,16 @@
 rm -f *.so
 make
 popd
-EXCLUDES=""
-%if 0%{?suse_version} < 1320
-# CURL too old to know HTTP/2
-EXCLUDES="-e test_http_version_2_0"
-%endif
+# exclude certain tests
+test_flags='!online'
+if ! pkg-config --variable=supported_features libcurl|grep -qw HTTP2; then
+test_flags="$test_flags,\!http2"
+fi
+if ! pkg-config --variable=supported_protocols libcurl|grep -qw SCP; then
+test_flags="$test_flags,\!ssh"
+fi
 %{python_expand PYTHONPATH=$(ls -d build/lib.*) \
-nosetests-%$python_bin_suffix --with-flaky -a '!online' $EXCLUDES}
+nosetests-%$python_bin_suffix --with-flaky -a "$test_flags"}
 
 %files %{python_files}
 %defattr(-,root,root,-)

++ increase_test_timeout.diff ++
Index: pycurl-7.43.0/tests/runwsgi.py
===
--- pycurl-7.43.0.orig/tests/runwsgi.py
+++ pycurl-7.43.0/tests/runwsgi.py
@@ -55,10 +55,10 @@ def start_bottle_server(app, port, serve
 server_thread.daemon = True
 server_thread.start()
 
-ok = util.wait_for_network_service(('127.0.0.1', port), 0.1, 10)
+ok = util.wait_for_network_service(('127.0.0.1', port), 0.1, 30)
 if not ok:
 import warnings
-warnings.warn('Server did not start after 1 second')
+warnings.warn('Server did not start after 3 seconds')
 
 return server_thread.server
 



commit python-pycurl for openSUSE:Factory

2020-06-23 Thread root
Hello community,

here is the log from the commit of package python-pycurl for openSUSE:Factory 
checked in at 2020-06-23 21:01:14

Comparing /work/SRC/openSUSE:Factory/python-pycurl (Old)
 and  /work/SRC/openSUSE:Factory/.python-pycurl.new.2956 (New)


Package is "python-pycurl"

Tue Jun 23 21:01:14 2020 rev:34 rq:816392 version:7.43.0.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pycurl/python-pycurl.changes  
2020-04-15 20:07:22.006140717 +0200
+++ /work/SRC/openSUSE:Factory/.python-pycurl.new.2956/python-pycurl.changes
2020-06-23 21:01:57.625333437 +0200
@@ -1,0 +2,5 @@
+Mon Jun 22 08:25:46 UTC 2020 - Callum Farmer 
+
+- Fixes for %_libexecdir changing to /usr/libexec
+
+---



Other differences:
--
++ python-pycurl.spec ++
--- /var/tmp/diff_new_pack.slvdcF/_old  2020-06-23 21:01:58.629336667 +0200
+++ /var/tmp/diff_new_pack.slvdcF/_new  2020-06-23 21:01:58.641336706 +0200
@@ -114,7 +114,7 @@
 %{python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} \
 nosetests-%{$python_bin_suffix} -v --with-flaky -a "$test_flags" -e 
'test_getinfo'
 }
-rm -rf %{buildroot}%{_libexecdir}/debug %{buildroot}%{_libdir}/python*
+rm -rf %{buildroot}%{_prefix}/lib/debug %{buildroot}%{_libdir}/python*
 %endif # test
 
 %if ! %{with test}