[Python-modules-commits] [pycurl] 75/140: pycurl (7.18.1-1) unstable; urgency=low

Barry Warsaw barry at moszumanska.debian.org
Wed Oct 1 21:45:09 UTC 2014


This is an automated email from the git hooks/post-receive script.

barry pushed a commit to branch master
in repository pycurl.

commit f286ca2fc7d3c4fa0a5dbcdf84f3927c8dec4464
Author: Bernd Zeimetz <bzed at debian.org>
Date:   Mon Jun 2 19:17:08 2008 +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
---
 debian/changelog                  | 354 ++++++++++++++++++++++++++++++++++++++
 debian/compat                     |   1 +
 debian/control                    |  34 ++++
 debian/copyright                  |  49 ++++++
 debian/patches/00list             |   1 +
 debian/patches/10_setup.py.dpatch |  27 +++
 debian/python-pycurl.dirs         |   1 +
 debian/python-pycurl.doc-base     |   9 +
 debian/rules                      |  86 +++++++++
 debian/watch                      |   2 +
 10 files changed, 564 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..6ae25f3
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,354 @@
+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 <bzed at debian.org>  Mon, 02 Jun 2008 19:17:08 +0200
+
+pycurl (7.16.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  Thu, 10 May 2007 16:29:02 +0200
+
+pycurl (7.15.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  Tue,  8 Aug 2006 08:22:16 +0200
+
+pycurl (7.15.4.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Tue, 25 Jul 2006 11:01:26 +0200
+
+pycurl (7.15.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Tue, 27 Jun 2006 17:16:37 +0200
+
+pycurl (7.15.2-2) unstable; urgency=low
+
+  * Adopt to the new python policy.
+
+ -- Matthias Klose <doko at debian.org>  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 <cavok at debian.org>  Tue,  7 Mar 2006 10:05:16 +0100
+
+pycurl (7.15.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  Thu,  4 Aug 2005 00:33:41 +0200
+
+pycurl (7.14.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  Sat, 16 Apr 2005 13:32:16 +0200
+
+pycurl (7.13.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Fri,  8 Apr 2005 18:13:35 +0200
+
+pycurl (7.13.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Mon,  7 Mar 2005 14:51:16 +0100
+
+pycurl (7.13.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Sat, 12 Feb 2005 23:52:49 +0100
+
+pycurl (7.12.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  Sat,  6 Nov 2004 11:31:31 +0100
+
+pycurl (7.12.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Mon, 16 Aug 2004 14:44:16 +0200
+
+pycurl (7.12-2) unstable; urgency=low
+
+  * Upgraded to libcurl3.
+
+ -- Domenico Andreoli <cavok at debian.org>  Tue, 20 Jul 2004 12:26:21 +0200
+
+pycurl (7.12-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Sat, 12 Jun 2004 19:14:23 +0200
+
+pycurl (7.11.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Mon, 17 May 2004 18:22:29 +0200
+
+pycurl (7.11.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Wed, 28 Apr 2004 11:21:39 +0200
+
+pycurl (7.11.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  Thu,  4 Mar 2004 17:55:02 +0100
+
+pycurl (7.11.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Thu,  4 Mar 2004 17:20:37 +0100
+
+pycurl (7.10.8-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Tue, 11 Nov 2003 23:46:59 +0100
+
+pycurl (7.10.6-1) unstable; urgency=low
+
+  * New upstream release (closes: #206658).
+
+ -- Domenico Andreoli <cavok at debian.org>  Fri, 22 Aug 2003 13:41:09 +0200
+
+pycurl (7.10.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Mon, 14 Jul 2003 19:22:53 +0200
+
+pycurl (7.10.4.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  Thu,  6 Feb 2003 02:39:52 +0100
+
+pycurl (7.10.3-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  Wed, 18 Dec 2002 02:02:17 +0100
+
+pycurl (7.10.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Sun, 24 Nov 2002 15:41:40 +0100
+
+pycurl (7.10.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Wed, 16 Oct 2002 19:59:22 +0200
+
+pycurl (7.10-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Wed,  2 Oct 2002 23:07:23 +0200
+
+pycurl (7.9.8.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  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 <cavok at debian.org>  Fri, 13 Sep 2002 03:15:57 +0200
+
+pycurl (7.9.8.2-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Wed, 17 Jul 2002 01:10:53 +0200
+
+pycurl (7.9.8.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  Fri, 28 Jun 2002 00:39:20 +0200
+
+pycurl (7.9.8-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Domenico Andreoli <cavok at debian.org>  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 <cavok at debian.org>  Sat, 15 Jun 2002 15:39:41 +0200
+
+pycurl (7.9.7-1) unstable; urgency=low
+
+  * Initial release (closes: #149581).
+
+ -- Domenico Andreoli <cavok at debian.org>  Mon, 10 Jun 2002 19:48:05 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7ed6ff8
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e49e1e3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: pycurl
+Section: python
+Priority: extra
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sandro Tosi <matrixhasu at gmail.com>, Bernd Zeimetz <bzed at debian.org>
+Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-9), python-all-dbg, python-central, libcurl4-gnutls-dev (>= 7.18.1), dpatch
+Standards-Version: 3.7.3
+XS-Python-Version: all
+Homepage: http://pycurl.sourceforge.net
+
+Package: python-pycurl
+Architecture: any
+Suggests: libcurl4-gnutls-dev, python-pycurl-dbg
+Depends: ${shlibs:Depends}, ${python:Depends}
+Conflicts: python2.3-pycurl, python2.4-pycurl
+Replaces: python2.3-pycurl, python2.4-pycurl
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+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
+Priority: extra
+Architecture: any
+Depends: ${shlibs:Depends}, python-dbg, python-pycurl (= ${binary:Version})
+XB-Python-Version: ${python:Versions}
+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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c8c173e
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,49 @@
+This package was debianized by Domenico Andreoli <cavok at debian.org> on
+Mon, 10 Jun 2002 19:48:05 +0200.
+
+It was downloaded from http://pycurl.sourceforge.net
+
+Upstream Authors:
+
+    Kjetil Jacobsen <kjetilja at cs.uit.no> 
+    Markus F.X.J. Oberhumer <markus at oberhumer.com>
+
+Copyright:
+
+    Copyright (C) 2001-2008 by Kjetil Jacobsen <kjetilja at gmail.com>
+    Copyright (C) 2001-2008 by Markus F.X.J. Oberhumer <markus at oberhumer.com>
+
+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'.
+
+MIT License text follows:
+
+    COPYRIGHT AND PERMISSION NOTICE
+
+    Copyright (C) 2001-2008 by Kjetil Jacobsen <kjetilja at gmail.com>
+    Copyright (C) 2001-2008 by Markus F.X.J. Oberhumer <markus at oberhumer.com>
+
+    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.
diff --git a/debian/patches/00list b/debian/patches/00list
new file mode 100644
index 0000000..a105ebe
--- /dev/null
+++ b/debian/patches/00list
@@ -0,0 +1 @@
+10_setup.py
diff --git a/debian/patches/10_setup.py.dpatch b/debian/patches/10_setup.py.dpatch
new file mode 100644
index 0000000..60ce434
--- /dev/null
+++ b/debian/patches/10_setup.py.dpatch
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10_setup.py.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad pycurl~/setup.py pycurl/setup.py
+--- pycurl~/setup.py	2008-04-22 16:00:45.000000000 +0200
++++ pycurl/setup.py	2008-05-31 22:54:56.540671465 +0200
+@@ -17,7 +17,7 @@
+ from distutils.version import LooseVersion
+ 
+ include_dirs = []
+-define_macros = []
++define_macros = [ ('HAVE_CURL_GNUTLS', 1) ]
+ library_dirs = []
+ libraries = []
+ runtime_library_dirs = []
+@@ -188,7 +188,6 @@
+     maintainer_email="kjetilja at gmail.com, markus at oberhumer.com",
+     url="http://pycurl.sourceforge.net/",
+     license="LGPL/MIT",
+-    data_files=get_data_files(),
+     ext_modules=[ext],
+     long_description="""
+ This module provides Python bindings for the cURL library.""",
diff --git a/debian/python-pycurl.dirs b/debian/python-pycurl.dirs
new file mode 100644
index 0000000..fb04ed5
--- /dev/null
+++ b/debian/python-pycurl.dirs
@@ -0,0 +1 @@
+usr/share/doc/python-pycurl/html
diff --git a/debian/python-pycurl.doc-base b/debian/python-pycurl.doc-base
new file mode 100644
index 0000000..9c4210c
--- /dev/null
+++ b/debian/python-pycurl.doc-base
@@ -0,0 +1,9 @@
+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
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..365553e
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,86 @@
+#! /usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+# 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 -vs)
+
+build: build-stamp
+
+build-stamp: DH_OPTIONS=
+build-stamp: patch-stamp $(PYVERS:%=build-python%)
+	touch build-stamp
+
+build-python%:
+	dh_testdir
+	python$* setup.py build
+	python$*-dbg setup.py build
+
+	set -e ;\
+	for test in "tests/test_internals.py" "tests/test_memleak.py" ; do \
+  	    PYTHONPATH=$(CURDIR)/build/lib.$(DEB_BUILD_ARCH_OS)-$(shell uname -m)-$* \
+	        python$* $$test; \
+	done
+	touch $@
+
+clean: unpatch
+	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
+
+install: DH_OPTIONS=
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	for py in $(PYVERS); do \
+  	    python$$py setup.py install --root=$(CURDIR)/debian/python-pycurl; \
+ 	    python$$py-dbg setup.py install --root=$(CURDIR)/debian/python-pycurl-dbg; \
+	done
+
+	rm -rf $(CURDIR)/debian/python-pycurl-dbg/usr/lib/python*/site-packages/curl
+	rm -f $(CURDIR)/debian/python-pycurl-dbg/usr/lib/python*/site-packages/pycurl-*.egg-info
+
+# Build architecture-independent files here.
+binary-indep: DH_OPTIONS=-i
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	cp -a doc/*.html debian/python-pycurl/usr/share/doc/python-pycurl/html
+	dh_installdocs -a -A TODO
+	dh_installexamples -a -A examples/* 
+	dh_installchangelogs -a ChangeLog
+	dh_pycentral -a
+	dh_strip -ppython-pycurl --dbg-package=python-pycurl-dbg
+	rm -rf debian/python-pycurl-dbg/usr/share/doc/python-pycurl-dbg
+	ln -s python-pycurl debian/python-pycurl-dbg/usr/share/doc/python-pycurl-dbg
+	dh_compress -a -X.py
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..04b9cf4
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://pycurl.sourceforge.net/download/pycurl-([\d\.]*).tar.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pycurl.git



More information about the Python-modules-commits mailing list