summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:07:08 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:30 +0100
commitbae03bfa82360623105e4a853fae2fc008850c0c (patch)
tree650d06d9635aa62a6dcd4399d8e721e6d4686380 /dev-haskell/ed25519
parentdev-haskell/echo: Migrate to CABAL_CHDEPS (diff)
downloadgentoo-bae03bfa82360623105e4a853fae2fc008850c0c.tar.gz
gentoo-bae03bfa82360623105e4a853fae2fc008850c0c.tar.bz2
gentoo-bae03bfa82360623105e4a853fae2fc008850c0c.zip
dev-haskell/ed25519: Hackage revision bump
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/ed25519')
-rw-r--r--dev-haskell/ed25519/Manifest1
-rw-r--r--dev-haskell/ed25519/ed25519-0.0.5.0-r1.ebuild39
-rw-r--r--dev-haskell/ed25519/ed25519-0.0.5.0.ebuild45
-rw-r--r--dev-haskell/ed25519/metadata.xml7
4 files changed, 41 insertions, 51 deletions
diff --git a/dev-haskell/ed25519/Manifest b/dev-haskell/ed25519/Manifest
index 26abe3c2205e..a6bc774fb60f 100644
--- a/dev-haskell/ed25519/Manifest
+++ b/dev-haskell/ed25519/Manifest
@@ -1 +1,2 @@
+DIST ed25519-0.0.5.0-rev7.cabal 4166 BLAKE2B 8e86fedbb2731e1065786dd0e09ed1a0abb92ebc2f4f290dc5b2d59ad3cfa046d275d9cdc1c36c4d9006e4884c35f823c5a9de3881545f85d1fabf4ebc5a0bf4 SHA512 470430ef4a5a44c842f79cff8d0a632dfd43de500027e511fc17920262d881e310331e30d29c02bda9e2f84c1565fc00d795a7c1bf19a4bedf408366e6df8c7c
DIST ed25519-0.0.5.0.tar.gz 80034 BLAKE2B 4de73a76576bc63a7c5e4e8c0d195d48c65901ad417a306ca0001856a3a37975cfbb527dd466c2a737006e44e8d440e9831c360c8c3063b45a704af79c165cbb SHA512 cd2bb28de905c6d659f80f15e82970a9634c959432c73b6fd3b10ebca42a1ce734429e7ac861d0ab328904d99651a6d2fcaaf4d74ab75a3c0be68607e8f54ce9
diff --git a/dev-haskell/ed25519/ed25519-0.0.5.0-r1.ebuild b/dev-haskell/ed25519/ed25519-0.0.5.0-r1.ebuild
new file mode 100644
index 000000000000..bd2c7ce0b63e
--- /dev/null
+++ b/dev-haskell/ed25519/ed25519-0.0.5.0-r1.ebuild
@@ -0,0 +1,39 @@
+# 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: +no-donna,+test-doctests,+test-properties,-test-hlint
+
+CABAL_HACKAGE_REVISION=7
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Ed25519 cryptographic signatures"
+HOMEPAGE="https://thoughtpolice.github.com/hs-ed25519"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RESTRICT=test # bitrotten test suite
+
+RDEPEND=">=dev-lang/ghc-8.8.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0
+"
+# test? (
+# >=dev-haskell/doctest-0.10 <dev-haskell/doctest-0.12
+# >=dev-haskell/quickcheck-2.4 <dev-haskell/quickcheck-2.9
+# )
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=no-donna \
+ --flag=test-doctests \
+ --flag=-test-hlint \
+ --flag=test-properties
+}
diff --git a/dev-haskell/ed25519/ed25519-0.0.5.0.ebuild b/dev-haskell/ed25519/ed25519-0.0.5.0.ebuild
deleted file mode 100644
index e45e23d32369..000000000000
--- a/dev-haskell/ed25519/ed25519-0.0.5.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# ebuild generated by hackport 0.4.6.9999
-#hackport: flags: +no-donna,+test-doctests,+test-properties,-test-hlint
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour" # Broken test-suite: needs update
-inherit haskell-cabal
-
-DESCRIPTION="Ed25519 cryptographic signatures"
-HOMEPAGE="https://github.com/thoughtpolice/hs-ed25519"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE=""
-
-RESTRICT=test # fails on QC-2.10 as: The constructor ‘Failure’ should have 11 arguments, but has been given 10
-
-RDEPEND=">=dev-lang/ghc-7.4.1:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.10
-"
-
-src_prepare() {
- default
-
- cabal_chdeps \
- 'ghc-prim >= 0.1 && < 0.5' 'ghc-prim >= 0.1' \
- 'doctest >= 0.10 && < 0.11' 'doctest >= 0.10' \
- 'QuickCheck >= 2.4 && < 2.9' 'QuickCheck >= 2.4' \
- 'directory >= 1.0 && < 1.3' 'directory >= 1.0'
-}
-
-src_configure() {
- haskell-cabal_src_configure \
- --flag=no-donna \
- --flag=test-doctests \
- --flag=-test-hlint \
- --flag=test-properties
-}
diff --git a/dev-haskell/ed25519/metadata.xml b/dev-haskell/ed25519/metadata.xml
index 61e8ff87d20f..1b178c5d2d4d 100644
--- a/dev-haskell/ed25519/metadata.xml
+++ b/dev-haskell/ed25519/metadata.xml
@@ -5,13 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- This package provides a simple, fast, self-contained copy of the
- Ed25519 public-key signature system with a clean interface. It also
- includes support for detached signatures, and thorough documentation
- on the design and implementation, including usage guidelines.
- </longdescription>
<upstream>
+ <remote-id type="hackage">ed25519</remote-id>
<remote-id type="github">thoughtpolice/hs-ed25519</remote-id>
</upstream>
</pkgmetadata>