dev-haskell/persistent-sqlite: add 2.13.1.1

Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
hololeap 2023-10-02 23:09:06 -06:00 committed by Sam James
parent 4cbe486bd5
commit 39c3ddb5f6
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 65 additions and 4 deletions

View File

@ -1 +1,2 @@
DIST persistent-sqlite-2.13.1.0.tar.gz 2276809 BLAKE2B acc9f4b0e351313486e89f695b69756ea165146fd8aaafcc2d3da8dc620c109cee8d922fe0246e688691748c18e75fa64f9f4a992ca2cd28e01677766d56326b SHA512 19842dcd867f57ac2f81d8651838f41f6a4f0074293c0b3a21a52d2fb96410c26d5340307983da21ca89170a01621da257320e36f33170657acb6890f70299d4
DIST persistent-sqlite-2.13.1.1.tar.gz 2276814 BLAKE2B e408ce749a1648874a33fc99677540ee609cb3ffe30eb2043e9425df724f15db41a692b7b3b0cb43388629db52b8e3a74e3025489290cc412dfdf8878490c92b SHA512 12489af434a9748670f621072872bd43abbecafde3ff01960a2fb446466f6320137e13e0029a944ad6efb60dc2bcf8632c4b60541292e8627065e34d5f467d22

View File

@ -5,10 +5,11 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<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="build-sanity-exe">Build a sanity check test executable.</flag>
<flag name="build-sanity-exe">Build a sanity check test executable</flag>
</use>
<upstream>
<remote-id type="hackage">persistent-sqlite</remote-id>
<remote-id type="github">yesodweb/persistent</remote-id>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,59 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.8.4.0.9999
#hackport: flags: +systemlib,-use-stat3,-use-stat4,-uri-filenames,-full-text-search,-have-usleep,-json1,-use-pkgconfig
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Backend for the persistent library using sqlite3"
HOMEPAGE="https://www.yesodweb.com/book/persistent"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="build-sanity-exe"
RDEPEND=">=dev-db/sqlite-3.0
>=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.13.3:=[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.8.1:=
virtual/libc
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.0.0.0
test? ( dev-haskell/exceptions
dev-haskell/fast-logger
>=dev-haskell/hspec-2.4
dev-haskell/hunit
dev-haskell/microlens
dev-haskell/persistent-test
dev-haskell/quickcheck
dev-haskell/system-fileio
dev-haskell/system-filepath
dev-haskell/temporary )
"
src_configure() {
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-pkgconfig \
--flag=-use-stat3 \
--flag=-use-stat4
}