dev-haskell/vault: Hackage revision bump

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:10:47 -06:00 committed by Sam James
parent 7ad348958e
commit 5c9770ece3
No known key found for this signature in database
GPG Key ID: 738409F520DF9190
3 changed files with 5 additions and 25 deletions

View File

@ -1,2 +1,2 @@
DIST vault-0.3.1.5.cabal 2366 BLAKE2B 2ed90b48841bc52df3f6d269b8f30a5b224db2074646e5a446ed8d8f0d2ac15e4bda8839b142e072987dacb1b829ed4bc97f1b9f56e901dd5fb159f3126dee40 SHA512 cca747e73489e7c87c2e794f05d32dac93b935c6dca3ddf58f35d05afd960f1e2279a739ebd7f7995262a7f8d7c2e85b9453da67a5337e029bd03dbf00c5889b
DIST vault-0.3.1.5-rev3.cabal 2366 BLAKE2B 2492299c833115d75b4b9f9285ad371bc9c46616fa08189dcbea40bf0dbc3f397c9e402c97469d45d0d792a860cb7174649d8a188aa0e398cb5fc8d5718e2d7c SHA512 d572fadb89ee20a6740d3a2773f27153b45a11931e0f6335ebc29f47799decd52f0486dca20216d6856bd9d4baf682260fa3f9614209fe3d39facae32e1d820b
DIST vault-0.3.1.5.tar.gz 5431 BLAKE2B e102b85b99e6c28e0df1ff535c0bc9c61b01ec8c616107fa6298247f4d7f54e82e26eee7614b616d66cdefb21141a67cfcdf8d15743a59abf94ece0ac692f143 SHA512 f268d192f53594d5be39db807982073591e9bb830411813d6904e5ad1bf10d16eb5f89d9a39b764f92e6e196aeaabeac1b75cd07a70c59a42ce842835758e409

View File

@ -5,15 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
<longdescription>
A /vault/ is a typed, persistent store for values of arbitrary types.
It's like having first-class access to the storage space behind IORefs.
The data structure is analogous to a bank vault,
where you can access different bank boxes with different keys;
hence the name.
</longdescription>
<upstream>
<remote-id type="hackage">vault</remote-id>
<remote-id type="github">HeinrichApfelmus/vault</remote-id>
</upstream>
</pkgmetadata>

View File

@ -7,37 +7,24 @@ EAPI=8
#hackport: flags: +useghc
CABAL_FEATURES="lib profile haddock hoogle hscolour"
CABAL_HACKAGE_REVISION="1"
CABAL_HACKAGE_REVISION=3
inherit haskell-cabal
DESCRIPTION="a persistent store for values of arbitrary types"
HOMEPAGE="https://github.com/HeinrichApfelmus/vault"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz
https://hackage.haskell.org/package/${P}/revision/${CABAL_HACKAGE_REVISION}.cabal -> ${PF}.cabal"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
RDEPEND=">=dev-haskell/hashable-1.1.2.5:=[profile?] <dev-haskell/hashable-1.5:=[profile?]
RDEPEND="
>=dev-haskell/hashable-1.1.2.5:=[profile?] <dev-haskell/hashable-1.5:=[profile?]
>=dev-haskell/unordered-containers-0.2.3.0:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?]
>=dev-lang/ghc-8.4.3:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-2.2.0.1
"
BDEPEND="app-text/dos2unix"
src_prepare() {
# pull revised cabal from upstream
cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die
# Convert to unix line endings
dos2unix "${S}/${PN}.cabal" || die
# Apply patches *after* pulling the revised cabal
default
}
src_configure() {
haskell-cabal_src_configure \