summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Todaro <solpeth@posteo.org>2020-07-30 09:45:29 +1000
committerSergei Trofimovich <slyfox@gentoo.org>2020-08-01 09:01:32 +0100
commit6730eb7b93ca8f7d87fcf74fbb65d160ca1ef2b7 (patch)
tree0a1501007ee0cc5ec5d992eab7ba22c15ade6051 /dev-haskell/persistent-sqlite
parentdev-haskell/persistent-test: add package (diff)
downloadgentoo-6730eb7b93ca8f7d87fcf74fbb65d160ca1ef2b7.tar.gz
gentoo-6730eb7b93ca8f7d87fcf74fbb65d160ca1ef2b7.tar.bz2
gentoo-6730eb7b93ca8f7d87fcf74fbb65d160ca1ef2b7.zip
dev-haskell/persistent-sqlite: bump up to 2.10.6.2
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/persistent-sqlite')
-rw-r--r--dev-haskell/persistent-sqlite/Manifest1
-rw-r--r--dev-haskell/persistent-sqlite/persistent-sqlite-2.10.6.2.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/dev-haskell/persistent-sqlite/Manifest b/dev-haskell/persistent-sqlite/Manifest
index 82b8d41395e4..69ee9cd94c35 100644
--- a/dev-haskell/persistent-sqlite/Manifest
+++ b/dev-haskell/persistent-sqlite/Manifest
@@ -1,2 +1,3 @@
DIST persistent-sqlite-2.1.4.2.tar.gz 1460596 BLAKE2B b5bb2a869888fd276fc4a515000253408f878964b5b4b0740406a7655f2488a8b5c9354be108bc4f24b31caafa4916a9973ed2204a4be7ca53745dbc7217893f SHA512 9c959164135120f02464daee6d9012872d12212bcb94128010f05784cd11cd04d2fd2dcca5dafd9036d0bd4154a5262b26816b27d7a335f0404634471e3944c7
+DIST persistent-sqlite-2.10.6.2.tar.gz 2220390 BLAKE2B f146ec84ae45d0d4b4cb3c809bf694182c8592369e222029824f6eb6a39abbbb67acc6bdd2af4a9b8080d50ffcdc20968fa14cac237a475b220dcefe3329fc2d SHA512 b1db41bf77ae53b99c28f3224c9a2b7335faa4a78c96487270249959cc9491fa542e28d38dd63a2b417580f6a41608ffcee152e8609fe16392005c728862c7bc
DIST persistent-sqlite-2.6.tar.gz 3565770 BLAKE2B e92865929494d37ea5363dcb5110821e5ae5de099aca3fefa59311d2586b9c450f648fd4077ac7310efe72d5c7267b8f5c943610e65db7731608d8e86c62fdfe SHA512 c0be576429ee0051eeeffff6c6d7168a7993deeca47acd27bf2d0075afad2702855f2c14d8b389697d5053aa097d81fe119e4eb215a1c56f782e2ac95a5f8ff8
diff --git a/dev-haskell/persistent-sqlite/persistent-sqlite-2.10.6.2.ebuild b/dev-haskell/persistent-sqlite/persistent-sqlite-2.10.6.2.ebuild
new file mode 100644
index 000000000000..e3b69f748f49
--- /dev/null
+++ b/dev-haskell/persistent-sqlite/persistent-sqlite-2.10.6.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.4.9999
+#hackport: flags: +systemlib,-use-stat3,-use-stat4,-uri-filenames,-full-text-search,-have-usleep,-json1
+
+CABAL_FEATURES="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="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="build-sanity-exe"
+
+RDEPEND=">=dev-haskell/aeson-1.0:=[profile?]
+ >=dev-haskell/conduit-1.2.12:=[profile?]
+ >=dev-haskell/microlens-th-0.4.1.1:=[profile?]
+ >=dev-haskell/monad-logger-0.3.25:=[profile?]
+ >=dev-haskell/persistent-2.10:=[profile?] <dev-haskell/persistent-3:=[profile?]
+ dev-haskell/resource-pool:=[profile?]
+ >=dev-haskell/resourcet-1.1.9:=[profile?]
+ >=dev-haskell/text-1.2:=[profile?]
+ dev-haskell/unliftio-core:=[profile?]
+ dev-haskell/unordered-containers:=[profile?]
+ >=dev-lang/ghc-8.0.1:=
+ virtual/libc
+ >=dev-db/sqlite-3.0
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.24.0.0
+ test? ( dev-haskell/exceptions
+ dev-haskell/fast-logger
+ >=dev-haskell/hspec-2.4
+ dev-haskell/hunit
+ dev-haskell/persistent-template
+ dev-haskell/persistent-test
+ dev-haskell/quickcheck
+ dev-haskell/system-fileio
+ dev-haskell/system-filepath
+ dev-haskell/temporary )
+"
+
+src_configure() {
+ # most flags disabled since they have no effect when system-sqlite is used.
+ haskell-cabal_src_configure \
+ $(cabal_flag build-sanity-exe build-sanity-exe) \
+ --flag=-full-text-search \
+ --flag=-have-usleep \
+ --flag=-json1 \
+ --flag=systemlib \
+ --flag=-uri-filenames \
+ --flag=-use-stat3 \
+ --flag=-use-stat4
+}