summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-12-13 05:50:33 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-12-13 05:50:33 +0000
commit459f94804a203364afe4c42abb36c68d2d4fb2ea (patch)
treee00b22a80c2fb56561d252bb0b5ecf32c355f33b /dev-haskell/hsql-sqlite
parentfix deps and checks (diff)
downloadhistorical-459f94804a203364afe4c42abb36c68d2d4fb2ea.tar.gz
historical-459f94804a203364afe4c42abb36c68d2d4fb2ea.tar.bz2
historical-459f94804a203364afe4c42abb36c68d2d4fb2ea.zip
Updates for upward compatability with cabal-1.2 and ghc-6.8
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'dev-haskell/hsql-sqlite')
-rw-r--r--dev-haskell/hsql-sqlite/ChangeLog5
-rw-r--r--dev-haskell/hsql-sqlite/files/digest-hsql-sqlite-1.76
-rw-r--r--dev-haskell/hsql-sqlite/hsql-sqlite-1.7.ebuild19
3 files changed, 17 insertions, 13 deletions
diff --git a/dev-haskell/hsql-sqlite/ChangeLog b/dev-haskell/hsql-sqlite/ChangeLog
index d323e0605f2a..5b01c3ef04f0 100644
--- a/dev-haskell/hsql-sqlite/ChangeLog
+++ b/dev-haskell/hsql-sqlite/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-haskell/hsql-sqlite
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsql-sqlite/ChangeLog,v 1.8 2007/10/31 13:05:25 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsql-sqlite/ChangeLog,v 1.9 2007/12/13 05:43:11 dcoutts Exp $
+
+ 13 Dec 2007; Duncan Coutts <dcoutts@gentoo.org> hsql-sqlite-1.7.ebuild:
+ Updates for upward compatability with cabal-1.2 and ghc-6.8
31 Oct 2007; Duncan Coutts <dcoutts@gentoo.org> hsql-sqlite-1.7.ebuild:
Drop virtual/ghc in favour of dev-lang/ghc
diff --git a/dev-haskell/hsql-sqlite/files/digest-hsql-sqlite-1.7 b/dev-haskell/hsql-sqlite/files/digest-hsql-sqlite-1.7
index 7944c41532c4..fc5e37bab061 100644
--- a/dev-haskell/hsql-sqlite/files/digest-hsql-sqlite-1.7
+++ b/dev-haskell/hsql-sqlite/files/digest-hsql-sqlite-1.7
@@ -1,3 +1,3 @@
-MD5 940c85cc1d6799eff9bc95f0224bd615 HSQL-1.7.tar.gz 37787
-RMD160 0bba6064c429480e3c95f7e41a683db981fe670f HSQL-1.7.tar.gz 37787
-SHA256 252f333f2a4ff2b58b2c9ba0c307f36ea674e77f0938e85950c2496b10ac2c2d HSQL-1.7.tar.gz 37787
+MD5 3c9830c1e3dda9e8b6b35b12652b274d hsql-sqlite3-1.7.tar.gz 3207
+RMD160 f38c8a833652829696ce7555ef21054f125d82b6 hsql-sqlite3-1.7.tar.gz 3207
+SHA256 06c7fbcab758231e21c62f81ab42a6b9fde0c10057463ce40780317b5fbef32d hsql-sqlite3-1.7.tar.gz 3207
diff --git a/dev-haskell/hsql-sqlite/hsql-sqlite-1.7.ebuild b/dev-haskell/hsql-sqlite/hsql-sqlite-1.7.ebuild
index ab69a3e0c2bf..bbef73e92801 100644
--- a/dev-haskell/hsql-sqlite/hsql-sqlite-1.7.ebuild
+++ b/dev-haskell/hsql-sqlite/hsql-sqlite-1.7.ebuild
@@ -1,13 +1,16 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsql-sqlite/hsql-sqlite-1.7.ebuild,v 1.6 2007/10/31 13:05:25 dcoutts Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/hsql-sqlite/hsql-sqlite-1.7.ebuild,v 1.7 2007/12/13 05:43:11 dcoutts Exp $
CABAL_FEATURES="lib haddock"
-inherit base haskell-cabal
+inherit haskell-cabal
+
+MY_PN=hsql-sqlite3
+MY_P=${MY_PN}-${PV}
DESCRIPTION="SQLite3 driver HSQL"
HOMEPAGE="http://htoolkit.sourceforge.net/"
-SRC_URI="mirror://gentoo/HSQL-${PV}.tar.gz"
+SRC_URI="http://hackage.haskell.org/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
@@ -18,13 +21,11 @@ DEPEND=">=dev-lang/ghc-6.4.1
~dev-haskell/hsql-${PV}
>=dev-db/sqlite-3.0"
-S="${WORKDIR}/HSQL/SQLite3"
+S="${WORKDIR}/${MY_P}"
src_unpack() {
- base_src_unpack
-
- echo '> import Distribution.Simple' > "${S}/Setup.lhs"
- echo '> main = defaultMain' >> "${S}/Setup.lhs"
+ unpack "${A}"
- echo 'extra-libraries: sqlite3' >> "${S}/SQLite3.cabal"
+ cabal-mksetup
+ echo 'extra-libraries: sqlite3' >> "${S}/hsql-sqlite3.cabal"
}