summaryrefslogtreecommitdiff
path: root/dev-haskell/integer-logarithms
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-haskell/integer-logarithms
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/integer-logarithms')
-rw-r--r--dev-haskell/integer-logarithms/Manifest3
-rw-r--r--dev-haskell/integer-logarithms/integer-logarithms-1.0.3.ebuild43
-rw-r--r--dev-haskell/integer-logarithms/metadata.xml16
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-haskell/integer-logarithms/Manifest b/dev-haskell/integer-logarithms/Manifest
new file mode 100644
index 000000000000..82ed81f994f4
--- /dev/null
+++ b/dev-haskell/integer-logarithms/Manifest
@@ -0,0 +1,3 @@
+DIST integer-logarithms-1.0.3.tar.gz 8840 BLAKE2B d59a01c2b712c499ee5c81da0d8055d96137f5a1c55ccc5a77ca99449743b753223949de2a0289965423ae16bb61eef7452ace736cc5a0d6448d7f1ab8318fed SHA512 b211127620bb52398ae7e64281f991d9dd016d5f74ff5d939275afea15689b01f82577efeaa2dfcdf4230cfea841f6c14f731ba16d38192f48e2e7ae90e704f3
+EBUILD integer-logarithms-1.0.3.ebuild 986 BLAKE2B 3342fac7f8b3ba3b019249e9766e2cc84febe55dd4c7575cec22cbe5750a90903741ee6cc5eea87b1064f2955b53641b1fb50f6fae893fbc1a8b5ad06f7993bd SHA512 9dcbad03dc721de0757e18b39c62548ebdf1f75402b827ba4ee7257964e0b448040aa6e170b5756a88ae76729f00544d267866fd18059719c06f95b0eb1d9ee6
+MISC metadata.xml 589 BLAKE2B 76de72281a61f80bb438d9ab8ff0624c80ae6b947d275489ae30931232035fc16a65b0f61b9c08943a8d07b2967a3b8677afdbc9b8184582d20b3246e8b8fed1 SHA512 806816183d7c86a1102b3e8591631464c38db3f1b5af355f5e0967eb630fc11ad6340f05eae883b0eff1ce16d50187df184d31807e151e5dc43539d2cb468974
diff --git a/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.ebuild b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.ebuild
new file mode 100644
index 000000000000..baf54225bac4
--- /dev/null
+++ b/dev-haskell/integer-logarithms/integer-logarithms-1.0.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.9999
+#hackport: flags: -check-bounds,+integer-gmp
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour" # test-suite": circular depends
+inherit haskell-cabal
+
+DESCRIPTION="Integer logarithms"
+HOMEPAGE="https://github.com/Bodigrim/integer-logarithms"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+#circular dependency: scientific -> integer-logarithms -> tasty -> scientific
+RESTRICT="test"
+
+RDEPEND=">=dev-haskell/nats-1.1.2:=[profile?] <dev-haskell/nats-1.2:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+"
+
+src_prepare() {
+ default
+
+ cabal_chdeps \
+ 'base >= 4.3 && < 4.13' 'base >= 4.3' \
+ 'ghc-prim < 0.6' 'ghc-prim'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-check-bounds \
+ --flag=integer-gmp
+}
diff --git a/dev-haskell/integer-logarithms/metadata.xml b/dev-haskell/integer-logarithms/metadata.xml
new file mode 100644
index 000000000000..d1bc98b5a57b
--- /dev/null
+++ b/dev-haskell/integer-logarithms/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>haskell@gentoo.org</email>
+ <name>Gentoo Haskell</name>
+ </maintainer>
+ <longdescription>
+ &quot;Math.NumberTheory.Logarithms&quot; and &quot;Math.NumberTheory.Powers.Integer&quot;
+ from the arithmoi package.
+
+ Also provides &quot;GHC.Integer.Logarithms.Compat&quot; and
+ &quot;Math.NumberTheory.Power.Natural&quot; modules, as well as some
+ additional functions in migrated modules.
+ </longdescription>
+</pkgmetadata>