Remove the backends from PDEPEND. Use a message in pkg_postinst instead.
authorDuncan Coutts <dcoutts@gentoo.org>
Sat, 11 Mar 2006 20:41:25 +0000 (20:41 +0000)
committerDuncan Coutts <dcoutts@gentoo.org>
Sat, 11 Mar 2006 20:41:25 +0000 (20:41 +0000)
Package-Manager: portage-2.1_pre5-r4

dev-haskell/hdbc/ChangeLog
dev-haskell/hdbc/Manifest
dev-haskell/hdbc/hdbc-0.99.0.ebuild

index 52249036f825ae4359d12d332661e07beaf80fd1..2872dcf6391d33e65a84da06f18e05feedde07ed 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for dev-haskell/hdbc
 # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v 1.4 2006/03/09 17:39:20 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/ChangeLog,v 1.5 2006/03/11 20:41:25 dcoutts Exp $
+
+  11 Mar 2006; Duncan Coutts <dcoutts@gentoo.org> hdbc-0.99.0.ebuild:
+  Remove the backends from PDEPEND. Use a message in pkg_postinst instead.
 
   09 Mar 2006; Duncan Coutts <dcoutts@gentoo.org> hdbc-0.99.0.ebuild:
   Add ~sparc to KEYWORDS. See bug #124902
index 23ea4ac439afc1aac9449fa64fb0e62b9ed0e102..7ecb1fa2b1019d1b6b97cd191243310ca24a0d8c 100644 (file)
@@ -1,22 +1,22 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 43f56d2e2258f640e7add5c431fe278a ChangeLog 645
-RMD160 b3c290c97223f42d541c95c30292ff2c5e0d3d89 ChangeLog 645
-SHA256 d0934b9f1146c6cc75fd0546847b7f8b7dfbf441aa63d69c0797827657e606f6 ChangeLog 645
+MD5 5f444c999eb8825212b3172f9a180995 ChangeLog 791
+RMD160 7708d6a7c3986ad0e897f82e365bec5d75d9251d ChangeLog 791
+SHA256 7d35f03e811b1072408eff202044407e20075bf425b6f0d2668cfed629552e61 ChangeLog 791
 MD5 dd67cd20f94aa2d42c123be80a069984 files/digest-hdbc-0.99.0 232
 RMD160 1123896499e40d5e0d92dd2ac0951ecf39887b08 files/digest-hdbc-0.99.0 232
 SHA256 b01ce420e35798059885db40d9ffcd41bac2036ea9f0f96768b07e8f11a3cc20 files/digest-hdbc-0.99.0 232
-MD5 fb77fc1dc68d45f98d0e531264df7552 hdbc-0.99.0.ebuild 711
-RMD160 89d0a7067991113daadcb9ba78e1b1c5280f85de hdbc-0.99.0.ebuild 711
-SHA256 d3b611b796a69dd061fa8449f800ec290bb1eeae45d7ab177f0980ed35c1033c hdbc-0.99.0.ebuild 711
+MD5 b7ceeb78b9168f8cf39ec1eac055a5d6 hdbc-0.99.0.ebuild 779
+RMD160 f49ab7119b2e89997d747e7f0b3581d816f98267 hdbc-0.99.0.ebuild 779
+SHA256 f8549075464244a369ce75191f62360f6416513845fbed46efeaef33074fc54f hdbc-0.99.0.ebuild 779
 MD5 c694674dcbef799cd4fdb6914683ebff metadata.xml 223
 RMD160 7783e6057effb8b8f0b79cffe8b557b32c633839 metadata.xml 223
 SHA256 1d00c8be162a6cb87b3de440b3e63e10b39c12d56e8fbfe592e75aed872b2508 metadata.xml 223
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.2.1 (GNU/Linux)
 
-iD8DBQFEEGg9/B0cxt+cq+wRAtCHAJ403zDtvpK+S+9kwU6U7Q2Y8MgYhwCdELEu
-1Z+OXmxl2ZUK1KQ5m39rSC0=
-=P+1y
+iD8DBQFEEzX//B0cxt+cq+wRAn07AKCcJJ3+pCCk0fRzpTxTfpprkfP4GACeKQdK
+DehK0j6Pw8Zkwr0WvJzW0ww=
+=4x1r
 -----END PGP SIGNATURE-----
index 9640efdf7018b02bcebca72d91fe03110b304627..dd9cdb29551525d4691c74df12213b6d304b1139 100644 (file)
@@ -1,22 +1,29 @@
 # Copyright 1999-2006 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/hdbc-0.99.0.ebuild,v 1.4 2006/03/09 17:39:20 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hdbc/hdbc-0.99.0.ebuild,v 1.5 2006/03/11 20:41:25 dcoutts Exp $
 
 CABAL_FEATURES="lib haddock"
-inherit haskell-cabal
+inherit ghc-package haskell-cabal
 
 DESCRIPTION="Haskell Database Connectivity"
 HOMEPAGE="http://quux.org/devel/hdbc/"
 SRC_URI="http://quux.org/devel/hdbc/${PN}_${PV}.tar.gz"
+
 LICENSE="LGPL-2.1"
 SLOT="0"
-
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~sparc"
-IUSE="postgres sqlite odbc"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
 
 DEPEND=">=virtual/ghc-6.4.1"
-PDEPEND="postgres? ( =dev-haskell/hdbc-postgresql-${PV}* )
-                sqlite? ( =dev-haskell/hdbc-sqlite-${PV}* )
-                odbc? ( =dev-haskell/hdbc-odbc-${PV}* )"
 
 S="${WORKDIR}/${PN}"
+
+pkg_postinst () {
+       ghc-package_pkg_postinst
+
+       einfo "You will probably want to emerge one or more HDBC backend."
+       einfo "These backends are available:"
+       einfo "         hdbc-postgresql"
+       einfo "         hdbc-sqlite"
+       einfo "         hdbc-odbc"
+}