Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Loosen mtl dep in haskelldb-hdbc-odbc

  • Loading branch information...
commit d1a2f632e802af0d722c1c5c07c4c00183bcf7c8 1 parent 718b77f
@markwright authored
View
3  dev-haskell/haskelldb-hdbc-odbc/Manifest
@@ -1,2 +1,3 @@
DIST haskelldb-hdbc-odbc-2.1.0.tar.gz 2212 RMD160 7c892ebf65709b243b035215a6ee8eae4e0de5c4 SHA1 d42eefcf1bc8a1825fab2c94833be3dc26203010 SHA256 cff1ed9e1244c7f717942fe50439ea1d0f31d3becb36594cadc34429c5161f9a
-EBUILD haskelldb-hdbc-odbc-2.1.0.ebuild 719 RMD160 b260c3b304e04a09a2e4f7d184912d4bf346a356 SHA1 dceba0ab7da466bd8a26ff7e0882ed1c90731a3a SHA256 8fe768ebddd89ed2ded16e5b3a86f6beb3e7e6dbaca5d7fe30b3b8fbb71886d0
+EBUILD haskelldb-hdbc-odbc-2.1.0-r1.ebuild 919 RMD160 84312610b7a362eed76d75d4ac78814fe807866f SHA1 9f562b6513152350b60ae9f3a414329a986d441b SHA256 06fa57c77cd62da99ad0a180ed9f9c58032d2963c6f1b5813df71042abbc93b6
+MISC metadata.xml 351 RMD160 443f505dd88aea7d79e68f313a9848778c4e2c37 SHA1 21ee3ec9e0a7d46bc400263555002003360a2835 SHA256 5fc1383cd41aaba7b818c0cac26384130c01dc282116462630d5814355a3a6f8
View
34 dev-haskell/haskelldb-hdbc-odbc/haskelldb-hdbc-odbc-2.1.0-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+# ebuild generated by hackport 0.2.17.9999
+
+EAPI=4
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="HaskellDB support for the HDBC ODBC driver."
+HOMEPAGE="http://trac.haskell.org/haskelldb"
+SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=dev-haskell/haskelldb-2*[profile?]
+ =dev-haskell/haskelldb-hdbc-2*[profile?]
+ =dev-haskell/hdbc-2*[profile?]
+ =dev-haskell/hdbc-odbc-2*[profile?]
+ >=dev-haskell/mtl-1[profile?]
+ <dev-haskell/mtl-2.2[profile?]
+ >=dev-lang/ghc-6.8.2"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+src_prepare() {
+ sed -e 's@mtl >= 1 && < 2.1@mtl >= 1 \&\& < 2.2@' \
+ -i "${S}/${PN}.cabal" || die "Could not loosen dependencies"
+}
View
29 dev-haskell/haskelldb-hdbc-odbc/haskelldb-hdbc-odbc-2.1.0.ebuild
@@ -1,29 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# ebuild generated by hackport 0.2.12
-
-EAPI="2"
-
-CABAL_FEATURES="bin lib profile haddock hscolour hoogle"
-inherit haskell-cabal
-
-DESCRIPTION="HaskellDB support for the HDBC ODBC driver."
-HOMEPAGE="http://trac.haskell.org/haskelldb"
-SRC_URI="http://hackage.haskell.org/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="=dev-haskell/haskelldb-2*
- =dev-haskell/haskelldb-hdbc-2*
- =dev-haskell/hdbc-2*
- =dev-haskell/hdbc-odbc-2*
- dev-haskell/mtl
- >=dev-lang/ghc-6.8.2
- >=dev-db/unixODBC-2.2"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.6"
View
11 dev-haskell/haskelldb-hdbc-odbc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ HaskellDB requires this driver if HDBC will be used to connect to an ODBC database.
+ </longdescription>
+</pkgmetadata>
Please sign in to comment.
Something went wrong with that request. Please try again.