[Python-modules-commits] r4283 - in packages/py-radix/trunk (8 files)

myon at users.alioth.debian.org myon at users.alioth.debian.org
Fri Jan 4 23:26:41 UTC 2008


    Date: Friday, January 4, 2008 @ 23:26:40
  Author: myon
Revision: 4283

[svn-inject] Applying Debian modifications to trunk

Added:
  packages/py-radix/trunk/debian/
  packages/py-radix/trunk/debian/changelog
  packages/py-radix/trunk/debian/compat
  packages/py-radix/trunk/debian/control
  packages/py-radix/trunk/debian/copyright
  packages/py-radix/trunk/debian/pycompat
  packages/py-radix/trunk/debian/rules
  packages/py-radix/trunk/debian/watch


Property changes on: packages/py-radix/trunk/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: packages/py-radix/trunk/debian/changelog
===================================================================
--- packages/py-radix/trunk/debian/changelog	                        (rev 0)
+++ packages/py-radix/trunk/debian/changelog	2008-01-04 23:26:40 UTC (rev 4283)
@@ -0,0 +1,11 @@
+py-radix (0.4-2) unstable; urgency=low
+
+  * Build extension for all python versions.
+
+ -- Christoph Berg <myon at debian.org>  Fri, 19 Oct 2007 19:17:39 +0200
+
+py-radix (0.4-1) unstable; urgency=low
+
+  * Initial version.
+
+ -- Christoph Berg <myon at debian.org>  Mon, 15 Oct 2007 21:40:39 +0200

Added: packages/py-radix/trunk/debian/compat
===================================================================
--- packages/py-radix/trunk/debian/compat	                        (rev 0)
+++ packages/py-radix/trunk/debian/compat	2008-01-04 23:26:40 UTC (rev 4283)
@@ -0,0 +1 @@
+5

Added: packages/py-radix/trunk/debian/control
===================================================================
--- packages/py-radix/trunk/debian/control	                        (rev 0)
+++ packages/py-radix/trunk/debian/control	2008-01-04 23:26:40 UTC (rev 4283)
@@ -0,0 +1,26 @@
+Source: py-radix
+Section: python
+Priority: extra
+Maintainer: Christoph Berg <myon at debian.org>
+Build-Depends: debhelper (>> 5), python-all-dev (>= 2.3), python, python-central (>= 0.5)
+Standards-Version: 3.7.2
+XS-Python-Version: all
+
+Package: python-radix
+Section: python
+Architecture: any
+Depends: ${shlibs:Depends}, ${python:Depends}
+Provides: ${python:Provides}
+XB-Python-Version: ${python:Versions}
+Description: radix tree implementation for storage of IPv4 and IPv6 networks
+ py-radix is an implementation of a radix tree for Python, which supports
+ storage and lookups of IPv4 and IPv6 networks. This is a Python equivalent to
+ Dave Plonka's Perl Net::Patricia (it even steals the same radix tree code from
+ MRTd).
+ .
+ The radix tree (a.k.a Patricia tree) is the data structure most commonly used
+ for routing table lookups. It efficiently stores network prefixes of varying
+ lengths and allows fast lookups of containing networks. py-radix's
+ implementation is built solely for networks (the data structure itself is more
+ general).
+Homepage: http://www.mindrot.org/projects/py-radix/

Added: packages/py-radix/trunk/debian/copyright
===================================================================
--- packages/py-radix/trunk/debian/copyright	                        (rev 0)
+++ packages/py-radix/trunk/debian/copyright	2008-01-04 23:26:40 UTC (rev 4283)
@@ -0,0 +1,84 @@
+This package was debianized by Christoph Berg <myon at debian.org> on
+Mon, 15 Oct 2007 23:00:26 +0200.
+
+It was downloaded from http://www.mindrot.org/projects/py-radix/
+
+Author: Damien Miller
+
+The Python binding code is subject to this license:
+
+/*
+ * Copyright (c) 2004 Damien Miller <djm at mindrot.org>
+ *
+ * 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" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, 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.
+ */
+
+This underlying radix tree code is derived from MRT (http://www.mrtd.net/) 
+and is subject to the following license:  
+
+/*
+ * Copyright (c) 1999-2000
+ *
+ * The Regents of the University of Michigan ("The Regents") and
+ * Merit Network, Inc. All rights reserved.  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. All advertising materials mentioning features or use of
+ * this software must display the following acknowledgement:
+ *
+ *   This product includes software developed by the University of
+ *   Michigan, Merit Network, Inc., and their contributors.
+ *
+ * 4. Neither the name of the University, Merit Network, nor the
+ * names of their contributors may be used to endorse or
+ * promote products derived from this software without
+ * specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS 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 TH E REGENTS
+ * OR 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) HO WEVER 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.
+ */
+/*
+ * Portions Copyright (c) 2004,2005 Damien Miller <djm at mindrot.org>
+ *
+ * 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" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, 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/py-radix/trunk/debian/pycompat
===================================================================
--- packages/py-radix/trunk/debian/pycompat	                        (rev 0)
+++ packages/py-radix/trunk/debian/pycompat	2008-01-04 23:26:40 UTC (rev 4283)
@@ -0,0 +1 @@
+2

Added: packages/py-radix/trunk/debian/rules
===================================================================
--- packages/py-radix/trunk/debian/rules	                        (rev 0)
+++ packages/py-radix/trunk/debian/rules	2008-01-04 23:26:40 UTC (rev 4283)
@@ -0,0 +1,52 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+PYDEF=$(shell pyversions -d)
+PYVERS=$(shell pyversions -r)
+
+build build-indep build-arch: build-stamp
+build-stamp: $(PYVERS:%=build-ext-%)
+	python setup.py build
+	touch $@
+
+build-ext-%:
+	# Building for $*
+	dh_testdir
+	$(subst $(PYDEF),python,$*) setup.py build
+	touch $@
+
+install-clean: build-stamp
+	dh_clean -k
+
+install: install-clean $(PYVERS:%=install-ext-%)
+	python setup.py install --root $(CURDIR)/debian/python-radix
+
+install-ext-%:
+	# Installing for $*
+	$(subst $(PYDEF),python,$*) setup.py install --root $(CURDIR)/debian/python-radix
+
+binary-indep:
+
+binary-arch: install
+	dh_installchangelogs -a ChangeLog
+	dh_installdocs -a README
+	dh_installman -a
+	dh_installexamples -a
+	dh_strip -a
+	dh_compress -a
+	dh_pycentral -a
+	dh_fixperms -a
+	dh_shlibdeps -a
+	dh_installdeb -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+
+clean:
+	dh_testdir
+	rm -rf build
+	dh_clean build-stamp build-ext-*
+
+.PHONY: build build-indep build-arch clean binary binary-indep binary-arch install configure patch unpatch


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

Added: packages/py-radix/trunk/debian/watch
===================================================================
--- packages/py-radix/trunk/debian/watch	                        (rev 0)
+++ packages/py-radix/trunk/debian/watch	2008-01-04 23:26:40 UTC (rev 4283)
@@ -0,0 +1,2 @@
+version=3
+http://www.mindrot.org/files/py-radix/py-radix-(.*).tar.gz




More information about the Python-modules-commits mailing list