summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:08:18 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:48 +0100
commitf988af12cf80b538e3a12895419e971ad3dcbaff (patch)
tree2d1c486442e697ebcfdb4d70da060a729838c994 /dev-haskell/integer-logarithms
parentdev-haskell/indexed-traversable: add 0.1.2.1 (diff)
downloadgentoo-f988af12cf80b538e3a12895419e971ad3dcbaff.tar.gz
gentoo-f988af12cf80b538e3a12895419e971ad3dcbaff.tar.bz2
gentoo-f988af12cf80b538e3a12895419e971ad3dcbaff.zip
dev-haskell/integer-logarithms: Hackage revision bump
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/integer-logarithms')
-rw-r--r--dev-haskell/integer-logarithms/Manifest1
-rw-r--r--dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r1.ebuild46
-rw-r--r--dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r2.ebuild48
-rw-r--r--dev-haskell/integer-logarithms/metadata.xml4
4 files changed, 53 insertions, 46 deletions
diff --git a/dev-haskell/integer-logarithms/Manifest b/dev-haskell/integer-logarithms/Manifest
index f75dfc862437..b50896cee19d 100644
--- a/dev-haskell/integer-logarithms/Manifest
+++ b/dev-haskell/integer-logarithms/Manifest
@@ -1 +1,2 @@
+DIST integer-logarithms-1.0.3.1-rev4.cabal 3262 BLAKE2B 7f75cecf3dc90bc6e50f55990c2b1be832cb0b94fbd0c0b6d8d985ecd21aee1a6f078b74af72676ce303261f1e71d5e3b177985baa8b005f52020d0b84159a93 SHA512 217c0fd597f2519879adba16c8e10ee562928102f7c9786a604e7ec12ea683c751d28902296d1153d30a752f566ea6c8cb83c86c990e3cdbb358807b3de71d9b
DIST integer-logarithms-1.0.3.1.tar.gz 9023 BLAKE2B 29a9e2e73a6fb63f31ad87b53161b9f669a3cf6fed2992d7bf7414d9c9cff9cbe00baa301f7a7889fc0a31ff635d85dafc49ed5ce3f009202ba017b47e75c8a0 SHA512 670aff419de8d6afd1b7e1a40b68290bcf7aefad788c3b08aebfa5ca3e709f5d22543fce82fb75dc18b3ba0ef6d8a8f61735cde647a7a6c9392a60ec365534b3
diff --git a/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r1.ebuild b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r1.ebuild
deleted file mode 100644
index 2daf70cdd289..000000000000
--- a/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ebuild generated by hackport 0.6.7.9999
-#hackport: flags: -check-bounds
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite"
-inherit haskell-cabal
-
-DESCRIPTION="Integer logarithms"
-HOMEPAGE="https://github.com/haskellari/integer-logarithms"
-SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE=""
-
-#circular dependency: scientific -> integer-logarithms -> tasty -> scientific
-RESTRICT=test
-
-RDEPEND=">=dev-lang/ghc-8.4.3:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-2.2.0.1"
-# test? ( >=dev-haskell/quickcheck-2.14.1 <dev-haskell/quickcheck-2.15
-# >=dev-haskell/smallcheck-1.2 <dev-haskell/smallcheck-1.3
-# >=dev-haskell/tasty-0.10 <dev-haskell/tasty-1.4
-# >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11
-# >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11
-# >=dev-haskell/tasty-smallcheck-0.8 <dev-haskell/tasty-smallcheck-0.9 )
-# "
-
-src_prepare() {
- default
-
- cabal_chdeps \
- 'ghc-bignum >=1.0 && <1.1' 'ghc-bignum >=1.0'
-}
-
-src_configure() {
- haskell-cabal_src_configure \
- --flag=-check-bounds
-}
diff --git a/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r2.ebuild b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r2.ebuild
new file mode 100644
index 000000000000..286e3937405a
--- /dev/null
+++ b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.1-r2.ebuild
@@ -0,0 +1,48 @@
+# 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: -check-bounds,+integer-gmp
+
+CABAL_HACKAGE_REVISION=4
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Integer logarithms"
+HOMEPAGE="https://github.com/haskellari/integer-logarithms"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RDEPEND="
+ >=dev-lang/ghc-8.4.3:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+ test? (
+ >=dev-haskell/quickcheck-2.14.1 <dev-haskell/quickcheck-2.15
+ >=dev-haskell/smallcheck-1.2 <dev-haskell/smallcheck-1.3
+ >=dev-haskell/tasty-0.10 <dev-haskell/tasty-1.5
+ >=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11
+ >=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11
+ >=dev-haskell/tasty-smallcheck-0.8 <dev-haskell/tasty-smallcheck-0.9
+ )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-check-bounds \
+ --flag=integer-gmp
+}
+
+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
+}
diff --git a/dev-haskell/integer-logarithms/metadata.xml b/dev-haskell/integer-logarithms/metadata.xml
index 937381521944..b5ed47e1ed50 100644
--- a/dev-haskell/integer-logarithms/metadata.xml
+++ b/dev-haskell/integer-logarithms/metadata.xml
@@ -5,4 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
+ <upstream>
+ <remote-id type="hackage">integer-logarithms</remote-id>
+ <remote-id type="github">haskellari/integer-logarithms</remote-id>
+ </upstream>
</pkgmetadata>