[Python-modules-commits] r10286 - in packages/python-adns/trunk (8 files)

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Wed Nov 4 22:19:15 UTC 2009


    Date: Wednesday, November 4, 2009 @ 22:19:14
  Author: jandd
Revision: 10286

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/python-adns/trunk/debian/
  packages/python-adns/trunk/debian/changelog
  packages/python-adns/trunk/debian/control
  packages/python-adns/trunk/debian/copyright
  packages/python-adns/trunk/debian/pycompat
  packages/python-adns/trunk/debian/rules
Modified:
  packages/python-adns/trunk/ADNS.py
  packages/python-adns/trunk/adnsmodule.c

Modified: packages/python-adns/trunk/ADNS.py
===================================================================
--- packages/python-adns/trunk/ADNS.py	2009-11-04 22:19:07 UTC (rev 10285)
+++ packages/python-adns/trunk/ADNS.py	2009-11-04 22:19:14 UTC (rev 10286)
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-
 """High-level interface to adns."""
 
 import adns

Modified: packages/python-adns/trunk/adnsmodule.c
===================================================================
--- packages/python-adns/trunk/adnsmodule.c	2009-11-04 22:19:07 UTC (rev 10285)
+++ packages/python-adns/trunk/adnsmodule.c	2009-11-04 22:19:14 UTC (rev 10286)
@@ -88,7 +88,7 @@
 };
 
 static _constant_class adns_rr[] = {
-	{ "typemask", adns__rrt_typemask },
+	{ "typemask", adns_rrt_typemask },
 	{ "deref", adns__qtf_deref },
 	{ "mail822", adns__qtf_mail822 },
 	{ "none", adns_r_none },
@@ -184,7 +184,7 @@
 {
 	PyObject *o, *rrs;
 	int i;
-	adns_rrtype t = answer->type & adns__rrt_typemask;
+	adns_rrtype t = answer->type & adns_rrt_typemask;
 	adns_rrtype td = answer->type & adns__qtf_deref;
 
 	rrs = PyTuple_New(answer->nrrs);
@@ -686,7 +686,7 @@
 {
 	ADNS_Stateobject *self;
 	
-	self = PyObject_NEW(ADNS_Stateobject, &ADNS_Statetype);
+	self = PyObject_New(ADNS_Stateobject, &ADNS_Statetype);
 	if (self == NULL)
 		return NULL;
 	self->state = NULL;
@@ -701,7 +701,7 @@
 	adns_finish(self->state);
 	Py_END_ALLOW_THREADS;
 	Py_INCREF(Py_None);
-	PyMem_DEL(self);
+	PyObject_Del(self);
 }
 
 static char ADNS_Statetype__doc__[] = 
@@ -890,7 +890,7 @@
 {
 	ADNS_Queryobject *self;
 	
-	self = PyObject_NEW(ADNS_Queryobject, &ADNS_Querytype);
+	self = PyObject_New(ADNS_Queryobject, &ADNS_Querytype);
 	if (self == NULL)
 		return NULL;
 	Py_INCREF(state);
@@ -912,7 +912,7 @@
 	Py_XDECREF(self->exc_type);
 	Py_XDECREF(self->exc_value);
 	Py_XDECREF(self->exc_traceback);
-	PyMem_DEL(self);
+	PyObject_Del(self);
 }
 
 static char ADNS_Querytype__doc__[] = 


Property changes on: packages/python-adns/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
   + 1

Added: packages/python-adns/trunk/debian/changelog
===================================================================
--- packages/python-adns/trunk/debian/changelog	                        (rev 0)
+++ packages/python-adns/trunk/debian/changelog	2009-11-04 22:19:14 UTC (rev 10286)
@@ -0,0 +1,110 @@
+python-adns (1.1.0-3.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix use of python memory functions. Closes: #468992
+
+ -- Thomas Viehmann <tv at beamnet.de>  Tue, 04 Mar 2008 20:44:20 +0100
+
+python-adns (1.1.0-3) unstable; urgency=low
+
+  * New maintainer (closes: #379683).
+
+ -- Ernesto Nadir Crespo Avila <ecrespo at debianvenezuela.org>  Mon,  5 Feb 2007 18:05:44 -0400
+
+python-adns (1.1.0-2) unstable; urgency=medium
+
+  * QA upload.
+  * Fix FTBFS, make it compile with recent libadns versions,
+    adns__rrt_typemask has been renamed to adns_rrt_typemask
+    Closes: #397706
+
+ -- Michael Ablassmeier <abi at debian.org>  Thu,  9 Nov 2006 07:52:13 +0100
+
+python-adns (1.1.0-1) unstable; urgency=low
+
+  * QA upload.
+  * New upstream release.  Closes: #330625.
+  * Change section to python in accordance with the override file.
+  * debian/copyright: Upstream is no longer dual-licensed.
+  * debian/rules: Let dh_strip handle DEB_BUILD_OPTIONS=nostrip.
+
+ -- Matej Vela <vela at debian.org>  Mon, 14 Aug 2006 14:15:11 +0200
+
+python-adns (1.0.0-7) unstable; urgency=low
+
+  * QA upload (Ack NMU; Closes: #351137, #373510)
+  * Set Maintainer to QA Group; Orphaned: #379683
+  * Update debian/copyright
+
+ -- Michael Ablassmeier <abi at debian.org>  Wed,  9 Aug 2006 07:24:20 +0200
+
+python-adns (1.0.0-6.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Switching to the new python policy. Closes: #330625.
+  * Update Standards-Version. No changes needed.
+
+ -- Arnaud Fontaine <arnaud at andesi.org>  Mon,  3 Jul 2006 22:14:05 +0200
+
+python-adns (1.0.0-6.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Stop building python2.1/2.2 modules. (closes: #351137)
+  * Also build module for python2.4.
+
+ -- Pierre Habouzit <madcoder at debian.org>  Sun,  9 Apr 2006 19:57:27 +0200
+
+python-adns (1.0.0-6) unstable; urgency=low
+
+  * debian/control: Add Build-Depends on python. (closes: #258482)
+  * debian/rules: Build architecture independent packages in the
+    binary-indep target, not the binary-arch target. (closes: #214266)
+  * adnsmodule.c: Added code to parse DNS TXT records (closes: #236763) 
+
+ -- Peter Hawkins <peterh at debian.org>  Sat, 10 Jul 2004 10:53:06 +1000
+
+python-adns (1.0.0-5) unstable; urgency=medium
+
+  * Acknowledged NMU.
+  * Updated standards version to 3.6.1.
+  * Applied patch from Guillaume Morin which fixes the breakage on non-x86
+    machines. It turns out the problem was an uninitialised variable used
+    as an argument to select(). Thanks for the patch! (closes: #187591)
+
+ -- Peter Hawkins <peterh at debian.org>  Sat,  4 Oct 2003 11:27:04 +1000
+
+python-adns (1.0.0-4.1) unstable; urgency=low
+
+  * NMU
+  * Rebuild against python 2.3.
+  * Use dh_python.
+
+ -- Josselin Mouette <joss at debian.org>  Thu, 28 Aug 2003 12:15:39 +0200
+
+python-adns (1.0.0-4) unstable; urgency=low
+
+  * Updated standards version to 3.5.8.
+  * Added python-adns package depending on default python version
+    (closes: #182868).
+
+ -- Peter Hawkins <peterh at debian.org>  Sat,  1 Mar 2003 11:06:17 +1100
+
+python-adns (1.0.0-3) unstable; urgency=low
+
+  * Updated standards version to 3.5.7. 
+
+ -- Peter Hawkins <peterh at debian.org>  Tue, 17 Sep 2002 21:54:42 +1000
+
+python-adns (1.0.0-2) unstable; urgency=low
+
+  * Added python 2.3 version.
+
+ -- Peter Hawkins <peterh at debian.org>  Sat, 14 Sep 2002 09:36:57 +1000
+
+python-adns (1.0.0-1) unstable; urgency=low
+
+  * Initial Release.
+  * Made package linda clean, fixed errors picked up by Joerg Jaspert.
+  * Uploaded package into archive (closes: #155597)
+
+ -- Peter Hawkins <peterh at debian.org>  Mon, 12 Aug 2002 12:08:00 +1000

Added: packages/python-adns/trunk/debian/control
===================================================================
--- packages/python-adns/trunk/debian/control	                        (rev 0)
+++ packages/python-adns/trunk/debian/control	2009-11-04 22:19:14 UTC (rev 10286)
@@ -0,0 +1,17 @@
+Source: python-adns
+Section: python
+Priority: optional
+Maintainer: Ernesto Nadir Crespo Avila <ecrespo at debianvenezuela.org>
+Build-Depends: debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.3.2), libadns1-dev
+Standards-Version: 3.7.2
+
+Package: python-adns
+Architecture: any
+Depends: ${python:Depends}, ${shlibs:Depends}
+Conflicts: python2.3-adns (<< 1.0.0-6.2), python2.4-adns (<< 1.0.0-6.2)
+Replaces: python2.3-adns (<< 1.0.0-6.2), python2.4-adns (<< 1.0.0-6.2)
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: Python bindings to the asynchronous DNS resolver library
+ This module provides a python binding to the adns asynchronous DNS resolver
+ library.

Added: packages/python-adns/trunk/debian/copyright
===================================================================
--- packages/python-adns/trunk/debian/copyright	                        (rev 0)
+++ packages/python-adns/trunk/debian/copyright	2009-11-04 22:19:14 UTC (rev 10286)
@@ -0,0 +1,22 @@
+This package was debianized by Peter Hawkins <peter at hawkins.emu.id.au> on
+Fri, 19 Jul 2002 09:51:45 +1000.
+
+It was downloaded from http://dustman.net/andy/python/adns-python
+
+Upstream Author: Andy Dustman
+
+It is currently maintained by
+Ernesto Nadir Crespo Avila <ecrespo at debianvenezuela.org>
+
+License:
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+You should have received a copy of the GNU General Public License with
+your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with
+the Debian GNU/Linux python-adns source package as the file GPL.  If not,
+write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+Boston, MA  02110-1301 USA.

Added: packages/python-adns/trunk/debian/pycompat
===================================================================
--- packages/python-adns/trunk/debian/pycompat	                        (rev 0)
+++ packages/python-adns/trunk/debian/pycompat	2009-11-04 22:19:14 UTC (rev 10286)
@@ -0,0 +1 @@
+2

Added: packages/python-adns/trunk/debian/rules
===================================================================
--- packages/python-adns/trunk/debian/rules	                        (rev 0)
+++ packages/python-adns/trunk/debian/rules	2009-11-04 22:19:14 UTC (rev 10286)
@@ -0,0 +1,87 @@
+#!/usr/bin/make -f
+# Based on a 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
+
+# This is the debhelper compatibility version to use.
+export DH_COMPAT=5
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+
+PYVERS=$(shell pyversions -r)
+
+build: build-stamp
+build-stamp: 
+	dh_testdir
+	set -e; \
+	for python in $(PYVERS); do \
+		$$python setup.py build; \
+	done
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+
+	set -e; \
+	for python in $(PYVERS); do \
+		$$python setup.py clean; \
+	done
+	-rm -fr build build-stamp *.pyc
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+#	dh_installdirs
+
+	# Add here commands to install the package into debian/tmp
+	set -e; \
+	for python in $(PYVERS); do \
+		$$python setup.py install --root=debian/python-adns; \
+	done
+
+# Build architecture-independent files here.
+binary-indep:
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir -a
+	dh_testroot -a
+#	dh_movefiles
+
+#	dh_installdebconf	
+	dh_installdocs -a README
+	dh_installmenu -a
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installman -a
+#	dh_installinfo -a
+#	dh_undocumented
+	dh_installchangelogs -a
+	dh_link -a
+	dh_strip -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_pysupport -a
+	dh_python -a
+	dh_installdeb
+#	dh_perl -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 


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




More information about the Python-modules-commits mailing list