debian/0000755000000000000000000000000012313576641007176 5ustar debian/python-pycurl.dirs0000644000000000000000000000004111012633762012702 0ustar usr/share/doc/python-pycurl/html debian/copyright0000644000000000000000000000377111203121023011112 0ustar This package was debianized by Domenico Andreoli on Mon, 10 Jun 2002 19:48:05 +0200. It was downloaded from http://pycurl.sourceforge.net Upstream Authors: Kjetil Jacobsen Markus F.X.J. Oberhumer Copyright: Copyright (C) 2001-2008 by Kjetil Jacobsen Copyright (C) 2001-2008 by Markus F.X.J. Oberhumer License: PycURL is dual licensed under the LGPL (either version 2.1 or later) and an MIT/X derivative license based on the cURL license. You can redistribute and/or modify PycURL according to the terms of either license. On Debian GNU/Linux systems, the complete text of the GNU Lesser General Public License can be found in '/usr/share/common-licenses/LGPL-2.1'. MIT License text follows: COPYRIGHT AND PERMISSION NOTICE Copyright (C) 2001-2008 by Kjetil Jacobsen Copyright (C) 2001-2008 by Markus F.X.J. Oberhumer All rights reserved. Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder. debian/changelog0000644000000000000000000004326612313576641011063 0ustar pycurl (7.19.3-0ubuntu3) trusty; urgency=medium * No-change rebuild to drop Python 3.3 support. -- Matthias Klose Sun, 23 Mar 2014 15:28:33 +0000 pycurl (7.19.3-0ubuntu2) trusty; urgency=medium * Remove the pycurl tests and examples in the python3 packages as well. LP: #1269532. -- Matthias Klose Wed, 22 Jan 2014 12:51:11 +0100 pycurl (7.19.3-0ubuntu1) trusty; urgency=medium * New upstream version. -- Matthias Klose Mon, 13 Jan 2014 19:33:35 +0100 pycurl (7.19.0.3-1ubuntu2) trusty; urgency=medium * Remove build dependency on python-bottle (universe). -- Matthias Klose Mon, 13 Jan 2014 09:13:01 +0100 pycurl (7.19.0.3-1ubuntu1) trusty; urgency=medium * Merge with Debian; remaining changes: - debian/patches/lp1063350.patch: Reset the float context after closing the curl object (lp #1063350). - Drop libssh2-1-dev from Build-Depends, as it is not in main, and is not needed since in Ubuntu, curl-config --static-libs doesn't return -lssh2. - Build python3-pycurl and python3-pycurl-dbg packages. -- Matthias Klose Mon, 06 Jan 2014 22:06:50 +0100 pycurl (7.19.0.3-1) unstable; urgency=low * New upstream release * debian/patches/10_setup.py.patch - refreshed, due to new upstream code * debian/patches/{20_remove_string_options.patch, 30_fix_refcounts_calling_reset_twice.patch, 40_add_CURLOPT_SEEKFUNCTION_and_CURLOPT_SEEKDATA.patch, debian/patches/50_dont_leak_user_agent.patch} - removed, merged upstream * debian/rules - run tests using nosetests - install README.rst in the documentation - Remove documentation as installed by setup.py * debian/control - bump Standards-Version to 3.9.5 (no changes needed) - added nose/bottle/cherrypy3 to b-d, needed to run tests * debian/{control, rules} - Switch to dh_python2; thanks to Barry Warsaw for the report and patch; Closes: #635630 -- Sandro Tosi Sat, 04 Jan 2014 18:25:52 +0100 pycurl (7.19.0-7) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Sandro Tosi ] * Upload to unstable * debian/patches/50_dont_leak_user_agent.patch - fix memory leak in reset(); thanks to Örjan Persson for the report and patch; Closes: #709226 -- Sandro Tosi Fri, 14 Jun 2013 20:14:33 +0200 pycurl (7.19.0-6) experimental; urgency=low * debian/patches/20_remove_string_options.patch - No longer keep copies of string options since this is managed by libcurl, needed to have pycurl.c in sync with upstream CVS, and apply further patches * debian/patches/30_fix_refcounts_calling_reset_twice.patch - Fixes refcount bug and provides better organization of PyCurl object, allowing to call reset() multiple time; thansk to Emmanuel Bouthenot for the report; Closes: #690187 * debian/patches/40_add_CURLOPT_SEEKFUNCTION_and_CURLOPT_SEEKDATA.patch - Added CURLOPT_SEEKFUNCTION, CURLOPT_SEEKDATA * debian/control - bump Standards-Version t0 3.9.3 (no changes needed) -- Sandro Tosi Sun, 28 Oct 2012 11:20:44 +0100 pycurl (7.19.0-5ubuntu9) trusty; urgency=medium * Rebuild for python3.4 as a supported python version. -- Matthias Klose Sat, 04 Jan 2014 18:31:48 +0000 pycurl (7.19.0-5ubuntu8) raring; urgency=low * No change rebuild for Python issue #17703, trashcan mechanism segfault during interpreter finalization -- Matthias Klose Wed, 17 Apr 2013 23:51:53 +0200 pycurl (7.19.0-5ubuntu7) raring; urgency=low * debian/patches/lp1063350.patch: Reset the float context after closing the curl object. (LP: #1063350) -- Barry Warsaw Thu, 04 Apr 2013 18:53:22 -0400 pycurl (7.19.0-5ubuntu6) raring; urgency=low * debian/patches/python3.patch: - And make sure that the last WRITEFUNCTION fix only is used for Python 3, to avoid breaking Python 2 (LP: #1108161) -- Michael Terry Mon, 28 Jan 2013 14:30:36 -0500 pycurl (7.19.0-5ubuntu5) raring; urgency=low * debian/patches/python3.patch: - Fix another reported Python3 issue, a string/bytes issue when using WRITEFUNCTION. Fix by bdarnell. -- Michael Terry Fri, 25 Jan 2013 09:32:38 -0500 pycurl (7.19.0-5ubuntu4) raring; urgency=low * debian/patches/python3.patch: - Stop hasattr(pycurl.Curl(), 'nothere') from throwing SystemError. LP: #1103667 -- Michael Terry Wed, 23 Jan 2013 15:33:14 -0500 pycurl (7.19.0-5ubuntu3) raring; urgency=low * Rebuild to drop python3.2 provides. -- Matthias Klose Wed, 07 Nov 2012 23:00:24 +0000 pycurl (7.19.0-5ubuntu2) raring; urgency=low * No-change upload to build for python3.3. -- Matthias Klose Mon, 22 Oct 2012 17:54:41 +0200 pycurl (7.19.0-5ubuntu1) quantal; urgency=low * Merge from Debian testing. Remaining changes: - Switch to dh_python2 * debian/control: - Drop libssh2-1-dev from Build-Depends, as it is not in main, and is not needed since in Ubuntu, curl-config --static-libs doesn't return -lssh2. * debian/patches/python3.patch, debian/control, debian/rules: - Add Python 3 support -- Michael Terry Thu, 16 Aug 2012 13:44:35 -0400 pycurl (7.19.0-5) unstable; urgency=low * debian/rules - install debug files where gdb will look for them * debian/pyversions - removed, not needed * debian/control - bump Standards-Version to 3.9.2 (no changes needed) - removed Conflicts/Replaces/Provides, not needed - added libssh2-1-dev to build-depends; thanks to Jakub Wilk for the report; Closes: #658952 * Convert to 3.0 (quilt) source format * Convert to Debhelper 7 -- Sandro Tosi Sat, 11 Feb 2012 17:22:11 +0100 pycurl (7.19.0-4ubuntu3) precise; urgency=low * Rebuild to drop python2.6 dependencies. -- Matthias Klose Sat, 31 Dec 2011 02:07:26 +0000 pycurl (7.19.0-4ubuntu2) oneiric; urgency=low * Run update_maintainer. -- Barry Warsaw Mon, 08 Aug 2011 13:33:29 -0400 pycurl (7.19.0-4ubuntu1) oneiric; urgency=low * Switch to dh_python2. (LP: #788514) -- Barry Warsaw Wed, 27 Jul 2011 14:01:36 -0400 pycurl (7.19.0-4) unstable; urgency=low * Add the now!? missing librtmp-dev build-dependency. -- Bernd Zeimetz Sat, 16 Apr 2011 19:37:02 +0200 pycurl (7.19.0-3) unstable; urgency=low * Fix FTBFS on kfreebsd, thanks to KiBi (Closes: #540980). * Bump Standards-version to 3.8.3, no changes needed. -- Bernd Zeimetz Sun, 27 Sep 2009 18:03:31 +0200 pycurl (7.19.0-2) unstable; urgency=low [ Sandro Tosi ] * debian/control - bump Standards-Version to 3.8.2 (no changes needed) [ Bernd Zeimetz ] * Use /usr/bin/curl-config --version to find the libcurl version to depend on (Closes: #527546). Thanks to Samuel Bronson. -- Bernd Zeimetz Fri, 07 Aug 2009 18:00:37 +0200 pycurl (7.19.0-1) unstable; urgency=low [ Bernd Zeimetz ] * debian/control: - Rising the priority to optional, as we have rdepends in optional. * Switching from python-central to python-support. * Support building for Python 2.6. [ Sandro Tosi ] * New upstream release. * debian/control - bump libcurl4-gnutls-dev versioned depends to >= 7.19.0 - updated my email address - bump Standards-Version to 3.8.1 + added debian/README.source - added Vcs-{Browser,Svn} fields - added ${misc:Depends} to binary packages - switch Vcs-Browser field to viewsvn - adjusted section to 'debug' for -dbg package - force libcurl3-gnutls depends to at least on version 7.19.0; Closes: #527546 * debian/patches/10_setup.py.dpatch - added description (to please lintian) and updated my email address * debian/copyright - used the correct location of LGPL 2.1 on local machine -- Bernd Zeimetz Fri, 15 May 2009 22:33:30 +0200 pycurl (7.18.2-1) unstable; urgency=low * New upstream release. -- Bernd Zeimetz Mon, 16 Jun 2008 13:15:53 +0200 pycurl (7.18.1-1) unstable; urgency=low [ Sandro Tosi ] * Adopting packages (Closes: #481074) * New upstream release. * debian/control - set the team as Maintainer - added Bernd Zeimetz and me in Uploaders, removing Matthias Klose - bumped Build-Dep on libcurl4-gnutls-dev to (>= 7.18.1) - added dpatch Build-Dep - bumped Standards-Version to 3.7.3 (no changes) - moved Homepage field to source stanza - updated dependency for -dbg extension to python-pycurl to use ${binary:Version}, to be binNMU safe - fixed a mispell of Python in Description * debian/rules - added dpatch stuff - using setup.py for install and clean targets - running some tests at build-time * debian/patches/10_setup.py.dpatch - added to remove direct upstream code modification * debian/python-pycurl.doc-base - Section updated to Programming/Python * debian/copyright - indented upstream authors, copyright and license with 4 spaces - separated copyright and license notice - extended years in Copyright notice - explicitly identified LGPL location on filesystem - added dual licensing, including MIT license text -- Bernd Zeimetz Mon, 02 Jun 2008 19:17:08 +0200 pycurl (7.16.4-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Wed, 18 Jul 2007 17:54:16 +0200 pycurl (7.16.2.1-3) unstable; urgency=low * Fixed package description (closes: #423905). * Merge from Ubuntu: - build a python-pycurl-dbg package. -- Domenico Andreoli Mon, 28 May 2007 01:14:33 +0200 pycurl (7.16.2.1-2) unstable; urgency=low * Proper SSL library flavour is now known during build. -- Domenico Andreoli Mon, 14 May 2007 01:17:33 +0200 pycurl (7.16.2.1-1) unstable; urgency=low * New upstream release. * Build depends on libcurl4-gnutls-dev (closes: #423446, #423632). * Use dh_pycentral instead of dh_python. -- Domenico Andreoli Thu, 10 May 2007 16:29:02 +0200 pycurl (7.15.5-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Fri, 11 Aug 2006 08:58:26 +0200 pycurl (7.15.4.2-2) unstable; urgency=low * Fixed reversed logic in acquring python thread lock (closes: #380156). Patch courtesy of Bastian Kleineidam. -- Domenico Andreoli Tue, 8 Aug 2006 08:22:16 +0200 pycurl (7.15.4.2-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Tue, 25 Jul 2006 11:01:26 +0200 pycurl (7.15.4-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Tue, 27 Jun 2006 17:16:37 +0200 pycurl (7.15.2-2) unstable; urgency=low * Adopt to the new python policy. -- Matthias Klose Fri, 16 Jun 2006 18:49:11 +0200 pycurl (7.15.2-1) unstable; urgency=low * New upstream release. * Adopted debhelper's compatibility level 5. -- Domenico Andreoli Tue, 7 Mar 2006 10:05:16 +0100 pycurl (7.15.0-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Tue, 18 Oct 2005 11:22:23 +0200 pycurl (7.14.1-1) experimental; urgency=low * New upstream release. * Switched to libcurl3-gnutls-dev build dependency. -- Domenico Andreoli Sun, 18 Sep 2005 00:48:54 +0200 pycurl (7.14.0-2) unstable; urgency=low * Matthias Klose: - Dropped package python2.2-pycurl. - Improved the build process. * Domenico Andreoli: - Applied Matthias' patch :) (closes: #320064). -- Domenico Andreoli Thu, 4 Aug 2005 00:33:41 +0200 pycurl (7.14.0-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Mon, 20 Jun 2005 11:34:16 +0200 pycurl (7.13.2-2) unstable; urgency=low * Applied patch to build also on GNU/kFreeBSD (closes: #304857). -- Domenico Andreoli Sat, 16 Apr 2005 13:32:16 +0200 pycurl (7.13.2-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Fri, 8 Apr 2005 18:13:35 +0200 pycurl (7.13.1-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Mon, 7 Mar 2005 14:51:16 +0100 pycurl (7.13.0-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Sat, 12 Feb 2005 23:52:49 +0100 pycurl (7.12.3-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Sat, 1 Jan 2005 22:05:24 +0100 pycurl (7.12.2-4) unstable; urgency=low * python2.4-pycurl now correctly suggests libcurl3-dev -- Domenico Andreoli Tue, 21 Dec 2004 09:21:48 +0100 pycurl (7.12.2-3) unstable; urgency=low * New python2.4-pycurl package. * Added watch file. -- Domenico Andreoli Wed, 1 Dec 2004 00:07:48 +0100 pycurl (7.12.2-2) unstable; urgency=low * Updated build dependency on libcurl3-dev >= 7.12.2. -- Domenico Andreoli Sat, 6 Nov 2004 12:09:52 +0100 pycurl (7.12.2-1) unstable; urgency=low * New upstream release. * Added Matthias Klose as uploader. -- Domenico Andreoli Sat, 6 Nov 2004 11:31:31 +0100 pycurl (7.12.1-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Mon, 16 Aug 2004 14:44:16 +0200 pycurl (7.12-2) unstable; urgency=low * Upgraded to libcurl3. -- Domenico Andreoli Tue, 20 Jul 2004 12:26:21 +0200 pycurl (7.12-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Sat, 12 Jun 2004 19:14:23 +0200 pycurl (7.11.3-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Mon, 17 May 2004 18:22:29 +0200 pycurl (7.11.2-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Wed, 28 Apr 2004 11:21:39 +0200 pycurl (7.11.1-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Mon, 22 Mar 2004 14:31:06 +0100 pycurl (7.11.0-2) unstable; urgency=low * Fixed build depends on libcurl2-dev (>= 7.11.0-1). -- Domenico Andreoli Thu, 4 Mar 2004 17:55:02 +0100 pycurl (7.11.0-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Thu, 4 Mar 2004 17:20:37 +0100 pycurl (7.10.8-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Tue, 11 Nov 2003 23:46:59 +0100 pycurl (7.10.6-1) unstable; urgency=low * New upstream release (closes: #206658). -- Domenico Andreoli Fri, 22 Aug 2003 13:41:09 +0200 pycurl (7.10.5-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Mon, 14 Jul 2003 19:22:53 +0200 pycurl (7.10.4.2-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Mon, 12 May 2003 21:17:44 +0200 pycurl (7.10.4-1) unstable; urgency=low * New upstream release. * Changed section to python. * New python2.3-pycurl package. -- Domenico Andreoli Fri, 4 Apr 2003 23:47:19 +0200 pycurl (7.10.3-2) unstable; urgency=low * Updated build dependencies in order to use new libcurl2-dev package (closes: #179230). -- Domenico Andreoli Thu, 6 Feb 2003 02:39:52 +0100 pycurl (7.10.3-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Thu, 16 Jan 2003 00:51:21 +0100 pycurl (7.10.2-2) unstable; urgency=low * It now suggests libcurl-dev for documentation (closes: #171402). * Improved long description. * Added file README.Debian to explain why a PycURL user may be willing to install libcurl-dev package. -- Domenico Andreoli Wed, 18 Dec 2002 02:02:17 +0100 pycurl (7.10.2-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Sun, 24 Nov 2002 15:41:40 +0100 pycurl (7.10.1-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Wed, 16 Oct 2002 19:59:22 +0200 pycurl (7.10-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Wed, 2 Oct 2002 23:07:23 +0200 pycurl (7.9.8.4-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Wed, 2 Oct 2002 01:21:35 +0200 pycurl (7.9.8.2-3) unstable; urgency=low * It is now built using python 2.2. * Fixed the last reference to unversioned python in debian/rules (closes: #161201). -- Domenico Andreoli Wed, 18 Sep 2002 02:38:42 +0200 pycurl (7.9.8.2-2) unstable; urgency=low * Fixed the incorrect assumption of python being python2.1 (closes: #160315). -- Domenico Andreoli Fri, 13 Sep 2002 03:15:57 +0200 pycurl (7.9.8.2-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Wed, 17 Jul 2002 01:10:53 +0200 pycurl (7.9.8.1-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Fri, 28 Jun 2002 00:39:20 +0200 pycurl (7.9.8-1) unstable; urgency=low * New upstream release. -- Domenico Andreoli Tue, 25 Jun 2002 20:45:13 +0200 pycurl (7.9.7-2) unstable; urgency=low * Fixed the assumption on i586 as the build system (closes: #150001). -- Domenico Andreoli Sat, 15 Jun 2002 15:39:41 +0200 pycurl (7.9.7-1) unstable; urgency=low * Initial release (closes: #149581). -- Domenico Andreoli Mon, 10 Jun 2002 19:48:05 +0200 debian/TODO0000644000000000000000000000011711203120455007646 0ustar - check what tests can be executed even on buildd machines (no network and so) debian/compat0000644000000000000000000000000211715503466010374 0ustar 7 debian/python-pycurl.doc-base0000644000000000000000000000042711016123005013412 0ustar Document: python-pycurl Title: PycURL Author: Markus F.X.J. Oberhumer, Kjetil Jacobsen Abstract: A Python interface to the cURL library Section: Programming/Python Format: HTML Index: /usr/share/doc/python-pycurl/html/pycurl.html Files: /usr/share/doc/python-pycurl/html/*.html debian/patches/0000755000000000000000000000000012265031153010613 5ustar debian/patches/lp1063350.patch0000644000000000000000000000056012265031153013012 0ustar Index: b/src/pycurl.c =================================================================== --- a/src/pycurl.c +++ b/src/pycurl.c @@ -1223,6 +1223,8 @@ /* Decrement refcounts for httppost related references. */ Py_CLEAR(self->httppost_ref_list); } + /* LP: #1063350 work around. */ + Py_DECREF(PyFloat_FromDouble((double)(1.0 / 2))); } debian/patches/10_setup.py.patch0000644000000000000000000000071512265031144013726 0ustar Author: Sandro Tosi Description: Adjust setup.py file for Debian architecture Index: b/setup.py =================================================================== --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ pass include_dirs = [] -define_macros = [("PYCURL_VERSION", '"%s"' % VERSION)] +define_macros = [("PYCURL_VERSION", '"%s"' % VERSION), ('HAVE_CURL_GNUTLS', 1)] library_dirs = [] libraries = [] runtime_library_dirs = [] debian/patches/series0000644000000000000000000000004212265030767012036 0ustar 10_setup.py.patch lp1063350.patch debian/control0000644000000000000000000000477712264720012010604 0ustar Source: pycurl Section: python Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Python Modules Team Uploaders: Sandro Tosi , Bernd Zeimetz Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.6.6-3~), python-all-dbg, libcurl4-gnutls-dev (>= 7.19.0), librtmp-dev, python-nose, python-cherrypy3, python3-all-dev, python-all-dbg, python3-all-dbg Standards-Version: 3.9.5 X-Python-Version: >= 2.7 X-Python3-Version: >= 3.2 Homepage: http://pycurl.sourceforge.net Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pycurl/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pycurl/trunk/ Package: python-pycurl Architecture: any Suggests: libcurl4-gnutls-dev, python-pycurl-dbg Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends} Description: Python bindings to libcurl This module provides the Python bindings to libcurl. Please refer to the libcurl documentation available in libcurl4-gnutls-dev Debian package. . NOTE: the SSL support is provided by GnuTLS. Package: python-pycurl-dbg Section: debug Priority: extra Architecture: any Depends: ${shlibs:Depends}, python-dbg, python-pycurl (= ${binary:Version}), ${misc:Depends} Description: Python bindings to libcurl (debug extension) This module provides the Python bindings to libcurl. Please refer to the libcurl documentation available in libcurl4-gnutls-dev Debian package. . This package contains the extension built for the Python debug interpreter. Package: python3-pycurl Architecture: any Suggests: libcurl4-gnutls-dev, python3-pycurl-dbg Depends: ${shlibs:Depends}, ${python3:Depends}, ${misc:Depends} Provides: ${python3:Provides} Description: Python 3 bindings to libcurl This module provides the Python 3 bindings to libcurl. Please refer to the libcurl documentation available in libcurl4-gnutls-dev Debian package. . NOTE: the SSL support is provided by GnuTLS. Package: python3-pycurl-dbg Section: debug Priority: extra Architecture: any Depends: ${shlibs:Depends}, ${python3:Depends}, python3-dbg, python3-pycurl (= ${binary:Version}), ${misc:Depends} Provides: ${python3:Provides} Description: Python 3 bindings to libcurl (debug extension) This module provides the Python 3 bindings to libcurl. Please refer to the libcurl documentation available in libcurl4-gnutls-dev Debian package. . This package contains the extension built for the Python 3 debug interpreter. debian/rules0000755000000000000000000000617112267730253010262 0ustar #! /usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS PYVERS := $(shell pyversions -rv) PY3VERS := $(shell py3versions -rv) CURLVERS := $(strip $(shell /usr/bin/curl-config --version | awk '{print $$2}')) unexport LDFLAGS export FFLAGS="-fPIC" %: dh $@ --with python2,python3 override_dh_auto_build: set -e ;\ for py in $(PYVERS) $(PY3VERS) ; do \ python$$py setup.py build ; \ python$$py-dbg setup.py build ; \ done override_dh_auto_test: ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) -set -e ;\ for py in $(PYVERS) $(PY3VERS) ; do \ PYTHONPATH=`ls -d $(CURDIR)/build/lib.*-*-$$py` nosetests --verbose ; \ done endif #clean: # dh_testdir # dh_testroot # rm -f build-* # # for py in $(PYVERS); do \ # python$$py setup.py clean; \ # python$$py-dbg setup.py clean; \ # done # # rm -rf build # -find -name '*.py[co]' | xargs rm -f # dh_clean override_dh_auto_install: for py in $(PYVERS); do \ python$$py setup.py install --root=$(CURDIR)/debian/python-pycurl --install-layout=deb; \ python$$py-dbg setup.py install --root=$(CURDIR)/debian/python-pycurl-dbg --install-layout=deb; \ done for py in $(PY3VERS); do \ python$$py setup.py install --root=$(CURDIR)/debian/python3-pycurl --install-layout=deb; \ python$$py-dbg setup.py install --root=$(CURDIR)/debian/python3-pycurl-dbg --install-layout=deb; \ done # Remove documentation as installed by setup.py rm -rf $(CURDIR)/debian/python*-pycurl*/usr/share/doc/pycurl rm -rf $(CURDIR)/debian/python-pycurl-dbg/usr/lib/python*/*-packages/curl rm -f $(CURDIR)/debian/python-pycurl-dbg/usr/lib/python*/*-packages/pycurl-*.egg-info rm -rf $(CURDIR)/debian/python3-pycurl-dbg/usr/lib/python*/*-packages/curl rm -f $(CURDIR)/debian/python3-pycurl-dbg/usr/lib/python*/*-packages/pycurl-*.egg-info rm -rf debian/python-pycurl-dbg/usr/share/doc/python-pycurl-dbg dh_link -ppython-pycurl-dbg usr/share/doc/python-pycurl usr/share/doc/python-pycurl-dbg rm -rf debian/python3-pycurl-dbg/usr/share/doc/python3-pycurl-dbg dh_link -ppython3-pycurl-dbg usr/share/doc/python3-pycurl usr/share/doc/python3-pycurl-dbg override_dh_installdocs: cp -a doc/*.html debian/python-pycurl/usr/share/doc/python-pycurl/html mkdir -p debian/python3-pycurl/usr/share/doc/python3-pycurl/html cp -a doc/*.html debian/python3-pycurl/usr/share/doc/python3-pycurl/html dh_installdocs -ppython-pycurl README.rst dh_installdocs -ppython3-pycurl README.rst override_dh_installexamples: dh_installexamples -ppython-pycurl examples/* dh_installexamples -ppython3-pycurl examples/* override_dh_installchangelogs: dh_installchangelogs -ppython-pycurl ChangeLog dh_installchangelogs -ppython3-pycurl ChangeLog override_dh_strip: ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS))) dh_strip -ppython-pycurl --dbg-package=python-pycurl-dbg dh_strip -ppython3-pycurl --dbg-package=python3-pycurl-dbg endif override_dh_compress: dh_compress -X.py override_dh_shlibdeps: dh_shlibdeps -a sed -i '/shlibs:Depends/s,\(libcurl[0-9]*-gnutls (>= \)[^)]*\().*\),\1$(CURLVERS)\2,' debian/python-pycurl*.substvars debian/source/0000755000000000000000000000000012262042062010462 5ustar debian/source/format0000644000000000000000000000001411715473166011707 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000011111012633762010211 0ustar version=2 http://pycurl.sourceforge.net/download/pycurl-([\d\.]*).tar.gz