summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/persistent-sqlite')
-rw-r--r--dev-haskell/persistent-sqlite/Manifest9
-rw-r--r--dev-haskell/persistent-sqlite/files/persistent-sqlite-1.2.1-pthread.patch23
-rw-r--r--dev-haskell/persistent-sqlite/metadata.xml12
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-1.1.5.ebuild38
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-1.2.0.ebuild37
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-1.2.1-r1.ebuild39
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.2.ebuild39
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.5.ebuild42
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.2.ebuild44
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.ebuild42
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.2.ebuild45
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.ebuild45
12 files changed, 415 insertions, 0 deletions
diff --git a/dev-haskell/persistent-sqlite/Manifest b/dev-haskell/persistent-sqlite/Manifest
new file mode 100644
index 000000000000..344426c2c7fa
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/Manifest
@@ -0,0 +1,9 @@
+DIST persistent-sqlite-1.1.5.tar.gz 1285378 SHA256 94993b3b4f09d27846c149b68e3e9ba73a2bd6e361a6e74519dff5ad31b81dcf SHA512 ccbbc392e09082e5c70825ae6c8135b1c7adc05e33a1c6a215a0794f4ebf6fd436ef00705c274752681171958b2aebfbd89bb87b5cb2d5c38bbcc28214848ead WHIRLPOOL a0db2e4a8f52b9580717e5d25e2696d594da0861738bc19194886f479eca0f6a9b6ef755320a3a8318ad7e6929d3ad96ebe3e5034871b4b2ae8f33ccc8641eed
+DIST persistent-sqlite-1.2.0.tar.gz 1285410 SHA256 9060f3363d981bde0b5e5bab99562930523072fb506b5f7af509b36cc24fad27 SHA512 a03c3803fb7d2e6d0e60dc023addfbdc3803996e94baa439a3391aa42c3ffd9e3abceda7ded6e8d58205749a96d6258db4c9e20c461a3d5c1bee18f8ca6e97e6 WHIRLPOOL 4fe41b8eb72e5d3acbb06ae3fc5949b820327e054738c9dc008fd9c01c3e72811b2a15d25f6cb52568cd196cf22ae27ab7eaa5d34384198c6646da00e7d1222c
+DIST persistent-sqlite-1.2.1.tar.gz 1285579 SHA256 c097a32e9d73a38143652b109db895180db2c621178ccedfa43df6718d466bd1 SHA512 10b0c2ee09998f12c35d35ac8a8e41ca9208e01033fab15af906d663f191f41ea474ed64a4adc57238d0c3d185381056067207df6ed40157c13898321a128669 WHIRLPOOL c6b2f03029b7bd2764e3291befc05f4c99e7c2b4e122af6d9f67217d221ab4d216bc3bb174ef4747e20b0cfad9c76ff136a7138f14b9671772ab38ae94078243
+DIST persistent-sqlite-1.3.0.2.tar.gz 1352917 SHA256 f3cf2a977f5cf2113dc3c0d20c326e8e71c7e35f3c8176ae76f518a9f1aab657 SHA512 abc7d21e7d77a7bb037826bee747e5fc1a191c679d73c83881526dc84007bdec9b12f7f6c60b8f8edaef27d37db816a763f6a9c5180a3767d596e80b07af1ebc WHIRLPOOL 8c9b2004894ff3e8c6287afd108e22f53a14d37560a6d49e7576b37e26a432f29e3085817349e0c130b2e02b9569379b897a9fc5d4689773c4ecdbad608dc932
+DIST persistent-sqlite-1.3.0.5.tar.gz 1353303 SHA256 eb477f7f98d4af69aa5ef88750c0e62915378c554a480652b4b09e4f985f6715 SHA512 5ea6919c73eb7d791bfdd09ed12bc8eba957cbc6854596d08bfe6b5e924929f2fa031fdffe69b755b29a8c99571a2e3ee784ab7abc4b983a279bb69735b0d3d0 WHIRLPOOL 8d427c9e7dd9a26cc25e6c979dcd11aee6b906992197ae26dc6ab593b77d1466e9de6b042b13533fb112ed82308862ba7774478e2e64bd3b113fbdbe8b8415fd
+DIST persistent-sqlite-2.1.1.2.tar.gz 1364228 SHA256 0a4a8d10d5a15104dc1ad07c1e66802980316c7320e8fb8e3a916879f22bd74e SHA512 3d6b5b3963b2014fe3598c8398182cd83331b6b8d49003464d61c00ed3b8f681402df3096c82734866c067cfaa7eab49437e2cde4aede5ddf72eb0258932707d WHIRLPOOL 569534fd757d9ae8409cad5b4dade9aabcea3705191ff0e3d083e1371a8aeb32d5acadefb7f9d5fb85afe2fb78ea4d5cf7776fca8b5fe04750647631217c7563
+DIST persistent-sqlite-2.1.1.tar.gz 1363430 SHA256 3c797eb43456d159c304b174554d91e9efc31d761dbcc5dd03019bcb7b54d7c3 SHA512 5a28597c340b4465e6cf717decc9f7ec579fe0523c2b9f0f69cd8755254c8621b5e00f4eb441da2acc5f1edebfb19b8325f3f246d9e2b747a71d962b1d3f3f9c WHIRLPOOL e821c86048eeefeba8548d79073715867a99fd081f45c34832a9d4857e0b07e351deecd32a9288e89c0a485af4dbb0319687b397597d8fdcdd36652b9e5f7e59
+DIST persistent-sqlite-2.1.4.2.tar.gz 1460596 SHA256 0ac7e708c06ae1b63bb068c248fb3ccba0beb99da52702efa6c0a4bca047123c SHA512 9c959164135120f02464daee6d9012872d12212bcb94128010f05784cd11cd04d2fd2dcca5dafd9036d0bd4154a5262b26816b27d7a335f0404634471e3944c7 WHIRLPOOL 04ca7a978b7469e4332cb7461b65a3b8c9c50b97621de7f1bf420adfae2be79e5973e2bdb5f6cfd7f491657dc84704c02fbb25e2ae53348b82496a5f41392f39
+DIST persistent-sqlite-2.1.4.tar.gz 1365483 SHA256 7c3a2d0638f208a80bc2a7dc4a3eaf92655f239d9356d0c2b89cc2bbe7e00409 SHA512 dcf482dc31932ee3b671e609de16621a0c2eb328312b27aae3778434031ce64e96484957744e383b0b3223a6ab4bb1a8de3966952670b61612faf1f9029700d2 WHIRLPOOL 577effe2b8636d9ff2b91d7348f5bf18f6cfa54dcf893e647d01f42adade66887910c11048335697ecc58f800142b8abb187be8b111ebc618cad06d55b2c39d3
diff --git a/dev-haskell/persistent-sqlite/files/persistent-sqlite-1.2.1-pthread.patch b/dev-haskell/persistent-sqlite/files/persistent-sqlite-1.2.1-pthread.patch
new file mode 100644
index 000000000000..a303c8d35eef
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/files/persistent-sqlite-1.2.1-pthread.patch
@@ -0,0 +1,23 @@
+Fixes yesod-persistent test build failure:
+
+[2 of 2] Compiling Main ( test/Spec.hs, dist/build/test/test-tmp/Main.o )
+Linking dist/build/test/test ...
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/persistent-sqlite-1.2.1/ghc-7.6.3/libHSpersistent-sqlite-1.2.1.a(sqlite3.o): undefined reference to s
+ymbol 'pthread_mutexattr_settype@@GLIBC_2.2.5'
+/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'pthread_mutexattr_settype@@GLIBC_2.2.5' is defined in DSO /lib64/libpthread.so.0 so try adding it to the
+linker command line
+/lib64/libpthread.so.0: could not read symbols: Invalid operation
+collect2: error: ld returned 1 exit status
+
+diff --git a/persistent-sqlite.cabal b/persistent-sqlite.cabal
+index c40a1d9..aaf0b1f 100644
+--- a/persistent-sqlite.cabal
++++ b/persistent-sqlite.cabal
+@@ -34,6 +34,7 @@ library
+ extra-libraries: sqlite3
+ else
+ c-sources: cbits/sqlite3.c
++ extra-libraries: pthread
+
+ source-repository head
+ type: git
diff --git a/dev-haskell/persistent-sqlite/metadata.xml b/dev-haskell/persistent-sqlite/metadata.xml
new file mode 100644
index 000000000000..d01b9f9e3fb5
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <longdescription>
+ This package includes a thin sqlite3 wrapper based on the direct-sqlite package, as well as the entire C library, so there are no system dependencies.
+ </longdescription>
+ <use>
+ <flag name="systemlib">Use the system-wide sqlite library.</flag>
+ <flag name="build-sanity-exe">Build a sanity check test executable.</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-1.1.5.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-1.1.5.ebuild
new file mode 100644
index 000000000000..1d1335eae5f8
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-1.1.5.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemlib"
+
+RDEPEND=">=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ >=dev-haskell/persistent-1.1.5:=[profile?]
+ <dev-haskell/persistent-1.2:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ systemlib? ( >=dev-db/sqlite-3.0
+ )"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag systemlib systemlib)
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-1.2.0.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-1.2.0.ebuild
new file mode 100644
index 000000000000..0e220894d4aa
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-1.2.0.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemlib"
+
+RDEPEND=">=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ =dev-haskell/persistent-1.2*:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ systemlib? ( >=dev-db/sqlite-3.0
+ )"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag systemlib systemlib)
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-1.2.1-r1.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-1.2.1-r1.ebuild
new file mode 100644
index 000000000000..79d31a0e7379
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-1.2.1-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemlib"
+
+RDEPEND=">=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ =dev-haskell/persistent-1.2*:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ systemlib? ( >=dev-db/sqlite-3.0
+ )"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+PATCHES=("${FILESDIR}"/${P}-pthread.patch)
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag systemlib systemlib)
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.2.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.2.ebuild
new file mode 100644
index 000000000000..9c254b15b8d6
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+#hackport: flags: +systemlib
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-db/sqlite-3.0
+ >=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ >=dev-haskell/persistent-1.3:=[profile?] <dev-haskell/persistent-1.4:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6.0.3
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=systemlib
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.5.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.5.ebuild
new file mode 100644
index 000000000000..9a6dea2b5278
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-1.3.0.5.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.6.9999
+#hackport: flags: +systemlib
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="build-sanity-exe"
+
+RDEPEND=">=dev-db/sqlite-3.0
+ >=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ >=dev-haskell/persistent-1.3:=[profile?] <dev-haskell/persistent-1.4:=[profile?]
+ dev-haskell/resourcet:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-6.10.4:=
+ virtual/libc
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag build-sanity-exe build-sanity-exe) \
+ --flag=systemlib
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.2.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.2.ebuild
new file mode 100644
index 000000000000..9b015d9323a0
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+#hackport: flags: +systemlib
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="build-sanity-exe"
+
+RDEPEND=">=dev-db/sqlite-3.0
+ >=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ >=dev-haskell/persistent-2.1:=[profile?] <dev-haskell/persistent-3:=[profile?]
+ >=dev-haskell/resourcet-1.1:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ virtual/libc
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+ test? ( dev-haskell/hspec
+ dev-haskell/persistent-template )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag build-sanity-exe build-sanity-exe) \
+ --flag=systemlib
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.ebuild
new file mode 100644
index 000000000000..40210f121a7d
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4
+#hackport: flags: +systemlib
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="build-sanity-exe"
+
+RDEPEND=">=dev-db/sqlite-3.0
+ >=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ >=dev-haskell/persistent-2.1:=[profile?] <dev-haskell/persistent-3:=[profile?]
+ >=dev-haskell/resourcet-1.1:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ virtual/libc
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.8
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag build-sanity-exe build-sanity-exe) \
+ --flag=systemlib
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.2.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.2.ebuild
new file mode 100644
index 000000000000..cd129b046d37
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+#hackport: flags: +systemlib
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="build-sanity-exe"
+
+RDEPEND=">=dev-db/sqlite-3.0
+ >=dev-haskell/aeson-0.6.2:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ dev-haskell/old-locale:=[profile?]
+ >=dev-haskell/persistent-2.1:=[profile?] <dev-haskell/persistent-3:=[profile?]
+ >=dev-haskell/resourcet-1.1:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+ virtual/libc
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+ test? ( dev-haskell/hspec
+ dev-haskell/persistent-template )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag build-sanity-exe build-sanity-exe) \
+ --flag=systemlib
+}
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.ebuild
new file mode 100644
index 000000000000..fdd8397eb3ef
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-2.1.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+#hackport: flags: +systemlib
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Backend for the persistent library using sqlite3"
+HOMEPAGE="http://www.yesodweb.com/book/persistent"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="build-sanity-exe"
+
+RDEPEND=">=dev-db/sqlite-3.0
+ >=dev-haskell/aeson-0.5:=[profile?]
+ >=dev-haskell/conduit-0.5.3:=[profile?]
+ >=dev-haskell/monad-control-0.2:=[profile?]
+ >=dev-haskell/monad-logger-0.2.4:=[profile?]
+ dev-haskell/old-locale:=[profile?]
+ >=dev-haskell/persistent-2.1:=[profile?] <dev-haskell/persistent-3:=[profile?]
+ >=dev-haskell/resourcet-1.1:=[profile?]
+ >=dev-haskell/text-0.7:=[profile?]
+ >=dev-haskell/transformers-0.2.1:=[profile?]
+ >=dev-lang/ghc-7.6.1:=
+ virtual/libc
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.16.0
+ test? ( dev-haskell/hspec
+ dev-haskell/persistent-template )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag build-sanity-exe build-sanity-exe) \
+ --flag=systemlib
+}