summaryrefslogtreecommitdiff
path: root/dev-haskell/scientific
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-10-23 08:35:49 +0100
commit386855c4d1ef509c1fd32abd721589c81669613b (patch)
tree35dc984118f0a7dc2df88313d83bb5779fd12514 /dev-haskell/scientific
parent0118ac4510d7b85ca62da20e4abd1286dd8bd752 (diff)
gentoo auto-resync : 23:10:2023 - 08:35:49
Diffstat (limited to 'dev-haskell/scientific')
-rw-r--r--dev-haskell/scientific/Manifest6
-rw-r--r--dev-haskell/scientific/metadata.xml15
-rw-r--r--dev-haskell/scientific/scientific-0.3.7.0-r1.ebuild52
-rw-r--r--dev-haskell/scientific/scientific-0.3.7.0-r2.ebuild49
4 files changed, 53 insertions, 69 deletions
diff --git a/dev-haskell/scientific/Manifest b/dev-haskell/scientific/Manifest
index 1afea603b6c1..e79930421a6d 100644
--- a/dev-haskell/scientific/Manifest
+++ b/dev-haskell/scientific/Manifest
@@ -1,4 +1,4 @@
-DIST scientific-0.3.7.0-r1.cabal 4826 BLAKE2B 5c97f879ac7fe64e6584283bd65539aba51a66844bdb19926c163117d36ffc7412434a7191657f4d0f53904299be4893486da489fceba2bfbaa3b6ab8622184e SHA512 e4f9a79dfc05bf9619df070ce9553322bcbf36d81c649ec25afc3ea148fba0eed89ea9e4725942da664109ba3468e383433e4afc9a93d903a17eb50735246832
+DIST scientific-0.3.7.0-rev5.cabal 4854 BLAKE2B b9490a11d6cea1395cf1cea0bc85627a097aeff7db397de045195b2d0a0db093a39861d5b50e447d98a4b96da3c61eb6d53dffba216c6257ec5b7a009290d6c2 SHA512 3a2c8babc65040692c95f5bbf033d31ec4a3e63382739dfa27a6c0920c96cbcebb982a05222983c796cb04ac81a7b641a742f1d6b9a657f3450bb07242859e90
DIST scientific-0.3.7.0.tar.gz 24723 BLAKE2B b50d995f6b46d37011823cdd096b1166244c1ab453db490da61eefcf0913f28b9a0b70798aa4ec3c29e6b836d473800b556b6ff062e1e2bee6a25174cd18d52d SHA512 dbd13060a6d1d101138715b4106382a78d115cff247859cb6f83aca3cdb6f6caf8a2c52d7ae99be64845c5e4a7959940bbf31df6265b15079c236f193b087865
-EBUILD scientific-0.3.7.0-r1.ebuild 1607 BLAKE2B 7b839028f76a35c1c5430cf45ab5680ff3c45c732bdc21f8de136f33b972d200b29034aeeba7d42f62b98fe04db54d4de3f4cf087bdc5002f788d06f0ce749d3 SHA512 7e48765e844924c3624021e8197afacfa21f312f5d16ff87b2a15dfec5197b51eea21eb9966f23d23b9671d407502dd6089cb73abe1a342c3cd6dfd776e08a11
-MISC metadata.xml 866 BLAKE2B 3f2306ce6b2a6fbd6783f8483bbd28055e0c54263928b320026d75bf294120a4d3d546adc16252a915f0b6a560e7d122d133b5d6475170b628274a721f81b24f SHA512 921e57c9c8427335d9a913a91923aca3414a0f063973a7d00ba661c91ee315d059f82df0dc9efa8a8c31f3c426ed2d837a6e4e6c4c09daa24639206b4772b920
+EBUILD scientific-0.3.7.0-r2.ebuild 1425 BLAKE2B fd5e7ba007259159deea9ceceaa551f6383104de91d60560d82ab5a2be2f82f6f1b1d7ac7e2d92042b3c4fb420e2a78b17d9e3ad47eb004979e8d3a5b18f5ea4 SHA512 f9fbdbc85fa6e48c00d2e8fcb512a6e2a808c499b4e06d26f09466820f458c724f0aa49c1fb9989d97c94195724465cbe8dcdeed14223a67f3bc100035f744e9
+MISC metadata.xml 387 BLAKE2B 43997a8b46811eab0a45884fb7306bb7c5753bd71802644cf4f1254740212c22fc0e8c40bd1de79fa9200458e9cbb89cec384d952c9eb95279136ac176b85715 SHA512 9cfe284b88366e617b2742ca026671eab01d6f7df853ccad03e99ddc4dbc77a954b002660da87bf2015e03336e462bb745c16d2dc6a844b16ce71c7941db9fa4
diff --git a/dev-haskell/scientific/metadata.xml b/dev-haskell/scientific/metadata.xml
index 2900651af244..1b6ea2a6660c 100644
--- a/dev-haskell/scientific/metadata.xml
+++ b/dev-haskell/scientific/metadata.xml
@@ -5,21 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- A @Scientific@ number is an arbitrary-precision floating-point number
- represented using scientific notation.
-
- A scientific number with 'coefficient' @c@ and
- 'base10Exponent' @e@ corresponds to the
- 'Fractional' number: @'fromInteger' c * 10 '^^' e@
-
- Its primary use-case is to serve as the target of
- parsing floating point numbers. Since the textual
- representation of floating point numbers use
- scientific notation they can be efficiently
- parsed to a @Scientific@ number.
- </longdescription>
<upstream>
+ <remote-id type="hackage">scientific</remote-id>
<remote-id type="github">basvandijk/scientific</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-haskell/scientific/scientific-0.3.7.0-r1.ebuild b/dev-haskell/scientific/scientific-0.3.7.0-r1.ebuild
deleted file mode 100644
index d3f15fad4a24..000000000000
--- a/dev-haskell/scientific/scientific-0.3.7.0-r1.ebuild
+++ /dev/null
@@ -1,52 +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.7.1.1.9999
-#hackport: flags: -integer-simple
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite
-CABAL_HACKAGE_REVISION="2"
-inherit haskell-cabal
-RESTRICT="test" # circular dependencies
-
-DESCRIPTION="Numbers represented using scientific notation"
-HOMEPAGE="https://github.com/basvandijk/scientific"
-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.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?]
- >=dev-haskell/integer-logarithms-1.0.3.1:=[profile?] <dev-haskell/integer-logarithms-1.1:=[profile?]
- >=dev-haskell/primitive-0.7.1.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?]
- >=dev-lang/ghc-8.4.3:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-2.2.0.1"
-# test? ( >=dev-haskell/quickcheck-2.14.2
-# >=dev-haskell/smallcheck-1.0
-# >=dev-haskell/tasty-1.4.0.1
-# >=dev-haskell/tasty-hunit-0.8
-# >=dev-haskell/tasty-quickcheck-0.8
-# >=dev-haskell/tasty-smallcheck-0.2 )
-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 \
- --flag=-integer-simple
-}
diff --git a/dev-haskell/scientific/scientific-0.3.7.0-r2.ebuild b/dev-haskell/scientific/scientific-0.3.7.0-r2.ebuild
new file mode 100644
index 000000000000..68dbd52ad020
--- /dev/null
+++ b/dev-haskell/scientific/scientific-0.3.7.0-r2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.0.0.9999
+#hackport: flags: -integer-simple
+
+CABAL_HACKAGE_REVISION=5
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Numbers represented using scientific notation"
+HOMEPAGE="https://github.com/basvandijk/scientific"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-haskell/hashable-1.2.7.0:=[profile?] <dev-haskell/hashable-1.5:=[profile?]
+ >=dev-haskell/integer-logarithms-1.0.3.1:=[profile?] <dev-haskell/integer-logarithms-1.1:=[profile?]
+ >=dev-haskell/primitive-0.7.1.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?]
+ >=dev-lang/ghc-8.4.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+ test? (
+ >=dev-haskell/quickcheck-2.14.2
+ >=dev-haskell/smallcheck-1.0
+ >=dev-haskell/tasty-1.4.0.1
+ >=dev-haskell/tasty-hunit-0.8
+ >=dev-haskell/tasty-quickcheck-0.8
+ >=dev-haskell/tasty-smallcheck-0.2
+ )
+"
+pkg_pretend() {
+ if use test; then
+ ewarn "The \"test\" USE flag for this package creates cycles within the"
+ ewarn "dependency graph. This may give you problems during 'haskell-updater' runs."
+ ewarn "It is recommended to leave it disabled unless explicitly testing the package."
+ fi
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-integer-simple
+}