[Python-modules-commits] r1776 - in /packages/pydb/trunk/debian: README.Debian changelog control copyright pydb.dirs pydb.links rules

malex at users.alioth.debian.org malex at users.alioth.debian.org
Wed Jan 31 21:02:54 CET 2007


Author: malex
Date: Wed Jan 31 21:02:54 2007
New Revision: 1776

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=1776
Log:
The first new generation (by Rocky Panix) pydb release - 1.17-1

Added:
    packages/pydb/trunk/debian/pydb.dirs
    packages/pydb/trunk/debian/pydb.links
Modified:
    packages/pydb/trunk/debian/README.Debian
    packages/pydb/trunk/debian/changelog
    packages/pydb/trunk/debian/control
    packages/pydb/trunk/debian/copyright
    packages/pydb/trunk/debian/rules

Modified: packages/pydb/trunk/debian/README.Debian
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/README.Debian?rev=1776&op=diff
==============================================================================
--- packages/pydb/trunk/debian/README.Debian (original)
+++ packages/pydb/trunk/debian/README.Debian Wed Jan 31 21:02:54 2007
@@ -1,7 +1,17 @@
+pydb for Debian
+---------------
 
- pydb for Debian
- ---------------
+pydb is under a new management! As its new developer Rocky Bernstein wrote:
 
+A little about pydb development. Active development on Pydb stopped sometime
+around 2000. Richard Wolff who was working on that and the python debugger as
+a parallel (not unified) efforts has retired. About the begining of 2006 I
+wanted to add a restart to the stock python debugger, pdb. With Richard
+Wolff's blessing, I took over the name pydb. Since then I've merged in
+improvements that had gone on in pdb with those in pydb that were not in pdb
+(in particular display expressions). And many new things have been added
+guided by the gdb interface. The next release of ddd will no longer distribute
+a version of the 1999 pydb, but will use the pydb that is now maintained
+outside of ddd. (And of course, ddd also benefits from the new features added
+to pydb.)
 
-
- -- Gregor Hoffleit <flight at debian.org>, Sun, 22 Aug 1999 23:02:50 +0200

Modified: packages/pydb/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/changelog?rev=1776&op=diff
==============================================================================
--- packages/pydb/trunk/debian/changelog (original)
+++ packages/pydb/trunk/debian/changelog Wed Jan 31 21:02:54 2007
@@ -1,3 +1,31 @@
+pydb (1.17-1) unstable; urgency=low
+
+  * New upstream release on July 29th, 2006. Pydb is now developed by Rocky
+    Bernstein <rocky at panix.com>. See http://bashdb.sourceforge.net/pydb/ for
+    more information on how it differs from the old (1.01) pydb.
+  * debian/README.Debian: Added a note from the new upstream author explaining
+    the pydb evolution to the present day.
+  * debian/copyright: Updated the copyright file to reflect the switch to new
+    upstream and new license GPLv2.
+  * debian/control:
+    + Updated Standards-Version to 3.7.2.
+    + Added a dependency on python-support (>= 0.4) per new
+      python policy.
+    + Removed version from the ddd suggests (>= 3.0-5).
+    + Changed build-depends-indep to build-depends per linda warning.
+  * debian/rules:
+    + Call dh_pysupport instead of dh_python per new python policy.
+    + Added a "DEBIAN_DIR" variable.
+    + Added a dh_clean rule to the build-stamp target.
+    + Added the build commands - ./configure, make, make install to teh
+      build-stamp target.
+    + Added DEB_HOST_GNU_TYPE and DEB_BUILD_GNU_TYPE variable expansion.
+    + Added rules for setting CFLAGS
+    + Remove configure generated files in the clean target.
+  * debian/pydb.1: Switched to the upstream manpage.
+
+ -- Oleksandr Moskalenko <malex at debian.org>  Wed, 16 Aug 2006 19:26:50 -0600
+
 pydb (1.01-10) unstable; urgency=low
 
   * debian/compat: Changed compatibility level to 5, the latest.

Modified: packages/pydb/trunk/debian/control
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/control?rev=1776&op=diff
==============================================================================
--- packages/pydb/trunk/debian/control (original)
+++ packages/pydb/trunk/debian/control Wed Jan 31 21:02:54 2007
@@ -2,14 +2,14 @@
 Section: devel
 Priority: optional
 Maintainer: Oleksandr Moskalenko <malex at debian.org>
-Standards-Version: 3.6.2
-Build-Depends-Indep: debhelper (>= 5), python
+Standards-Version: 3.7.2
+Build-Depends: debhelper (>= 5), python-support (>= 0.4)
 
 Package: pydb
 Architecture: all
-Depends: ${python:Depends}
-Suggests: ddd (>= 3.0-5)
-Description: An enhanced Python command-line debugger
- Pydb is a command-line debugger for Python. It is based on the standard Python
- debugger pdb, but has a number of added features. Particularly, it is suitable
- for use with DDD, a graphical debugger front end.
+Depends: ${python:Depends}, python
+Suggests: ddd
+Description: An enhanced Python command-line debugger Pydb is a command-line
+ debugger for Python. It is based on the standard Python debugger pdb, but has
+ a number of added features. Particularly, it is suitable for use with DDD, a
+ graphical debugger front end.

Modified: packages/pydb/trunk/debian/copyright
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/copyright?rev=1776&op=diff
==============================================================================
--- packages/pydb/trunk/debian/copyright (original)
+++ packages/pydb/trunk/debian/copyright Wed Jan 31 21:02:54 2007
@@ -1,74 +1,29 @@
-This package was debianized by Gregor Hoffleit <flight at debian.org> on
-Sun, 22 Aug 1999 23:02:50 +0200.
+The original pydb package was debianized by Gregor Hoffleit
+<flight at debian.org> on Sun, 22 Aug 1999 23:02:50 +0200.
 
-It was downloaded from http://daikon.tuc.noao.edu/python/.
+It was downloaded from the now defunct http://daikon.tuc.noao.edu/python/
 
-Upstream Author: Richard Wolff <rwolff at noao.edu>
+The original upstream author: Richard Wolff <rwolff at noao.edu>
 
-Copyright:
+Current maintainer since 2005-08-23: Oleksandr Moskalenko <malex at debian.org>
 
-pydb.py is based on pdb.py, which is distributed with Python. The Python
-license is included below. According to the author of the modifications,
-his modifications and additions are also relased under the terms of the
-Python license. I think this will be clarified in one of the next
-releases:
+Current upstream source is downloaded from http://bashdb.sourceforge.net/pydb/
 
-  Date: Sun, 22 Aug 1999 15:58:03 -0700 (MST)
-  From: rwolff at noao.edu (Richard Wolff)
-  Message-Id: <199908222258.PAA06590 at daikon.tuc.noao.edu>
-  To: flight at mathi.uni-heidelberg.de
-  Subject: Re: pydb license ?
-  X-Sun-Charset: US-ASCII
-  Status: RO
-  Content-Length: 432
-  Lines: 11
-  
-  I am completely ignorant of all the real ins-and-outs of the world of
-  licensing.  So I'm not sure what verbiage is really appropriate.  However,
-  I've added a "License" file to my Python directory at my site that says
-  
-    All pydb code is released under the same terms and conditions as the
-    Python license.
-  
-  If that's all you need, fine.  If there's more, you'll probably have to tell
-  me what to write and where to put it.
-  
-  Richard
+Current upstream author: Rocky Bernstein <rocky at panix.com>
 
+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 of the License, or (at your option) any later
+version.
 
+This program is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+details.
 
-The license of the Python source is as follows:
-----------------------------------------------
+You should have received a copy of the GNU General Public License along with
+this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
+Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-
-The Python source is copyrighted, but you can freely use and copy it
-as long as you don't change or remove the copyright notice:
-
-----------------------------------------------------------------------
-Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
-The Netherlands.
-
-                        All Rights Reserved
-
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
-provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
-supporting documentation, and that the names of Stichting Mathematisch
-Centrum or CWI or Corporation for National Research Initiatives or
-CNRI not be used in advertising or publicity pertaining to
-distribution of the software without specific, written prior
-permission.
-
-While CWI is the initial source for this software, a modified version
-is made available by the Corporation for National Research Initiatives
-(CNRI) at the Internet address ftp://ftp.python.org.
-
-STICHTING MATHEMATISCH CENTRUM AND CNRI DISCLAIM ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH
-CENTRUM OR CNRI 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.
+On Debian systems the full text of the latest General Public License (GPL) can
+be found at /usr/share/common-licenses/GPL

Added: packages/pydb/trunk/debian/pydb.dirs
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/pydb.dirs?rev=1776&op=file
==============================================================================
--- packages/pydb/trunk/debian/pydb.dirs (added)
+++ packages/pydb/trunk/debian/pydb.dirs Wed Jan 31 21:02:54 2007
@@ -1,0 +1,2 @@
+usr/bin/
+usr/share/man/man1

Added: packages/pydb/trunk/debian/pydb.links
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/pydb.links?rev=1776&op=file
==============================================================================
--- packages/pydb/trunk/debian/pydb.links (added)
+++ packages/pydb/trunk/debian/pydb.links Wed Jan 31 21:02:54 2007
@@ -1,0 +1,1 @@
+usr/share/python-support/pydb/pydb/pydb.py usr/bin/pydb

Modified: packages/pydb/trunk/debian/rules
URL: http://svn.debian.org/wsvn/python-modules/packages/pydb/trunk/debian/rules?rev=1776&op=diff
==============================================================================
--- packages/pydb/trunk/debian/rules (original)
+++ packages/pydb/trunk/debian/rules Wed Jan 31 21:02:54 2007
@@ -1,32 +1,42 @@
 #!/usr/bin/make -f
 #export DH_VERBOSE=1
+DEBIAN_DIR = $(shell pwd)/debian
+PACKAGE = pydb
+PYTHON_VER = 2.4
+DEB_HOST_GNU_TYPE       ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE      ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+OPT_FLAG = -O0
+endif
+
+CFLAGS="$(OPT_FLAG)"
 
 build: build-stamp
 build-stamp:
 	dh_testdir
-
-	
-	#$(MAKE) 
-
+	dh_clean
+	./configure \
+	    --prefix=$(CURDIR)/debian/$(PACKAGE)/usr \
+	    --with-site-packages=$(CURDIR)/debian/$(PACKAGE)/usr/lib/python$(PYTHON_VER)/site-packages
+	$(MAKE)
 	touch build-stamp
 
 clean:
 	dh_testdir
 	dh_testroot
-	rm -f build-stamp install-stamp
-
+	rm -f build-stamp install-stamp config.status config.log
 	dh_clean
 
 install: install-stamp
 install-stamp: build-stamp
-	dh_testdir
 	dh_testroot
-	dh_clean -k
-	dh_installdirs /usr/bin /usr/lib/python2.3/site-packages
-
-	install pydb.py debian/pydb/usr/bin/pydb
-	install -m644 pydbcmd.py pydbsupt.py debian/pydb/usr/lib/python2.3/site-packages
-
+	dh_installdirs
+	dh_install
+	$(MAKE) install
+	rm -rf $(DEBIAN_DIR)/$(PACKAGE)/usr/man
+	rm -f $(DEBIAN_DIR)/$(PACKAGE)/usr/bin/pydb
+	sed -i 's:^.*site-packages/pdb.doc:/usr/share/python-support/pydb/pydb/pydb.doc:' Doc/pydb.1
 	touch install-stamp
 
 # Build architecture-independent files here.
@@ -36,24 +46,20 @@
 binary-arch: build install
 	dh_testdir
 	dh_testroot
-	dh_installdocs Release Notes
-	dh_installexamples
+	dh_installdocs
 	dh_installmenu
-	dh_installman debian/pydb.1
+	dh_installman Doc/pydb.1
 	dh_installchangelogs
-	dh_link
 	dh_strip
 	dh_compress
 	dh_fixperms
-	dh_python
+	dh_pysupport
+	dh_link
 	dh_installdeb
 	dh_shlibdeps
 	dh_gencontrol
 	dh_md5sums
 	dh_builddeb
 
-source diff:                                                                  
-	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
-
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary




More information about the Python-modules-commits mailing list