summaryrefslogtreecommitdiff
path: root/dev-haskell/ed25519
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/ed25519')
-rw-r--r--dev-haskell/ed25519/Manifest5
-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, 43 insertions, 53 deletions
diff --git a/dev-haskell/ed25519/Manifest b/dev-haskell/ed25519/Manifest
index b472bdad63c2..9621defd730b 100644
--- a/dev-haskell/ed25519/Manifest
+++ b/dev-haskell/ed25519/Manifest
@@ -1,3 +1,4 @@
+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
-EBUILD ed25519-0.0.5.0.ebuild 1186 BLAKE2B 53d5d348c02b7296c98bbeb9d0275285436516898cbd9848c2a25bb7d99c608a803222d84e87cc23b89c7d4ce0ccc761fd9afc7bd1fed07ee4371c8cef11e7a6 SHA512 1071466806334f4399fd4ae1492cc0e701d538b47460d52469550a0404e2d298561e123147f1cce261ebf9af05f832b2d74619e7e7fca09ea2a8e5f4745a31d5
-MISC metadata.xml 650 BLAKE2B 111c2a0c7cb8bd3c8426af34b8692d501e064b766399f64d343b538e553e561d34420c102bad1607be25bf9cbdbd4606d160e81a60c9a5bbd9bedc04d9158bee SHA512 ab9c61e44e8779758abd0736fc20f3918f6bc420dc527e78ba504874c3ddbc5184cee6e6bec9110edef957829c4e48af98ccedd8f6ce63a5955ad8cd7bbc518b
+EBUILD ed25519-0.0.5.0-r1.ebuild 919 BLAKE2B b5f9b97af98324414cc37e58dd96d1d8eedfddecddf08026b2a3dcbfb677fa98153dca173d55e05dfd4e6ce7cb7bf7e89bd15126d9cc3f3476cdd8257e8c035a SHA512 c72bd11e5d623b486aa0fe6ee394aa2bd3fc5f852d6022531323955bb3c078f2d812596b0b6a66dce07f43943d2b03c215d266502184daff7cbee8c8fc32357b
+MISC metadata.xml 387 BLAKE2B 57bfeddfbf420f550a427df775bef073953e8c7e5f0fa065407562284dbe144dc3c130ac3ae9ceca9e46ea92da12aad194090aa2a74437515c0d411777396efa SHA512 3f09bd40e104aa397607cc4eeaa553b9865815f6093895de918c5075b026a13d64b2328880863f5864cf2ad5540d7ec59192c7fe500a31631251b100e17ad420
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>