[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#181422: marked as done (gadfly should produce python2.1 and python2.2 packages)



Your message dated Sun, 13 Apr 2003 10:40:05 -0400
with message-id <E194ieL-0002WK-00@auric.debian.org>
and subject line Bug#181422: fixed in gadfly 1.0.0-3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Feb 2003 21:14:20 +0000
>From bob@decoy.wox.org Mon Feb 17 15:14:19 2003
Return-path: <bob@decoy.wox.org>
Received: from 206.180.155.20.adsl.hal-pc.org (decoy.wox.org) [206.180.155.20] (foobar)
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 18ksaf-0006TY-00; Mon, 17 Feb 2003 15:14:17 -0600
Received: (qmail 30739 invoked from network); 17 Feb 2003 21:14:17 -0000
Received: from unknown (HELO homer.opus.geek) (192.168.1.1)
  by 0 with SMTP; 17 Feb 2003 21:14:17 -0000
Received: (nullmailer pid 11811 invoked by uid 1000);
	Mon, 17 Feb 2003 21:14:17 -0000
Date: Mon, 17 Feb 2003 15:14:17 -0600
From: Graham Wilson <bob@decoy.wox.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gadfly should produce python2.1 and python2.2 packages
Message-ID: <20030217211417.GB11748@homer.opus.geek>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 2.10
X-gpg-fingerprint: a0a7 ae54 665d 6446 f2d9  81ff 8b94 031d 7f75 635f
X-gpg-key: http://decoy.wox.org/~bob/public.asc
User-Agent: Mutt/1.5.3i
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-2.8 required=4.0
	tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF,SPAM_PHRASE_00_01,
	      USER_AGENT,USER_AGENT_MUTT
	version=2.44
X-Spam-Level: 

Package: gadfly
Version: 1.0.0-3
Severity: wishlist
Tags: patch

below is a patch that changes the way that gadfly is packaged. here are
the changes that this patch makes:

  * Trying to shorten the descriptions.
  * Split up the packages differently.
    - Binaries are in gadfly pacakge.
    - Python modules are in pythonX.X-gadfly.
  * Removing Conflicts:/Replaces: with python-kwparsing, as it hasn't
    existed since hamm or so.
  * Fix wierd kjbuckets version scheme.

this patch primarily tries to create a python2.1-gadfly and a
python2.2-gadfly. i have tested it and verified that it works.

diff -urN gadfly.orig/debian/control gadfly/debian/control
--- gadfly.orig/debian/control	2003-02-04 20:59:25.000000000 -0600
+++ gadfly/debian/control	2003-02-15 20:54:48.000000000 -0600
@@ -7,28 +7,82 @@
 
 Package: gadfly
 Architecture: all
+Depends: python-gadfly
+Description: Server and interactive shell for Gadfly SQL database
+ Gadfly is a relational database management system which uses a large
+ subset of very standard SQL as its query language. The underlying
+ engine consists of Python modules. Gadfly stores the active database
+ in memory, with logging to a file system for recovery from system or
+ software failures (but not for disk failures).
+ .
+ This package contains an interactive shell and a server for use with
+ the Gadfly SQL database.
+
+Package: python-gadfly
+Architecture: all
+Depends: python2.2-gadfly
+Recommends: python-kjbuckets
+Description: SQL database and parser generator for Python [dummy package]
+ Gadfly is a relational database management system which uses a large
+ subset of very standard SQL as its query language. The underlying
+ engine consists of Python modules. Gadfly stores the active database
+ in memory, with logging to a file system for recovery from system or
+ software failures (but not for disk failures).
+ .
+ kwParser, included as part of the Gadfly package, is a parser
+ generator for Python. It transforms an abstract specification of a
+ language grammar (for example, the CORBA Interface Definition
+ Language), together with "interpretation functions" that define the
+ semantics of the language, into a compiler or translator or
+ interpreter.
+ .
+ This Debian package is an empty dummy package that always depends on
+ a package built for Debian's default Python version.
+
+Package: python2.1-gadfly
+Architecture: all
+Depends: ${python:Depends}
+Recommends: python2.1-kjbuckets
+Description: SQL database and parser generator for Python 2.1
+ Gadfly is a relational database management system which uses a large
+ subset of very standard SQL as its query language. The underlying
+ engine consists of Python modules. Gadfly stores the active database
+ in memory, with logging to a file system for recovery from system or
+ software failures (but not for disk failures).
+ .
+ kwParser, included as part of the Gadfly package, is a parser
+ generator for Python. It transforms an abstract specification of a
+ language grammar (for example, the CORBA Interface Definition
+ Language), together with "interpretation functions" that define the
+ semantics of the language, into a compiler or translator or
+ interpreter.
+ .
+ This Debian package is built for Python 2.1.
+
+Package: python2.2-gadfly
+Architecture: all
 Depends: ${python:Depends}
 Recommends: python2.2-kjbuckets
-Replaces: python-kwparsing
-Conflicts: python-kwparsing
-Description: SQL database and parser generator in Python
- Gadfly is a relational database management system which uses a
- large subset of very standard SQL as its query language and Python
- modules and optional Python/C extension modules as its underlying
- engine.  Gadfly stores the active database in memory, with recovery
- logging to a file system. It supports an optional TCP/IP based
- client server mode and log based failure recovery for system or
+Replaces: gadfly (<< 1.0.0-3)
+Description: SQL database and parser generator for Python 2.2
+ Gadfly is a relational database management system which uses a large
+ subset of very standard SQL as its query language. The underlying
+ engine consists of Python modules. Gadfly stores the active database
+ in memory, with logging to a file system for recovery from system or
  software failures (but not for disk failures).
  .
  kwParser, included as part of the Gadfly package, is a parser
- generator for Python.  It transforms an abstract specification of a
- language grammar (for example the CORBA Interface Definition Language)
- together with "interpretation functions" that define the semantics of
- the language into a compiler or translator or interpreter.
+ generator for Python. It transforms an abstract specification of a
+ language grammar (for example, the CORBA Interface Definition
+ Language), together with "interpretation functions" that define the
+ semantics of the language, into a compiler or translator or
+ interpreter.
+ .
+ This Debian package is built for Python 2.2.
 
 Package: python-kjbuckets
 Architecture: all
-Depends: ${python:Depends}
+Depends: python2.2-kjbuckets
 Description: Set and graph data types for Python [dummy package]
  kjbuckets is a C extension to the Python interpreter which
  defines set and graph data types, as well as an alternative
diff -urN gadfly.orig/debian/doc-base gadfly/debian/doc-base
--- gadfly.orig/debian/doc-base	2003-02-04 20:59:25.000000000 -0600
+++ gadfly/debian/doc-base	1969-12-31 18:00:00.000000000 -0600
@@ -1,12 +0,0 @@
-Document: gadfly
-Title: Gadfly - SQL Database in Python
-Author: Aaron Watters
-Abstract: Gadfly is a SQL database implemented entirely in
- Python, including a DB-API compatible interface, network
- client and server, etc.  It stores its data in memory,
- which makes it unsuitable for large data sets, but quite
- fast on smaller ones.
-Section: Apps/Databases
-
-Format: text
-Files: /usr/share/doc/gadfly/*.txt
diff -urN gadfly.orig/debian/gadfly.dirs gadfly/debian/gadfly.dirs
--- gadfly.orig/debian/gadfly.dirs	1969-12-31 18:00:00.000000000 -0600
+++ gadfly/debian/gadfly.dirs	2003-02-05 18:09:31.000000000 -0600
@@ -0,0 +1 @@
+usr/bin
diff -urN gadfly.orig/debian/python2.1-gadfly.dirs gadfly/debian/python2.1-gadfly.dirs
--- gadfly.orig/debian/python2.1-gadfly.dirs	1969-12-31 18:00:00.000000000 -0600
+++ gadfly/debian/python2.1-gadfly.dirs	2003-02-05 18:10:07.000000000 -0600
@@ -0,0 +1 @@
+usr/lib/python2.1/site-packages/gadfly
diff -urN gadfly.orig/debian/python2.1-gadfly.doc-base gadfly/debian/python2.1-gadfly.doc-base
--- gadfly.orig/debian/python2.1-gadfly.doc-base	1969-12-31 18:00:00.000000000 -0600
+++ gadfly/debian/python2.1-gadfly.doc-base	2003-02-06 13:25:28.000000000 -0600
@@ -0,0 +1,12 @@
+Document: python2.1-gadfly
+Title: Gadfly - SQL Database in Python
+Author: Aaron Watters
+Abstract: Gadfly is a SQL database implemented entirely in
+ Python, including a DB-API compatible interface, network
+ client and server, etc.  It stores its data in memory,
+ which makes it unsuitable for large data sets, but quite
+ fast on smaller ones.
+Section: Apps/Databases
+
+Format: text
+Files: /usr/share/doc/python2.1-gadfly/*.txt
diff -urN gadfly.orig/debian/python2.2-gadfly.dirs gadfly/debian/python2.2-gadfly.dirs
--- gadfly.orig/debian/python2.2-gadfly.dirs	1969-12-31 18:00:00.000000000 -0600
+++ gadfly/debian/python2.2-gadfly.dirs	2003-02-05 18:10:31.000000000 -0600
@@ -0,0 +1 @@
+usr/lib/python2.2/site-packages/gadfly
diff -urN gadfly.orig/debian/python2.2-gadfly.doc-base gadfly/debian/python2.2-gadfly.doc-base
--- gadfly.orig/debian/python2.2-gadfly.doc-base	1969-12-31 18:00:00.000000000 -0600
+++ gadfly/debian/python2.2-gadfly.doc-base	2003-02-06 13:25:26.000000000 -0600
@@ -0,0 +1,12 @@
+Document: python2.2-gadfly
+Title: Gadfly - SQL Database in Python
+Author: Aaron Watters
+Abstract: Gadfly is a SQL database implemented entirely in
+ Python, including a DB-API compatible interface, network
+ client and server, etc.  It stores its data in memory,
+ which makes it unsuitable for large data sets, but quite
+ fast on smaller ones.
+Section: Apps/Databases
+
+Format: text
+Files: /usr/share/doc/python2.2-gadfly/*.txt
diff -urN gadfly.orig/debian/rules gadfly/debian/rules
--- gadfly.orig/debian/rules	2003-02-04 20:59:25.000000000 -0600
+++ gadfly/debian/rules	2003-02-15 20:59:57.000000000 -0600
@@ -3,14 +3,19 @@
 PYTHON2.1=/usr/bin/python2.1
 PYTHON2.2=/usr/bin/python2.2
 
-kjb_version=2.2+gadfly$${Source-Version}
+# change this when default Python version increases
+PYTHON=$(PYTHON2.2)
+PYNAME=python2.2
+
+kjb_version=1:$${Source-Version}
 
 build:
 
 build-indep: build-indep-stamp
 build-indep-stamp:
 	dh_testdir
-	$(PYTHON2.2) setup.py build
+	$(PYTHON2.1) setup.py build \
+	&& $(PYTHON2.2) setup.py build
 	> $@
 
 build-arch: build-arch-stamp
@@ -24,44 +29,72 @@
 	dh_testdir
 	dh_testroot
 	rm -f build-indep-stamp build-arch-stamp
-	$(PYTHON2.2) setup.py clean --all
+	$(PYTHON2.1) setup.py clean --all \
+	&& $(PYTHON2.2) setup.py clean --all
 	cd kjbuckets && $(PYTHON2.1) setup.py clean --all \
 		     && $(PYTHON2.2) setup.py clean --all
 	dh_clean
 
 binary: binary-indep binary-arch
 
+# python-gadfly & gadfly & python-kjbuckets (default)
 binary-indep: build-indep
 	dh_testdir -i
 	dh_testroot -i
 	dh_clean -i -k
 	dh_installdirs -i
-	$(PYTHON2.2) setup.py install --root debian/gadfly --no-compile
-	dh_link -ppython-kjbuckets usr/share/doc/python2.2-kjbuckets \
-				   usr/share/doc/python-kjbuckets
-	dh_installchangelogs -i CHANGES.txt
+
+	# python2.1-gadfly
+	$(PYTHON2.1) setup.py install_lib --install-dir \
+		debian/python2.1-gadfly/usr/lib/python2.1/site-packages \
+		--no-compile
+	dh_installdocs -ppython2.1-gadfly -Xinstallation -Xkjbuckets \
+		-Xstructure -Xgfplus TODO.txt doc/*.txt
+	dh_installexamples -ppython2.1-gadfly doc/demo/kjParsing/*
+	dh_gencontrol -ppython2.1-gadfly
+
+	# python2.2-gadfly
+	$(PYTHON2.2) setup.py install_lib --install-dir \
+		debian/python2.2-gadfly/usr/lib/python2.2/site-packages \
+		--no-compile
+	dh_installdocs -ppython2.2-gadfly -Xinstallation -Xkjbuckets \
+		-Xstructure -Xgfplus TODO.txt doc/*.txt
+	dh_installexamples -ppython2.2-gadfly doc/demo/kjParsing/*
+	dh_gencontrol -ppython2.2-gadfly
+
+	# gadfly
+	$(PYTHON) setup.py install_scripts --install-dir debian/gadfly/usr/bin
 	dh_installdocs -pgadfly -Xinstallation -Xkjbuckets -Xstructure \
-				TODO.txt doc/*.txt
-	dh_installexamples -pgadfly doc/demo/kjParsing/*
+		-Xgadfly -XkwParsing TODO.txt doc/*.txt
+	dh_gencontrol -pgadfly
+
+	# python-kjbuckets (default)
+	dh_link -ppython-kjbuckets usr/share/doc/$(PYNAME)-kjbuckets \
+		usr/share/doc/python-kjbuckets
+	dh_gencontrol -ppython-kjbuckets -- -v'$(kjb_version)'
+
+	# python-gadfly
+	dh_gencontrol -ppython-gadfly
+
+	dh_installchangelogs -i CHANGES.txt
 	dh_compress -i -X.py
 	perl debian/dh_fixpythonscripts -i
 	dh_fixperms -i
 	dh_python -i
 	dh_installdeb -i
-	dh_gencontrol -pgadfly
-	dh_gencontrol -ppython-kjbuckets -- -v'$(kjb_version)'
 	dh_md5sums -i
 	dh_builddeb -i
 
+# python-kjbuckets (version-specific)
 binary-arch: build-arch
 	dh_testdir -a
 	dh_testroot -a
 	dh_clean -a -k
 	dh_installdirs -a
 	cd kjbuckets && $(PYTHON2.1) setup.py install \
-				--root $(CURDIR)/debian/python2.1-kjbuckets \
-		     && $(PYTHON2.2) setup.py install \
-				--root $(CURDIR)/debian/python2.2-kjbuckets
+		--root $(CURDIR)/debian/python2.1-kjbuckets \
+		&& $(PYTHON2.2) setup.py install \
+		--root $(CURDIR)/debian/python2.2-kjbuckets
 	dh_installchangelogs -a CHANGES.txt
 	dh_installdocs -a -A doc/kjbuckets.txt
 	dh_installexamples -a -A doc/demo/kjbuckets/*

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux homer 2.4.20 #1 Wed Jan 8 06:07:58 CST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gadfly depends on:
ii  python-gadfly                 1.0.0-3    SQL database and parser generator 

-- no debconf information


---------------------------------------
Received: (at 181422-close) by bugs.debian.org; 13 Apr 2003 14:53:54 +0000
>From troup@auric.debian.org Sun Apr 13 09:53:54 2003
Return-path: <troup@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 194iri-0001G7-00; Sun, 13 Apr 2003 09:53:54 -0500
Received: from troup by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 194ieL-0002WK-00; Sun, 13 Apr 2003 10:40:05 -0400
From: Matthias Klose <doko@debian.org>
To: 181422-close@bugs.debian.org
X-Katie: lisa $Revision: 1.23 $
Subject: Bug#181422: fixed in gadfly 1.0.0-3
Message-Id: <E194ieL-0002WK-00@auric.debian.org>
Sender: James Troup <troup@auric.debian.org>
Date: Sun, 13 Apr 2003 10:40:05 -0400
Delivered-To: 181422-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
gadfly, which is due to be installed in the Debian FTP archive:

gadfly_1.0.0-3.diff.gz
  to pool/main/g/gadfly/gadfly_1.0.0-3.diff.gz
gadfly_1.0.0-3.dsc
  to pool/main/g/gadfly/gadfly_1.0.0-3.dsc
gadfly_1.0.0-3_all.deb
  to pool/main/g/gadfly/gadfly_1.0.0-3_all.deb
python-gadfly_1.0.0-3_all.deb
  to pool/main/g/gadfly/python-gadfly_1.0.0-3_all.deb
python-kjbuckets_1.0.0-3_all.deb
  to pool/main/g/gadfly/python-kjbuckets_1.0.0-3_all.deb
python2.1-gadfly_1.0.0-3_all.deb
  to pool/main/g/gadfly/python2.1-gadfly_1.0.0-3_all.deb
python2.1-kjbuckets_1.0.0-3_i386.deb
  to pool/main/g/gadfly/python2.1-kjbuckets_1.0.0-3_i386.deb
python2.2-gadfly_1.0.0-3_all.deb
  to pool/main/g/gadfly/python2.2-gadfly_1.0.0-3_all.deb
python2.2-kjbuckets_1.0.0-3_i386.deb
  to pool/main/g/gadfly/python2.2-kjbuckets_1.0.0-3_i386.deb
python2.3-gadfly_1.0.0-3_all.deb
  to pool/main/g/gadfly/python2.3-gadfly_1.0.0-3_all.deb
python2.3-kjbuckets_1.0.0-3_i386.deb
  to pool/main/g/gadfly/python2.3-kjbuckets_1.0.0-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 181422@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gadfly package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----

Format: 1.7
Date: Sun, 13 Apr 2003 08:39:58 +0200
Source: gadfly
Binary: python-gadfly gadfly python2.2-kjbuckets python2.1-gadfly python2.3-kjbuckets python2.2-gadfly python2.3-gadfly python-kjbuckets python2.1-kjbuckets
Architecture: source i386 all
Version: 1.0.0-3
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <doko@debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 gadfly     - Server and interactive shell for Gadfly SQL database
 python-gadfly - SQL database and parser generator for Python [dummy package]
 python-kjbuckets - Set and graph data types for Python [dummy package]
 python2.1-gadfly - SQL database and parser generator for Python 2.1
 python2.1-kjbuckets - Set and graph data types for Python 2.1
 python2.2-gadfly - SQL database and parser generator for Python 2.2
 python2.2-kjbuckets - Set and graph data types for Python 2.2
 python2.3-gadfly - SQL database and parser generator for Python 2.3
 python2.3-kjbuckets - Set and graph data types for Python 2.3
Closes: 113080 181422
Changes: 
 gadfly (1.0.0-3) unstable; urgency=low
 .
   * New Maintainer (closes: #113080).
   * Apply patch to build versioned python packages (Graham Wilson).
     Closes: #181422.
Files: 
 ef78d21117bdaa1cc1949536e5743fa6 1096 python optional gadfly_1.0.0-3.dsc
 8dc11575e4d8042058f6ad11b32a8641 309201 python optional gadfly_1.0.0.orig.tar.gz
 de3e3a4c628e493778116baa68c71028 4915 python optional gadfly_1.0.0-3.diff.gz
 938c5ca1841c58de2abca02babcda8e9 173490 python optional python2.1-gadfly_1.0.0-3_all.deb
 f087afe3bf3aef305af85cf2549311ba 173506 python optional python2.2-gadfly_1.0.0-3_all.deb
 9664d98fd7dd2482bafbaf386ca43a6a 173506 python optional python2.3-gadfly_1.0.0-3_all.deb
 8741f5bbfcac66cd005d052c7dc4c641 26238 python optional gadfly_1.0.0-3_all.deb
 7b493cd21ce50f589a36f480304aa9ae 1116 python optional python-kjbuckets_1.0.0-3_all.deb
 d1f9154c4830591f9f14530bf4fb3a07 4256 python optional python-gadfly_1.0.0-3_all.deb
 c024e7aed9b416b056b9e779131f4f5e 38762 python optional python2.1-kjbuckets_1.0.0-3_i386.deb
 0b4121f5bd0f07b396dd9bbb5e05cfe1 40264 python optional python2.2-kjbuckets_1.0.0-3_i386.deb
 e2694b48d4b9e84bb02d03b4021fd65d 40200 python optional python2.3-kjbuckets_1.0.0-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Requires PGP version 2.6 or later.

iQEVAwUBPpkSDwuDzMCIcnEhAQHxagf9G7nZgNk9YmCEuTLE7FHHjJ4o8ctZxe/L
EcXzM4lkI5nCktfw+Y7kkQKdpEaLYhPCv+1o8df5o5FWz65nT+WfxerE6V/s5P//
U1Kyy4EOn2hv6F78S1X3AudVg1vBqi+416ZG6E+Xc9AWNvYJZXOpoOvAN9LNd6mr
XNLOqRI8b0Z9hmNkzyQIvJJR6vzBUr9zdP6hsVg/tYdvhF2IMx6GsJPLRCWla3tL
DFmJZ+vLxrIkLlgr35CcGTZLYgo7yT8xsmrSQ+Mx+6TAfPl5WOifDDN1/mMUVw2Q
RTPy89WOQLgZ9fpDYehS1eYExfm/5UhZhcZuFs170f17ZajcB7NofQ==
=xobD
-----END PGP SIGNATURE-----



Reply to: