debian/0000755000000000000000000000000012151223257007166 5ustar debian/watch0000644000000000000000000000032412071567517010231 0ustar version=3 opts="downloadurlmangle=s|archive/([\w\d_-]+)/([\d\.]+)/|archive/$1/$2/$1-$2.tar.gz|,\ filenamemangle=s|(.*)/$|HDBC-$1.tar.gz|" \ http://hackage.haskell.org/packages/archive/HDBC \ ([\d\.]*\d)/ debian/rules0000755000000000000000000000023412071567461010256 0ustar #!/usr/bin/make -f # Standard way of building Haskell libraries . include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/hlibrary.mk debian/copyright0000644000000000000000000000210612071577117011130 0ustar This is hdbc, written and maintained by John Goerzen The original source can always be found at: http://software.complete.org/hdbc Copyright (C) 2005-2009 John Goerzen This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. debian/source/0000755000000000000000000000000012071567461010477 5ustar debian/source/format0000644000000000000000000000001412071567461011705 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212147616376010401 0ustar 9 debian/control0000644000000000000000000000666012147621377010613 0ustar Source: hdbc Priority: extra Maintainer: Debian Haskell Group Uploaders: John Goerzen Build-Depends: cdbs, debhelper (>= 9), ghc (>= 6.12), haskell-devscripts (>= 0.8.13), cpphs, libghc-mtl-dev, libghc-mtl-prof, libghc-text-dev, libghc-text-prof, libghc-convertible-dev (>> 1.0.10.0), libghc-convertible-prof, libghc-utf8-string-dev, libghc-utf8-string-prof, ghc-doc, haddock, hscolour, libghc-mtl-doc, libghc-text-doc, libghc-convertible-doc Standards-Version: 3.9.4 Section: haskell Homepage: http://software.complete.org/hdbc Vcs-Darcs: http://darcs.debian.org/pkg-haskell/hdbc Vcs-Browser: http://darcs.debian.org/cgi-bin/darcsweb.cgi?r=pkg-haskell/hdbc Package: libghc-hdbc-dev Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${haskell:Depends} Suggests: libghc-hdbc-postgresql-dev | libghc-hdbc-sqlite3-dev, libghc-hdbc-missingh-dev, ${haskell:Suggests} Recommends: ${haskell:Recommends} Provides: ${haskell:Provides} Description: Haskell Database Connectivity, GHC package HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) . HDBC is modeled loosely on Perl's DBI interface, though it has also been influenced by Python's DB-API v2, JDBC in Java, and HSQL in Haskell. . To use HDBC, you'll need both this package, and a driver package such as libghc-hdbc-postgresql-dev. Package: libghc-hdbc-prof Architecture: any Depends: ${haskell:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Provides: ${haskell:Provides} Description: Haskell Database Connectivity, GHC profiling data HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This package provides profiling information for using HDBC with GHC. #Package: libhugs-hdbc #Section: libs #Architecture: all #Depends: ${haskell:Depends}, libhugs-convertible (>= 1.0.1-2), libhugs-time-bundled #Description: Haskell Database Connectivity, Hugs package # HDBC provides an abstraction layer between Haskell programs and SQL # relational databases. This lets you write database code once, in # Haskell, and have it work with any number of backend SQL databases # (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) # . # HDBC is modeled loosely on Perl's DBI interface, though it has also been # influenced by Python's DB-API v2, JDBC in Java, and HSQL in Haskell. # . # To use HDBC, you'll need both this package, and a driver package such # as libhugs-hdbc-postgresql. Package: libghc-hdbc-doc Replaces: haskell-hdbc-doc (<< 2.2.3-2) Conflicts: haskell-hdbc-doc (<< 2.2.3-2) Provides: haskell-hdbc-doc, ${haskell:Provides} Section: doc Architecture: all Depends: ${haskell:Depends}, ${misc:Depends} Recommends: ${haskell:Recommends} Suggests: ${haskell:Suggests} Description: Haskell Database Connectivity, Documentation HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.) . HDBC is modeled loosely on Perl's DBI interface, though it has also been influenced by Python's DB-API v2, JDBC in Java, and HSQL in Haskell. debian/gbp.conf0000644000000000000000000000003612071567461010615 0ustar [DEFAULT] pristine-tar = True debian/changelog0000644000000000000000000002061212151223257011041 0ustar hdbc (2.3.1.2-3build1) saucy; urgency=low * Rebuild for new GHC ABIs. -- Colin Watson Tue, 28 May 2013 22:50:39 +0100 hdbc (2.3.1.2-3) unstable; urgency=low * Enable compat level 9 * Bump standards version to 3.9.4 -- Joachim Breitner Fri, 24 May 2013 12:52:42 +0200 hdbc (2.3.1.2-2) experimental; urgency=low * Build-depend on libghc-convertible-doc rather than the transitional haskell-convertible-doc. -- Colin Watson Wed, 10 Apr 2013 11:00:26 +0100 hdbc (2.3.1.2-1) experimental; urgency=low * Depend on haskell-devscripts 0.8.13 to ensure this package is built against experimental * Add watch file * Change Vcs headers to Darcs * New upstream release -- Joachim Breitner Fri, 04 Jan 2013 17:08:12 +0100 hdbc (2.3.1.1-1) unstable; urgency=low * New upstream version. - Drop 0001-Support-for-time-1.2.0.3.patch -- Clint Adams Sun, 12 Feb 2012 17:50:49 -0500 hdbc (2.2.6-4) unstable; urgency=low * [f900939] Add missing haskell-devscripts substvars (particularly haskell:Provides) * [d5c564b] Remove duplicate BD on haddock -- Iain Lane Mon, 30 May 2011 15:44:22 +0100 hdbc (2.2.6-3) unstable; urgency=low * [1646918] s/ghc6/ghc/ for GHC 7 transition * [03f9825] Standards-Version → 3.9.2, no changes required * [5ebe695] Cherry-pick upstream patch to support time 1.2.0.3 available in GHC 7 * [ba9f2f7] Add missing utf8-string BDs -- Iain Lane Sat, 28 May 2011 11:03:23 +0100 hdbc (2.2.6-2) unstable; urgency=low * control: Use versioned Replaces: and Conflicts: -- Marco Túlio Gontijo e Silva Wed, 05 May 2010 23:13:58 -0300 hdbc (2.2.6-1) unstable; urgency=low * New upstream release. -- John Goerzen Fri, 23 Apr 2010 21:42:09 -0500 hdbc (2.2.3-2) unstable; urgency=low * debian/control: Rename -doc package. -- Marco Túlio Gontijo e Silva Wed, 17 Mar 2010 19:53:21 -0300 hdbc (2.2.3-1) unstable; urgency=low * New upstream release. * Rebuild for GHC 6.12. * Drop dep on utf8-string as it's part of GHC 6.12. -- John Goerzen Wed, 17 Feb 2010 14:28:22 -0600 hdbc (2.2.0-2) unstable; urgency=low * Convert to using hlibrary.mk (Closes: #556815) -- Joachim Breitner Sat, 05 Dec 2009 18:22:51 +0100 hdbc (2.2.0-1) unstable; urgency=low * New upstream release. * Switch to team maintenance. -- John Goerzen Mon, 02 Nov 2009 16:39:33 -0600 hdbc (2.1.0-3) unstable; urgency=low * Rebuild for newer utf8-string and Makefile fix. -- John Goerzen Thu, 02 Jul 2009 14:57:45 -0500 hdbc (2.1.0-2) unstable; urgency=low * Rebuild for GHC 6.10 -- John Goerzen Fri, 06 Mar 2009 08:06:57 -0600 hdbc (2.1.0-1) unstable; urgency=low * Adjust default String conversions of date/time types to support fractional parts of seconds. -- John Goerzen Wed, 04 Feb 2009 10:50:47 -0600 hdbc (2.0.0-1) unstable; urgency=low * New release: + Native support for the new exception handling in GHC 6.10, wich CPP conditional compilation to continue supporting the old-style exceptions in GHC 6.8 and Hugs. + Now supports converting Data.Time.* types to/from SqlValue. + Major expansion of SqlValue to be able to carry date/time data to/from databases in terms of Data.Time.* types. + Rework how SqlType typeclass works. Replace fromSql with safeFromSql that returns Left on impossible conversions instead raising an exception. Wrote new fromSql that provides old behavior by raising the error from safeFromSql in the old manner. Greatly enhanced many error messages throughout SqlType instances. + Moved SqlType and SqlValue code from Database.HDBC.Satement to Database.HDBC.SqlValue. Database.HDBC.Statement continues to re-export them for compatibility, but this is deprecated. Database.HDBC and Database.HDBC.Types both continue to re-export them, and this is not deprecated. + Old System.Time APIs are retained for now, but marked deprecated. The above API changes are designed to be non-invasive in most cases, but may require code change in some extremely rare corner cases. + Fixes for Haddock formatting. + Expansion of Haddock docs. * Noting addition of profiling libraries. Closes: #473520, #509848. * No longer a Debian-native package due to problems with dh_haskell_depends. * Adding doc package. -- John Goerzen Fri, 30 Jan 2009 14:22:38 -0600 hdbc (1.1.6.2) unstable; urgency=high * Rebuild for new GHC. -- John Goerzen Mon, 19 Jan 2009 16:07:43 -0600 hdbc (1.1.6.1) unstable; urgency=low * Added dh_haskell_depends. -- John Goerzen Tue, 30 Dec 2008 08:58:48 -0600 hdbc (1.1.6.0) unstable; urgency=low * Applied GHC 6.10 compatibility patch from Brian Bloniarz * Accept '0' and '1' as Bools -- John Goerzen Tue, 30 Dec 2008 08:49:28 -0600 hdbc (1.1.5.0) unstable; urgency=low * Added missing ConnWrapper(..) to exports. -- John Goerzen Tue, 27 May 2008 14:14:27 -0500 hdbc (1.1.4.0) unstable; urgency=low * Updates for GHC 6.8.x. -- John Goerzen Fri, 11 Jan 2008 05:07:31 -0600 hdbc (1.1.3.0) unstable; urgency=low * New release of HDBC. * [API] Added strict versions of fetchAll* and related functions. Specific new functions are: quickQuery', fetchAllRows', fetchAllRowsAL', fetchAllRowsMAP', sFetchAllRows'. This does not impact database drivers. No user impact. * [API] Changed spec to make the following functions strict in their result: describeResult, getTables, describeTable. No code change in HDBC. Potential code change in backends. No anticipated user impact. * Add SqlByteString constructor to SqlValue. Patch from Toby Allsopp. -- John Goerzen Wed, 31 Oct 2007 04:26:39 -0500 hdbc (1.1.2.2) unstable; urgency=low * Build doc all the time. Closes: #427977. -- John Goerzen Fri, 15 Jun 2007 05:24:17 -0500 hdbc (1.1.2.1) unstable; urgency=low * Update for newer GHC 6.6.1. Closes: #422290, #426127. -- John Goerzen Wed, 06 Jun 2007 06:58:02 -0500 hdbc (1.1.2.0) unstable; urgency=low * Fix export of wrapped connections. -- John Goerzen Thu, 03 May 2007 04:28:20 -0500 hdbc (1.1.1.0) unstable; urgency=low * New connection wrapping features. -- John Goerzen Thu, 03 May 2007 04:10:54 -0500 hdbc (1.1.0.0) unstable; urgency=low * New API thanks to Peter Thiemann. * Fixed fromSql thanks to patch from Marco Tulio Gontijo e Silva. Closes: #399858. -- John Goerzen Wed, 02 May 2007 05:21:38 -0500 hdbc (1.0.1.2) unstable; urgency=low * Updated for GHC 6.6. Closes: #393805. -- John Goerzen Thu, 19 Oct 2006 05:12:31 -0500 hdbc (1.0.1.1) unstable; urgency=low * Rebuild with non-broken tar. -- John Goerzen Sat, 22 Jul 2006 07:19:54 -0500 hdbc (1.0.1) unstable; urgency=low * Now accept T and F for True and False from the underlying database layer -- compatibility with PostgreSQL -- John Goerzen Sat, 22 Jul 2006 07:11:08 -0500 hdbc (1.0.0) unstable; urgency=low * Blessing this version as 1.0.0. Whee! -- John Goerzen Thu, 29 Jun 2006 18:23:03 -0500 hdbc (0.99.3) unstable; urgency=low * [bringert] Better error messages when fromSql encounters data it doesn't understand * Rebuilt for GHC 6.4.2 -- John Goerzen Wed, 28 Jun 2006 15:00:09 -0500 hdbc (0.99.2) unstable; urgency=low * New call dbTransactionSupport -- John Goerzen Tue, 28 Mar 2006 04:57:00 -0600 hdbc (0.99.1) unstable; urgency=low * Release 0.99.1. New features include generalized memory management support and column metadata. -- John Goerzen Mon, 27 Mar 2006 18:54:24 -0600 hdbc (0.99.0) unstable; urgency=low * Initial Release. Closes: #344913. -- John Goerzen Tue, 27 Dec 2005 10:22:53 -0600