pysvn (1.7.2-3) debian-dir only changes

Summary

 debian/changelog      |  240 ++++++++++++++++++++++++++++++++++++++++++++++++++
 debian/compat         |    1 
 debian/control        |   32 ++++++
 debian/copyright      |   58 ++++++++++++
 debian/pysvn.doc-base |   12 ++
 debian/rules          |  146 ++++++++++++++++++++++++++++++
 debian/watch          |    2 
 7 files changed, 491 insertions(+)

    
download this patch

Patch contents

--- pysvn-1.7.2.orig/debian/rules
+++ pysvn-1.7.2/debian/rules
@@ -0,0 +1,146 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+#
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+#
+# Modified to make a template file for a multi-binary package with separated
+# build-arch and build-indep targets  by Bill Allombert 2001
+
+# 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
+export LC_ALL=C
+
+CFLAGS	= -Wall -g
+
+PYVERS	:= $(shell pyversions -vr debian/control)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+include /usr/share/python/python.mk
+
+p	= python-svn
+d	= debian/$(p)
+
+defver	= $(shell /usr/bin/python -c 'import sys; print sys.version[:3]')
+pdef	= python$(defver)-svn
+
+CXX	= g++
+
+APR_INC	= $(strip $(shell apr-config --includes | sed 's/-I//'))
+
+build: build-stamp
+build-stamp: backport-stamp $(PYVERS:%=build-stamp%) $(PYVERS:%=dbg-build-stamp%)
+	touch $@
+
+backport-stamp:
+ifneq (,$(filter 2.4 2.5, $(PYVERS)))
+	rm -rf backport
+	mkdir -p backport
+	tar cf - Builder Docs Examples INSTALL.html Import Kit LICENSE.txt Patches Source Tests \
+	  | tar -C backport -x -f -
+	cd backport/Source && python2.5 setup.py backport
+endif
+	touch $@
+
+build-stamp%: backport-stamp
+	dh_testdir
+	rm -f $(if $(filter $*, 2.4 2.5),backport/)Source/*.o $(if $(filter $*, 2.4 2.5),backport/)Source/Makefile
+	cd $(if $(filter $*, 2.4 2.5),backport/)Source && python$* setup.py configure \
+		--pycxx-src-dir=/usr/share/python$*/CXX \
+		--pycxx-dir=/usr/share/python$*/CXX \
+		--svn-lib-dir=/usr/lib \
+		--apr-inc-dir=$(APR_INC) \
+
+#		--norpath
+	PYSVN_BUILD_REVISION=1 \
+	  $(MAKE) -C $(if $(filter $*, 2.4 2.5),backport/)Source
+	mv $(if $(filter $*, 2.4 2.5),backport/)Source/pysvn/_pysvn_$(subst .,_,$*).so _pysvn_$(subst .,_,$*).so
+	mv $(if $(filter $*, 2.4 2.5),backport/)Source/pysvn/__init__.py __init__$(subst .,_,$*).py
+	touch $@
+
+dbg-build-stamp%: backport-stamp
+	dh_testdir
+	rm -f $(if $(filter $*, 2.4 2.5),backport/)Source/*.o $(if $(filter $*, 2.4 2.5),backport/)Source/Makefile
+	cd $(if $(filter $*, 2.4 2.5),backport/)Source && python$*-dbg setup.py configure \
+		--pycxx-src-dir=/usr/share/python$*/CXX \
+		--pycxx-dir=/usr/share/python$*/CXX \
+		--svn-lib-dir=/usr/lib \
+		--apr-inc-dir=$(APR_INC) \
+
+#		--norpath
+	PYSVN_BUILD_REVISION=1 \
+	  $(MAKE) -C $(if $(filter $*, 2.4 2.5),backport/)Source
+	mv $(if $(filter $*, 2.4 2.5),backport/)Source/pysvn/_pysvn_$(subst .,_,$*).so _pysvn_$(subst .,_,$*)_d.so
+	mv $(if $(filter $*, 2.4 2.5),backport/)Source/pysvn/__init__.py __init__$(subst .,_,$*).py
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp* dbg-build-stamp*
+	rm -f Source/*.o Source/pysvn/*.so Source/pysvn_version.hpp
+	rm -f Source/pysvn_docs.[ch]pp Source/Makefile Tests/Makefile
+	rm -f Source/generate_svn_error_codes/generate_svn_error_codes Source/generate_svn_error_codes.hpp
+	rm -f _pysvn*.so*
+	rm -f __init__*.py
+	-find -name '*.py[co]' | xargs rm -f
+	rm -rf backport backport-stamp
+	dh_clean 
+
+install: install-stamp
+install-pre:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s 
+install-stamp: build-stamp install-pre $(PYVERS:%=install-python%) $(PYVERS:%=dbg-install-python%)
+install-python%:
+	dh_installdirs -ppython-svn \
+		$(call py_libdir,$*)/pysvn
+	install -d $(d)/$(call py_libdir,$*)/pysvn/
+	cp -p _pysvn_$(subst .,_,$*).so $(d)/$(call py_libdir,$*)/pysvn/
+	cp -p __init__$(subst .,_,$*).py $(d)/$(call py_libdir,$*)/pysvn/__init__.py
+
+	-find $(d) -name .svn | xargs rm -rf
+
+dbg-install-python%:
+	dh_installdirs -ppython-svn-dbg \
+		$(call py_libdir,$*)/pysvn
+	cp -p _pysvn_$(subst .,_,$*)_d.so $(d)-dbg/$(call py_libdir,$*)/pysvn/
+	-find $(d)-dbg -name .svn | xargs rm -rf
+
+# Build architecture independant packages using the common target.
+binary-indep: build install
+# nothing to do
+
+# Build architecture dependant packages using the common target.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs -a
+	dh_installdocs -a -A -X.svn Docs/*
+	dh_installexamples -a -A Examples/*
+	dh_strip -ppython-svn --dbg-package=python-svn-dbg
+	rm -rf debian/python-svn-dbg/usr/share/doc/python-svn-dbg
+	ln -s python-svn debian/python-svn-dbg/usr/share/doc/python-svn-dbg
+	dh_compress -a -X.py -X.sxw
+	dh_fixperms -a
+	dh_python2 -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install
--- pysvn-1.7.2.orig/debian/copyright
+++ pysvn-1.7.2/debian/copyright
@@ -0,0 +1,58 @@
+This package was debianized by Matthias Klose <m@klose.in-berlin.de>
+on Fri,  3 Dec 2004 19:33:57 +0100.
+
+It was downloaded from http://pysvn.tigris.org/
+
+Copyright:
+
+Upstream Author: Barry A. Scott
+
+License:
+
+=================================================================
+Copyright (C) 2003-2004 Barry A. Scott. All rights reserved.
+
+=================================================================
+The Apache Software License, Version 1.1
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+   notice, this list of conditions and the following disclaimer in
+   the documentation and/or other materials provided with the
+   distribution.
+
+3. The end-user documentation included with the redistribution,
+   if any, must include the following acknowledgment:
+      "This product includes software developed by 
+       Barry A. Scott http://www.barrys-emacs.org."
+   Alternately, this acknowledgment may appear in the software itself,
+   if and wherever such third-party acknowledgments normally appear.
+
+4. The names "PySVN" must not be used to endorse or promote
+   products derived from this software without prior written
+   permission. For written permission, please contact
+   barry@barrys-emacs.org.
+
+5. Products derived from this software may not be called "PySVN",
+   nor may "PySVN" appear in their name, without prior written
+   permission of Barry Scott.
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGE.
+=================================================================
--- pysvn-1.7.2.orig/debian/watch
+++ pysvn-1.7.2/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pysvn.tigris.org/project_downloads.html .*/pysvn-(.*)\.tar\.gz
--- pysvn-1.7.2.orig/debian/compat
+++ pysvn-1.7.2/debian/compat
@@ -0,0 +1 @@
+5
--- pysvn-1.7.2.orig/debian/changelog
+++ pysvn-1.7.2/debian/changelog
@@ -0,0 +1,240 @@
+pysvn (1.7.2-3) unstable; urgency=low
+
+  * Build using dh_python2 instead of dh_pycentral. Closes: #590398.
+
+ -- Matthias Klose <doko@debian.org>  Mon, 26 Jul 2010 10:54:35 +0200
+
+pysvn (1.7.2-2) unstable; urgency=low
+
+  * Don't explicitely use the name of the site directory. Closes: #567960.
+  * Provide python-pysvn. Closes: #556849.
+
+ -- Matthias Klose <doko@debian.org>  Mon, 01 Feb 2010 16:36:57 +0100
+
+pysvn (1.7.2-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@debian.org>  Mon, 04 Jan 2010 09:30:21 +0100
+
+pysvn (1.7.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@debian.org>  Sun, 03 Jan 2010 15:40:52 +0100
+
+pysvn (1.7.0-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 29 Aug 2009 10:50:50 +0200
+
+pysvn (1.6.2-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@debian.org>  Tue, 02 Dec 2008 02:56:09 +0000
+
+pysvn (1.6.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Store __init__.py for each python version and don't mix them 
+    (Closes: #501646).
+  * Avoid setting rpath to /usr/lib64 in compiled modules.
+
+ -- Michal Čihař <nijel@debian.org>  Wed, 22 Oct 2008 09:40:00 +0200
+
+pysvn (1.6.1-1) unstable; urgency=low
+
+  * New upstream version (supporting subversion-1.5.2).
+
+ -- Matthias Klose <doko@debian.org>  Mon, 06 Oct 2008 23:16:01 +0200
+
+pysvn (1.6.0-1) unstable; urgency=low
+
+  * New upstream version (supporting subversion-1.5).
+
+ -- Matthias Klose <doko@debian.org>  Sun, 20 Jul 2008 17:41:19 +0200
+
+pysvn (1.5.3-3) unstable; urgency=low
+
+  * Explicitely build-depend on libneon27-gnutls-dev. Closes: #489080.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 05 Jul 2008 11:23:02 +0200
+
+pysvn (1.5.3-2) unstable; urgency=low
+
+  * Add doc-base file.
+
+ -- Matthias Klose <doko@debian.org>  Wed, 25 Jun 2008 00:49:35 +0200
+
+pysvn (1.5.3-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@debian.org>  Mon, 18 Feb 2008 05:36:00 +0100
+
+pysvn (1.5.2-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@debian.org>  Mon, 28 Jan 2008 21:36:43 +0100
+
+pysvn (1.5.1-2) unstable; urgency=low
+
+  * Fix maintainer address.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 02 Jun 2007 09:56:37 +0200
+
+pysvn (1.5.1-1) unstable; urgency=low
+
+  * New upstream version, supporting subversion-1.4.
+  * Merge from Ubuntu:
+    - Build a python-svn-dbg package.
+    - Bump debhelper compatibility to v5.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 02 Jun 2007 09:31:42 +0200
+
+pysvn (1.5.0dfsg-1) unstable; urgency=low
+
+  * New upstream version, supporting subversion-1.4.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 28 Oct 2006 23:14:37 +0200
+
+pysvn (1.4.2+dfsg-0.2) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * High-urgency upload for etch-targetted RC bugfix.
+  * Build-depend on libapr1-dev instead of libapr0-dev and use
+    apr-config --includedir in setup.py, for the apache2.2 transition.
+    Closes: #391637.
+
+ -- Steve Langasek <vorlon@debian.org>  Tue, 24 Oct 2006 02:15:19 -0700
+
+pysvn (1.4.2+dfsg-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Repack upstream tarball, removing Kit/Win32/vc6redist/ which is not
+    DFSG-free. (Closes: #383525)
+  * Set LC_ALL=C in debian/rules; fixes FTBFS in some locales.
+    (Closes: #383524, #383532)
+
+ -- Steinar H. Gunderson <sesse@debian.org>  Tue, 29 Aug 2006 00:53:29 +0200
+
+pysvn (1.4.2-2) unstable; urgency=medium
+
+  * Fixed in 1.4.x:
+    - Fixed documentation of pysvn.Client.propget. Closes: #339525.
+    - Client.revpropget doesn't segfault when property doesn't exist.
+      Closes: #294263.
+  * Update watch file.
+
+ -- Matthias Klose <doko@debian.org>  Sun,  9 Jul 2006 16:36:59 +0200
+
+pysvn (1.4.2-1) unstable; urgency=low
+
+  * New upstream version.
+  * Convert to new Python policy. Closes: #373507.
+
+ -- Matthias Klose <doko@debian.org>  Fri, 16 Jun 2006 20:18:32 +0200
+
+pysvn (1.4.1-1.1) unstable; urgency=low
+
+  * NMU as part of the GCC 4.1 transition.
+  * Remove extra qualification from C++ header file (closes: #357964).
+
+ -- Martin Michlmayr <tbm@cyrius.com>  Fri, 26 May 2006 16:22:18 +0200
+
+pysvn (1.4.1-1) unstable; urgency=low
+
+  * New upstream version.
+  * Supports subversion 1.3 (closes: #354962).
+
+ -- Matthias Klose <doko@debian.org>  Tue,  7 Mar 2006 14:08:44 +0000
+
+pysvn (1.3.1-1) unstable; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 15 Oct 2005 14:50:18 +0200
+
+pysvn (1.3.0-1) unstable; urgency=low
+
+  * Package from release tarball.
+
+ -- Matthias Klose <doko@debian.org>  Thu,  8 Sep 2005 05:13:33 +0000
+
+pysvn (1.2.99-1) unstable; urgency=low
+
+  * New upstream version (1.3, taken from the svn repository).
+  * Compatible with subversion-1.2 (closes: #325194).
+  * Fix issues with g++-4.0 (closes: #325178, #325168, #325384).
+  * Remove .svn directory in package (closes: #301941).
+
+ -- Matthias Klose <doko@debian.org>  Wed,  7 Sep 2005 18:53:15 +0000
+
+pysvn (1.2.0-2) unstable; urgency=low
+
+  * Build for new C++ ABI.
+  * Build using -fvisibility=hidden -fvisibility-inlines-hidden.
+  * Merge Ubuntu changes:
+    * Diff results should be literal strings, there is no globally safe
+      encoding for them (Robert Collins <robertc@robertcollins.net>)
+
+ -- Matthias Klose <doko@debian.org>  Wed, 24 Aug 2005 07:59:44 +0000
+
+pysvn (1.2.0-1ubuntu1) breezy; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@ubuntu.com>  Fri,  3 Jun 2005 12:15:20 +0000
+
+pysvn (1.1.2-3) unstable; urgency=medium
+
+  * Fix a race condition with a buffered temp file (Robert Collins).
+
+ -- Matthias Klose <doko@debian.org>  Sun,  8 May 2005 18:09:00 +0200
+
+pysvn (1.1.2-2) unstable; urgency=low
+
+  * Remove version control directories (closes: #301941).
+
+ -- Matthias Klose <doko@debian.org>  Sun,  3 Apr 2005 16:12:53 +0200
+
+pysvn (1.1.2-1ubuntu1) hoary; urgency=low
+
+  * New upstream version.
+
+ -- Matthias Klose <doko@ubuntu.com>  Tue,  1 Mar 2005 22:52:12 +0100
+
+pysvn (1.1.0-2) unstable; urgency=low
+
+  * Fix pasto in revpropset command (closes: #288970).
+
+ -- Matthias Klose <doko@debian.org>  Fri,  7 Jan 2005 07:45:12 +0100
+
+pysvn (1.1.0-1) unstable; urgency=low
+
+  * New upstream version (closes: #287427).
+  * Apply patch to build with gcc-4.0 (closes: #287427).
+
+ -- Matthias Klose <doko@debian.org>  Mon,  3 Jan 2005 08:51:08 +0100
+
+pysvn (1.0.0-2) unstable; urgency=low
+
+  * Add dependency on python.
+
+ -- Matthias Klose <doko@debian.org>  Tue, 14 Dec 2004 12:28:21 +0100
+
+pysvn (1.0.0-1) unstable; urgency=low
+
+  * Build python2.4 packages.
+
+ -- Matthias Klose <doko@debian.org>  Sun, 12 Dec 2004 18:28:28 +0100
+
+pysvn (1.0.0-0ubuntu1) hoary; urgency=low
+
+  * Initial Release.
+
+ -- Matthias Klose <m@klose.in-berlin.de>  Fri,  3 Dec 2004 19:33:57 +0100
+
--- pysvn-1.7.2.orig/debian/control
+++ pysvn-1.7.2/debian/control
@@ -0,0 +1,32 @@
+Source: pysvn
+Section: python
+Priority: optional
+Maintainer: Matthias Klose <doko@debian.org>
+Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.6.5-9~), python-all-dbg, python-cxx-dev (>= 6.1.1-2), libsvncpp-dev (>= 0.12), libapr1-dev, libneon27-gnutls-dev, subversion (>= 1.6.1)
+XS-Python-Version: all
+Standards-Version: 3.9.0
+Homepage: http://pysvn.tigris.org/
+
+Package: python-svn
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Conflicts: python2.3-svn, python2.4-svn
+Replaces: python2.3-svn, python2.4-svn
+Provides: ${python:Provides}, python-pysvn
+Suggests: python-svn-dbg
+XB-Python-Version: ${python:Versions}
+Description: A(nother) Python interface to Subversion
+ The pysvn module is a Python interface to the Subversion version
+ control system.  This API exposes client interfaces for managing a
+ working copy, querying a repository, and synchronizing the two.
+
+Package: python-svn-dbg
+Priority: extra
+Section: debug
+Architecture: any
+Depends: python-svn (= ${binary:Version}), python-dbg, ${shlibs:Depends}, ${misc:Depends}
+Provides: python-pysvn
+Description: A(nother) Python interface to Subversion (debug extension)
+ The pysvn module is a Python interface to the Subversion version
+ control system.  This API exposes client interfaces for managing a
+ working copy, querying a repository, and synchronizing the two.
--- pysvn-1.7.2.orig/debian/pysvn.doc-base
+++ pysvn-1.7.2/debian/pysvn.doc-base
@@ -0,0 +1,12 @@
+Document: pysvn
+Title: pysvn - Python interface to Subversion
+Author: Barry A. Scott
+Abstract: This document contains the pysvn Programmer's Guide (covering the
+ use of pysvn in a tutorial style with lots of examples) and the pysvn
+ Programmer's Reference (detailed descriptions of all the classes, functions
+ and variables of pysvn).
+Section: Programming/Python
+
+Format: HTML
+Index: /usr/share/doc/python-svn/pysvn.html
+Files: /usr/share/doc/python-svn/*.html