summaryrefslogtreecommitdiff
path: root/dev-haskell/hdbc-sqlite3
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-03-25 18:56:59 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-03-25 19:07:56 +0000
commit07ecabef92ad21cf9e12af3c1bc97d582d207094 (patch)
tree270ddca6774cbf48fcec232f073ae21c0b0f3838 /dev-haskell/hdbc-sqlite3
parent20626169d0f88ed5bc9147a1c01fdd2c2ddf1d49 (diff)
downloadgentoo-07ecabef92ad21cf9e12af3c1bc97d582d207094.tar.gz
gentoo-07ecabef92ad21cf9e12af3c1bc97d582d207094.tar.xz
dev-haskell/hdbc-sqlite3: move package from dev-haskell/hdbc-sqlite:2
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-haskell/hdbc-sqlite3')
-rw-r--r--dev-haskell/hdbc-sqlite3/Manifest1
-rw-r--r--dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild44
-rw-r--r--dev-haskell/hdbc-sqlite3/metadata.xml19
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-haskell/hdbc-sqlite3/Manifest b/dev-haskell/hdbc-sqlite3/Manifest
new file mode 100644
index 00000000000..7b9e9f73b2b
--- /dev/null
+++ b/dev-haskell/hdbc-sqlite3/Manifest
@@ -0,0 +1 @@
+DIST HDBC-sqlite3-2.3.3.1.tar.gz 15544 SHA256 a783d9ab707ebfc68e3e46bd1bbb5d3d5493f50a7ccf31223d9848cff986ebea SHA512 17b2929aca806d0672ae83e1aa6122a38596504a4f23f868f1a3ff4e68f97c3aef6499f995659fa4ce82b1e8aab9a107172a7265309d4c3f4e9754e4cf756ec0 WHIRLPOOL f7a6102c83939cb9325450f4b3dc542c2f314d478df13c4ada4725c793731d0601829a80588ff2cdfc251286b208c0f2f6f796367f8a86b46c2962cd481163e2
diff --git a/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
new file mode 100644
index 00000000000..696da308bff
--- /dev/null
+++ b/dev-haskell/hdbc-sqlite3/hdbc-sqlite3-2.3.3.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="HDBC-sqlite3"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Sqlite v3 driver for HDBC"
+HOMEPAGE="https://github.com/hdbc/hdbc-sqlite3"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="buildtests +splitbase"
+
+RDEPEND=">=dev-db/sqlite-3.0
+ >=dev-haskell/hdbc-2.3.0.0:2=[profile?]
+ dev-haskell/mtl:=[profile?]
+ dev-haskell/utf8-string:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ buildtests? ( dev-haskell/convertible:=[profile?]
+ dev-haskell/hunit:=[profile?]
+ dev-haskell/old-locale:=[profile?]
+ dev-haskell/old-time:=[profile?]
+ dev-haskell/testpack:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2.3
+"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag buildtests buildtests) \
+ $(cabal_flag splitbase splitbase)
+}
diff --git a/dev-haskell/hdbc-sqlite3/metadata.xml b/dev-haskell/hdbc-sqlite3/metadata.xml
new file mode 100644
index 00000000000..a6dc7b001d9
--- /dev/null
+++ b/dev-haskell/hdbc-sqlite3/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <use>
+ <flag name="buildtests">Build the executable to run unit tests</flag>
+ <flag name="splitbase">Choose the new smaller, split-up package.</flag>
+ </use>
+ <longdescription>
+ This is the Sqlite v3 driver for HDBC, the generic
+ database access system for Haskell
+ </longdescription>
+ <upstream>
+ <remote-id type="github">hdbc/hdbc-sqlite3</remote-id>
+ </upstream>
+</pkgmetadata>