[Python-modules-commits] r4483 - in packages/python-kinterbasdb/trunk (10 files)

morph-guest at users.alioth.debian.org morph-guest at users.alioth.debian.org
Sun Feb 10 18:21:59 UTC 2008


    Date: Sunday, February 10, 2008 @ 18:21:58
  Author: morph-guest
Revision: 4483

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-kinterbasdb/trunk/debian/
  packages/python-kinterbasdb/trunk/debian/changelog
  packages/python-kinterbasdb/trunk/debian/compat
  packages/python-kinterbasdb/trunk/debian/control
  packages/python-kinterbasdb/trunk/debian/copyright
  packages/python-kinterbasdb/trunk/debian/patches/
  packages/python-kinterbasdb/trunk/debian/patches/00list
  packages/python-kinterbasdb/trunk/debian/patches/01_restore_pristine_code.dpatch
  packages/python-kinterbasdb/trunk/debian/rules
  packages/python-kinterbasdb/trunk/debian/watch


Property changes on: packages/python-kinterbasdb/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/python-kinterbasdb/trunk/debian/changelog
===================================================================
--- packages/python-kinterbasdb/trunk/debian/changelog	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/changelog	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1,132 @@
+python-kinterbasdb (3.2-1) UNRELEASED; urgency=low
+
+  * New upstream release (Closes: #385438)
+  * debian/changelog
+    - acknowledging NMUs (Closes: #332389, #301404, #373323, #427184)
+  * debian/control
+    - adopting under DPMT (Closes: #462169)
+    - bump Standard-Version to 3.7.3
+    - added ${misc:Depends} to Depends (it should always be there, just in
+      case)
+    - added Homepage field
+    - added Vcs-{Svn,Browser} fields
+    - bump build-dep for python-support
+    - added dpatch build-dep
+  * debian/compat
+    - added with 5 in it
+  * debian/rules
+    - removed DH_COMPAT and DH_PYCOMPAT
+    - removed many uneeded dh_* calls
+    - removed configure from .PHONY since not a target
+    - removed binary-indep stuff (it's an Arch: any package)
+    - dh_* calls without parameters -a or -A (uneeded)
+    - added dpatch stuff
+    - restore __init__.py and remove temporary file in clean target
+  * debian/patches/01_restore_pristine_code.dpatch
+    - added to remove direct upstream code modifications
+  * debian/copyright
+    - reformat of upstream author part
+    - separation of copyright and license
+    - edit of copyright information
+    - license indented with 4 spaces
+
+ -- Sandro Tosi <matrixhasu at gmail.com>  Sun, 10 Feb 2008 16:09:20 +0100
+
+python-kinterbasdb (3.1.2-0.4) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build-Depend on firebird2.0-dev (Closes: #427184)
+  * Drop usage of private firebird define from _kievents.h
+
+ -- Damyan Ivanov <dmn at debian.org>  Mon, 09 Jul 2007 23:32:59 +0300
+
+python-kinterbasdb (3.1.2-0.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * ${shlibs:Depends} was forgotten ...
+
+ -- Pierre Habouzit <madcoder at debian.org>  Thu, 29 Jun 2006 11:50:53 +0200
+
+python-kinterbasdb (3.1.2-0.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Update package to the new Python policy (closes: #373323).
+
+ -- Pierre Habouzit <madcoder at debian.org>  Thu, 29 Jun 2006 10:36:08 +0200
+
+python-kinterbasdb (3.1.2-0.1) unstable; urgency=low
+
+  * Non-maintainer upload with approval by maintainer
+  * New upstream release
+  * Updated to Policy 3.6.2.1
+  * Drop support for python 2.1 and 2.2 (closes: #332389)
+  * Add support for 2.4 (closes: #301404)
+
+ -- Jan Luebbe <jluebbe at lasnet.de>  Thu, 13 Oct 2005 14:09:13 +0200
+
+python-kinterbasdb (3.1-1) unstable; urgency=low
+
+  * New upstream release 
+
+ -- Ed Boraas <ed at debian.org>  Sun,  6 Mar 2005 11:48:52 -0700
+
+python-kinterbasdb (3.0.1-6) unstable; urgency=high
+
+  * Fix inaccurate (binary) dependencies resulting from
+    the changes in 3.0.1-5
+
+ -- Ed Boraas <ed at debian.org>  Thu,  9 Sep 2004 07:22:57 -0600
+
+python-kinterbasdb (3.0.1-5) unstable; urgency=high
+
+  * Update build-depends so that this package is
+    buildable in sarge (Closes: #269658)
+  * Urgency high as this is a simple change which
+    is necessary to close an RC bug in sarge
+
+ -- Ed Boraas <ed at debian.org>  Mon,  6 Sep 2004 19:52:41 -0600
+
+python-kinterbasdb (3.0.1-4) unstable; urgency=low
+
+  * Updated to Policy 3.6.1
+  * Acknowledge NMUs (Closes: #213134, #259129)
+
+ -- Ed Boraas <ed at debian.org>  Sat,  7 Aug 2004 23:51:06 -0600
+
+python-kinterbasdb (3.0.1-3.2) unstable; urgency=low
+
+  * NMU
+  * Add a Build-Depends on python (closes: #259129)
+
+ -- Pierre Machard <pmachard at debian.org>  Sun, 18 Jul 2004 12:01:18 +0200
+
+python-kinterbasdb (3.0.1-3.1) unstable; urgency=low
+
+  * Add support for python2.3.
+  * Make the package buildable on non-i386 machines.
+  * Remove the postinst/prerm scripts, use dh_python instead.
+  * Change the package section to `python'.
+  * _kinterbasdb.c: Define LONG_LONG in terms of PY_LONG_LONG.
+  * Make dependency package architecture all.
+  * Make package lintian clean.
+
+ -- Matthias Klose <doko at debian.org>  Sun, 28 Sep 2003 15:52:16 +0200
+
+python-kinterbasdb (3.0.1-3) unstable; urgency=low
+
+  * Build separate packages for both python 2.1 and 2.2
+
+ -- Ed Boraas <ed at debian.org>  Sat, 24 Aug 2002 21:44:12 -0600
+
+python-kinterbasdb (3.0.1-2) unstable; urgency=low
+
+  * Clean up postinst/prerm scripts
+
+ -- Ed Boraas <ed at debian.org>  Sat, 24 Aug 2002 15:43:13 -0600
+
+python-kinterbasdb (3.0.1-1) unstable; urgency=low
+
+  * Initial Release (Closes: #158071)
+
+ -- Ed Boraas <ed at debian.org>  Sat, 24 Aug 2002 15:38:52 -0600
+

Added: packages/python-kinterbasdb/trunk/debian/compat
===================================================================
--- packages/python-kinterbasdb/trunk/debian/compat	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/compat	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1 @@
+5

Added: packages/python-kinterbasdb/trunk/debian/control
===================================================================
--- packages/python-kinterbasdb/trunk/debian/control	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/control	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1,22 @@
+Source: python-kinterbasdb
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Uploaders: Sandro Tosi <matrixhasu at gmail.com>
+Build-Depends: debhelper (>= 5.0.37.2), firebird2.0-dev, python-all-dev (>= 2.3.5-11), python-egenix-mx-base-dev, python-support (>= 0.6.4), dpatch
+Standards-Version: 3.7.3
+Homepage: http://kinterbasdb.sourceforge.net/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-kinterbasdb/trunk/
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-kinterbasdb/trunk/?op=log
+XS-Python-Version: all
+
+Package: python-kinterbasdb
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${python:Provides}
+Replaces: python2.3-kinterbasdb (<< 3.1.2-0.1), python2.4-kinterbasdb (<< 3.1.2-0.1)
+Conflicts: python2.3-kinterbasdb (<< 3.1.2-0.1), python2.4-kinterbasdb (<< 3.1.2-0.1)
+XB-Python-Version: ${python:Versions}
+Description: InterBase/Firebird support for Python 
+ This package allows access to InterBase and/or Firebird databases from
+ Python via the standard Python Database API version 2.0.

Added: packages/python-kinterbasdb/trunk/debian/copyright
===================================================================
--- packages/python-kinterbasdb/trunk/debian/copyright	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/copyright	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1,47 @@
+This package was debianized by Ed Boraas <kronos at boraas.ca> on
+Sat, 24 Aug 2002 15:38:52 -0600.
+
+It was downloaded from http://kinterbasdb.sf.net 
+
+Upstream Authors:
+    Alexander Kuznetsov  <alexan at users.sourceforge.net>
+    Marek Isalski        <kinterbasdb at maz.nu>
+    David Rushby         <woodsplitter at rocketmail.com>
+    et al.
+
+Copyright (edited from upstream docs/license.txt):
+
+    1998-2001 [alex]  Alexander Kuznetsov   <alexan at users.sourceforge.net>
+        Author of original version; maintained through version 2.0.
+
+    2002-2004 [dsr]   David Rushby          <woodsplitter at rocketmail.com>
+        Author of ~90% of current code and 100% of current documentation.
+
+    2001-2002 [maz]   Marek Isalski         <kinterbasdb at maz.nu>
+        Marek made important first steps in removing the limitations of
+        version 2.0 in preparation for version 3.0.
+
+    2001      [eac]   Evgeny A. Cherkashin  <eugeneai at icc.ru>
+        Evgeny wrote the first version of the distutils build script,
+        which was included in a 2.x point release.
+
+    2001-2002 [janez] Janez Jere            <janez.jere at void.si>
+        Janez contributed several bugfixes, including fixes for the date
+        and time parameter conversion code in preparation for version 3.0.
+
+License:
+
+    Permission to use, copy, modify, and distribute this software and
+    its documentation for any purpose and without fee or royalty is
+    hereby granted, provided that the above copyright notice appears
+    in all copies and that both the copyright notice and this
+    permission notice appear in supporting documentation or portions
+    thereof, including modifications, that you make.
+
+    The authors disclaim all warranties with regard to this software,
+    including all implied warranties of merchantability and fitness.
+    In no event shall any author be liable for any special, indirect
+    or consequential damages or any damages whatsoever resulting from
+    loss of use, data or profits, whether in an action of contract,
+    negligence or other tortious action, arising out of or in
+    connection with the use or performance of this software.

Added: packages/python-kinterbasdb/trunk/debian/patches/00list
===================================================================
--- packages/python-kinterbasdb/trunk/debian/patches/00list	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/patches/00list	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1 @@
+01_restore_pristine_code

Added: packages/python-kinterbasdb/trunk/debian/patches/01_restore_pristine_code.dpatch
===================================================================
--- packages/python-kinterbasdb/trunk/debian/patches/01_restore_pristine_code.dpatch	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/patches/01_restore_pristine_code.dpatch	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_restore_pristine_code.dpatch by Sandro Tosi <matrixhasu at gmail.com>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from python-kinterbasdb 3.1.2-1 diff.gz
+
+ at DPATCH@
+diff -urNad python-kinterbasdb-3.2~/_kievents.h python-kinterbasdb-3.2/_kievents.h
+--- python-kinterbasdb-3.2~/_kievents.h	2008-02-10 18:22:53.000000000 +0100
++++ python-kinterbasdb-3.2/_kievents.h	2008-02-10 18:28:59.808111244 +0100
+@@ -30,11 +30,7 @@
+ #include "_kisupport.h"
+ #include "_kisupport_threadsafe_fifo_queue.h"
+ 
+-#ifdef FIREBIRD_2_0_OR_LATER
+-  #define EVENT_CALLBACK_FUNCTION ISC_EVENT_CALLBACK
+-#else
+-  #define EVENT_CALLBACK_FUNCTION isc_callback
+-#endif
++#define EVENT_CALLBACK_FUNCTION isc_callback
+ 
+ #define DV_VOID(void_ptr) DEVOLATILE(void *, void_ptr)
+ #define DV_STR(char_ptr) DEVOLATILE(char *, char_ptr)
+diff -urNad python-kinterbasdb-3.2~/_kinterbasdb.c python-kinterbasdb-3.2/_kinterbasdb.c
+--- python-kinterbasdb-3.2~/_kinterbasdb.c	2008-02-10 18:22:53.000000000 +0100
++++ python-kinterbasdb-3.2/_kinterbasdb.c	2008-02-10 18:22:56.747421593 +0100
+@@ -77,6 +77,9 @@
+ static PyObject *ProgrammingError          = NULL;
+ static PyObject *NotSupportedError         = NULL;
+ 
++#ifndef LONG_LONG
++# define LONG_LONG PY_LONG_LONG
++#endif
+ 
+ /* 2005.11.04: */
+ static int global_concurrency_level = UNKNOWN_CONCURRENCY_LEVEL;


Property changes on: packages/python-kinterbasdb/trunk/debian/patches/01_restore_pristine_code.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-kinterbasdb/trunk/debian/rules
===================================================================
--- packages/python-kinterbasdb/trunk/debian/rules	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/rules	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1,78 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+include /usr/share/dpatch/dpatch.make
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+PYVERS=$(shell pyversions -r)
+
+build: patch build-stamp
+build-stamp: 
+	dh_testdir
+
+	set-e; \
+	for py in $(PYVERS); do $$py setup.py build; done
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	-for py in $(PYVERS); do $$py setup.py clean; done
+	
+	[ ! -d build ] || rm -rf build
+
+	dh_clean __ki_platform_config.h
+
+	# restore __init__.py with default compilation time
+	sed -i "s/__timestamp__.*/__timestamp__ = \'2006\.08\.11\.15\.17\.16\.UTC\'/" __init__.py
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+
+	set -e; \
+	for py in $(PYVERS); do \
+	    $$py setup.py install --root=debian/python-kinterbasdb; \
+	done
+	-find debian -name '*.py[co]' | xargs rm -f
+
+	# these are wrongly installed by the script above:
+	rm -rf debian/python-kinterbasdb/usr/lib/python*/site-packages/kinterbasdb/docs
+
+# Build architecture-independent files here.
+binary-indep: build install
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs		docs/*.html docs/*.css
+	dh_installchangelogs	docs/changelog.txt
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_pysupport
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install


Property changes on: packages/python-kinterbasdb/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/python-kinterbasdb/trunk/debian/watch
===================================================================
--- packages/python-kinterbasdb/trunk/debian/watch	                        (rev 0)
+++ packages/python-kinterbasdb/trunk/debian/watch	2008-02-10 18:21:58 UTC (rev 4483)
@@ -0,0 +1,6 @@
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+http://sf.net/kinterbasdb/kinterbasdb-([\d.]*)\.src\.tar\.gz
+




More information about the Python-modules-commits mailing list