[Python-modules-commits] r3546 - in /packages/ipy/trunk/debian: changelog compat control copyright docs examples rules watch

bzed-guest at users.alioth.debian.org bzed-guest at users.alioth.debian.org
Mon Nov 5 22:52:43 UTC 2007


Author: bzed-guest
Date: Mon Nov  5 22:52:43 2007
New Revision: 3546

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=3546
Log:
* New upstream version.
* debian/control:
  - Added Vcs-Browser field.
  - Fixed lintian errors by adding python-all to Build-Depends and
    python-support to Build-Depends-Indep.
  - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now).
  - Adding myself to uploaders.
  - Adding ${misc:Depends} to Depends.
  - Removing cdbs from Build-Depends, not used anymore.
* debian/watch:
  - Updated file to check the new location at Python's cheeseshop.
* debian/compat:
  - Bumping to level 5.
* debian/copyright:
  - Updating file to reflect the content of the current upstream tarball.
* debian/rules:
  - Rewriting file, removing cdbs, run tests during the build process.
* debian/{docs, examples}:
  - Adding files.

Added:
    packages/ipy/trunk/debian/docs
    packages/ipy/trunk/debian/examples
Modified:
    packages/ipy/trunk/debian/changelog
    packages/ipy/trunk/debian/compat
    packages/ipy/trunk/debian/control
    packages/ipy/trunk/debian/copyright
    packages/ipy/trunk/debian/rules
    packages/ipy/trunk/debian/watch

Modified: packages/ipy/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/changelog?rev=3546&op=diff
==============================================================================
--- packages/ipy/trunk/debian/changelog (original)
+++ packages/ipy/trunk/debian/changelog Mon Nov  5 22:52:43 2007
@@ -1,13 +1,26 @@
-ipy (1:0.52-3) UNRELEASED; urgency=low
+ipy (1:0.55-1) UNRELEASED; urgency=low
 
-  * Added Vcs-Browser field
-  * Fixed the following lintian errors:
-    - clean-should-be-satisfied-by-build-depends
-      python | python-dev | python-all-dev
-    - missing-build-dependency python-support (>= 0.3)
-    - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now)
+  * New upstream version.
+  * debian/control:
+    - Added Vcs-Browser field.
+    - Fixed lintian errors by adding python-all to Build-Depends and
+      python-support to Build-Depends-Indep.
+    - Rename XS-Vcs-* fields to Vcs-* (dpkg supports them now).
+    - Adding myself to uploaders.
+    - Adding ${misc:Depends} to Depends.
+    - Removing cdbs from Build-Depends, not used anymore.
+  * debian/watch:
+    - Updated file to check the new location at Python's cheeseshop.
+  * debian/compat:
+    - Bumping to level 5.
+  * debian/copyright:
+    - Updating file to reflect the content of the current upstream tarball.
+  * debian/rules:
+    - Rewriting file, removing cdbs, run tests during the build process.
+  * debian/{docs, examples}:
+    - Adding files.
 
- -- Bernd Zeimetz <bernd at bzed.de>  Sat,  6 Oct 2007 23:46:33 +0200
+ -- Bernd Zeimetz <bernd at bzed.de>  Mon, 05 Nov 2007 23:51:54 +0100
 
 ipy (1:0.52-2) unstable; urgency=low
 

Modified: packages/ipy/trunk/debian/compat
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/compat?rev=3546&op=diff
==============================================================================
--- packages/ipy/trunk/debian/compat (original)
+++ packages/ipy/trunk/debian/compat Mon Nov  5 22:52:43 2007
@@ -1,1 +1,1 @@
-4
+5

Modified: packages/ipy/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/control?rev=3546&op=diff
==============================================================================
--- packages/ipy/trunk/debian/control (original)
+++ packages/ipy/trunk/debian/control Mon Nov  5 22:52:43 2007
@@ -2,15 +2,16 @@
 Section: python
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Uploaders: Morten Werner Olsen <werner at debian.org>
-Build-Depends: debhelper (>= 5.0.37.1), cdbs (>= 0.4.41), python-dev (>= 2.3.5-10), python-support (>= 0.3)
+Uploaders: Morten Werner Olsen <werner at debian.org>, Bernd Zeimetz <bernd at bzed.de>
+Build-Depends: debhelper (>= 5.0.37.1), python-all, python-support (>= 0.4)
+Build-Depends-Indep: python-support (>= 0.4)
 Standards-Version: 3.7.2
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/ipy/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/
 
 Package: python-ipy
 Architecture: all
-Depends: ${python:Depends}
+Depends: ${python:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
 Conflicts: python2.3-ipy, python2.4-ipy
 Replaces: python2.3-ipy, python2.4-ipy

Modified: packages/ipy/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/copyright?rev=3546&op=diff
==============================================================================
--- packages/ipy/trunk/debian/copyright (original)
+++ packages/ipy/trunk/debian/copyright Mon Nov  5 22:52:43 2007
@@ -1,15 +1,63 @@
 This package was debianized by Morten Werner Olsen <werner at skolelinux.no> on
-Tue, 14 Jul 2005 16:08:45 +0100.
+Tue, 14 Jul 2005 16:08:45 +0100 and refurbished by Bernd Zeimetz
+<bernd at bzed.de> on Mon, 05 Nov 2007 23:34:25 +0100.
 
 It was downloaded from
- http://software.inl.fr/trac/trac.cgi/wiki/IPy
+  http://cheeseshop.python.org/pypi/IPy
 
-Original Upstream Author    : Doobee R Tzeck ( hackers AT c0re.23.nu )
-Current Upstream Maintainer : Victor Stinner ( victor.stinner AT inl.fr )
 
-Copyright (exact copy of text from http://c0re.23.nu/c0de/IPy/):
+Upstream Authors:
 
-If you think you need a license for anything you might think of this
-as beeing unter a "BSD Style License" [1].
+    James Teh <james.teh AT netboxblue.com>
+        - make_net option patch
+    Jean Gillaux <jgillaux AT inl.fr>
+        - Fix netmask "/0.0.0.0"
+    Mark Johnston
+        - bringing IPy to Python 2.3
+    Matthew Flanagan <mattimustang AT gmail.com>
+        - Fix strCompressed()
+    Maximillian Dornseif <md AT hudora.de>
+        - IPy author and maintainer until version 0.42
+    Samuel Krempp
+        - fix __cmp__() bug
+    Shell, Hin-lik Hung
+        - bring IPy to OpenBSD ports
+    Skinny Puppy
+        - __add__() now always  returns a value
+    Victor Stinner <victor.stinner AT inl.fr>
+        - Patch setup.py for setuptools, maintainer since version 0.5
+    William McVey <wam AT cisco.com>
+        - Fix IP.__nonzero__()
 
-[1] http://www.opensource.org/licenses/bsd-license.html
+
+Copyright:
+
+    Copyright (c) 2006, INL
+    Copyright (c) 2001-2005, Maximillian Dornseif
+
+License:
+
+    All rights reserved.
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted provided that the following conditions are met:
+
+        * Redistributions of source code must retain the above copyright
+          notice, this list of conditions and the following disclaimer.
+        * 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.
+        * Neither the name of IPy nor the names of its 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 THE REGENTS AND 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.
+

Added: packages/ipy/trunk/debian/docs
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/docs?rev=3546&op=file
==============================================================================
--- packages/ipy/trunk/debian/docs (added)
+++ packages/ipy/trunk/debian/docs Mon Nov  5 22:52:43 2007
@@ -1,0 +1,1 @@
+README

Added: packages/ipy/trunk/debian/examples
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/examples?rev=3546&op=file
==============================================================================
--- packages/ipy/trunk/debian/examples (added)
+++ packages/ipy/trunk/debian/examples Mon Nov  5 22:52:43 2007
@@ -1,0 +1,1 @@
+example/*

Modified: packages/ipy/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/rules?rev=3546&op=diff
==============================================================================
--- packages/ipy/trunk/debian/rules (original)
+++ packages/ipy/trunk/debian/rules Mon Nov  5 22:52:43 2007
@@ -1,15 +1,71 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM=pysupport
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
+PKGNAME:=python-ipy
+PYVERS:=$(shell pyversions -r)
 
-DEB_INSTALL_CHANGELOGS_ALL = ChangeLog
-DEB_INSTALL_DOCS_ALL = COPYING
-DEB_INSTALL_EXAMPLES_python-ipy = example/confbuilder example/confbuilder.py test/test_IPy.py
+build: build-stamp
+build-stamp:
+	dh_testdir
 
-clean::
-	-find . -name \*pyc -exec rm -f {} \;
-#	-rm -rf locales
+	set -e; \
+	for py in $(PYVERS); do  \
+	    $$py setup.py build; \
+	done
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+	set -e ;\
+	cd test ;\
+	for py in $(PYVERS); do  \
+	    PYTHONPATH=$(CURDIR)/build/lib $$py test_IPy.py; \
+	done
+endif
+
+	touch $@
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f install-stamp build-stamp
+	-for py in $(PYVERS); do  \
+	    $$py setup.py clean; \
+	done
+	find . -name \*.pyc | xargs rm -f
+	rm -rf build
+	dh_clean 
+
+install: install-stamp
+install-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	set -e; \
+	for py in $(PYVERS); do  \
+	    $$py setup.py install --root=debian/$(PKGNAME); \
+	done
+
+	dh_installdocs -A
+	dh_installexamples
+	touch install-stamp
+
+binary-arch: build install
+# We have nothing to do by default.
+
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_compress -X.py
+	dh_fixperms
+	dh_pysupport
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+

Modified: packages/ipy/trunk/debian/watch
URL: http://svn.debian.org/wsvn/python-modules/packages/ipy/trunk/debian/watch?rev=3546&op=diff
==============================================================================
--- packages/ipy/trunk/debian/watch (original)
+++ packages/ipy/trunk/debian/watch Mon Nov  5 22:52:43 2007
@@ -1,5 +1,5 @@
 version=3
 
 opts="filenamemangle=s/.*\/([^#]*)#.*/$1/" \
-http://cheeseshop.python.org/pypi/IPy http://pypi\.python\.org/packages/source/p/IPy/IPy-(.*)\.tar\.gz#md5=.*
+http://cheeseshop.python.org/pypi/IPy http://pypi\.python\.org/packages/source/I/IPy/IPy-(.*)\.tar\.gz#md5=.*
 




More information about the Python-modules-commits mailing list