Permalink
Browse files

Bump haskelldb-hdbc to 2.2.2

  • Loading branch information...
markwright committed Oct 28, 2012
1 parent 63d6bfa commit 51df97626e10757903a76b0a587705825d82994f
@@ -1 +1 @@
-DIST haskelldb-hdbc-2.2.1.tar.gz 3756 SHA256 4ff99540316247cab088f407b93654c3559d29ba8b1731d488d568edb243f34a SHA512 e89cd5ca1bea0c561c889adeee42c9fa335d8732a690e719a978160029b5b7ea7cbd4dcec02454ee1bd66b5aae11bd6af38f989ff501d3be3c7edb383d987cf7 WHIRLPOOL 40ccab98fa16d37b76b12ebfc02ec03b43e6ed7753269c4946c572f27b10f97a036acb9a333954d910fe93b44cb244cc02333f0547c25ef0bf7c6e3124122251
+DIST haskelldb-hdbc-2.2.2.tar.gz 3752 SHA256 6eb42d86c1c39fc05722115a788b2c9d07c88c5decf859ea2287866994ff7f1b SHA512 140c77791f208afcbfc289344eb2c0b86acc8c08bb6af73ab195b61f02ce1514cad0fe80cc2a492077cd346a667ef5e1647fd8d5b45e01b58ea63f875ddbe1c9 WHIRLPOOL ecfe1b01e64a7a2d8a4b6ae178452033744c3158353fdf6b3e875ce9e172108f9959cfed4c1816dfd985e9d2d63dfd13dfe100e4cc2a5f537b05f5541fb4294c
@@ -1,38 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=4
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="HaskellDB support for HDBC."
-HOMEPAGE="http://trac.haskell.org/haskelldb"
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="mysql odbc postgres sqlite3"
-
-RDEPEND=">=dev-haskell/convertible-1.0.1[profile?]
- <dev-haskell/convertible-2[profile?]
- =dev-haskell/haskelldb-2*[profile?]
- =dev-haskell/hdbc-2*[profile?]
- >=dev-haskell/mtl-1[profile?]
- <dev-haskell/mtl-2.2[profile?]
- >=dev-lang/ghc-6.10.1"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.6"
-PDEPEND="mysql? ( dev-haskell/haskelldb-hdbc-mysql[profile?] )
- odbc? ( =dev-haskell/haskelldb-hdbc-odbc-2*[profile?] )
- postgres? ( =dev-haskell/haskelldb-hdbc-postgresql-2*[profile?] )
- sqlite3? ( =dev-haskell/haskelldb-hdbc-sqlite3-2*[profile?] )"
-
-src_prepare () {
- sed -e 's@mtl >= 1 && < 2.1@mtl >= 1 \&\& < 2.2@' \
- -i "${S}/${PN}.cabal" || die "Could not loosen dependencies"
- sed -e 's@module Database.HaskellDB.HDBC (hdbcConnect) where@module Database.HaskellDB.HDBC (hdbcConnect, mkDatabase) where@' \
- -i "${S}/Database/HaskellDB/HDBC.hs" || die "could not export mkDatabase"
-}
@@ -0,0 +1,35 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="HaskellDB support for HDBC."
+HOMEPAGE="https://github.com/m4dc4p/haskelldb"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-haskell/convertible-1.0.1:=[profile?]
+ <dev-haskell/convertible-2:=[profile?]
+ >=dev-haskell/haskelldb-2.2:=[profile?]
+ <dev-haskell/haskelldb-3:=[profile?]
+ =dev-haskell/hdbc-2*:=[profile?]
+ >=dev-haskell/mtl-1:=[profile?]
+ <dev-haskell/mtl-3:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+src_prepare () {
+ sed -e 's@module Database.HaskellDB.HDBC (hdbcConnect) where@module Database.HaskellDB.HDBC (hdbcConnect, mkDatabase) where@' \
+ -i "${S}/Database/HaskellDB/HDBC.hs" || die "could not export mkDatabase"
+}

0 comments on commit 51df976

Please sign in to comment.