summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:10:47 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:10:23 +0100
commit5c9770ece3a93cb81eb37595201129e31d4c03cf (patch)
tree3410b1b402ec12f7e6d967adc4d3936dd01d3cf5
parentdev-haskell/uuid: Hackage revision bump (diff)
downloadgentoo-5c9770ece3a93cb81eb37595201129e31d4c03cf.tar.gz
gentoo-5c9770ece3a93cb81eb37595201129e31d4c03cf.tar.bz2
gentoo-5c9770ece3a93cb81eb37595201129e31d4c03cf.zip
dev-haskell/vault: Hackage revision bump
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dev-haskell/vault/Manifest2
-rw-r--r--dev-haskell/vault/metadata.xml9
-rw-r--r--dev-haskell/vault/vault-0.3.1.5-r2.ebuild (renamed from dev-haskell/vault/vault-0.3.1.5.ebuild)19
3 files changed, 5 insertions, 25 deletions
diff --git a/dev-haskell/vault/Manifest b/dev-haskell/vault/Manifest
index 854e253b8afa..b94e26dcb4b4 100644
--- a/dev-haskell/vault/Manifest
+++ b/dev-haskell/vault/Manifest
@@ -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
diff --git a/dev-haskell/vault/metadata.xml b/dev-haskell/vault/metadata.xml
index 77c6a81afe29..afac3eaf0d55 100644
--- a/dev-haskell/vault/metadata.xml
+++ b/dev-haskell/vault/metadata.xml
@@ -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>
diff --git a/dev-haskell/vault/vault-0.3.1.5.ebuild b/dev-haskell/vault/vault-0.3.1.5-r2.ebuild
index 13554f873c08..819d85b66e1e 100644
--- a/dev-haskell/vault/vault-0.3.1.5.ebuild
+++ b/dev-haskell/vault/vault-0.3.1.5-r2.ebuild
@@ -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 \