summaryrefslogtreecommitdiff
path: root/dev-haskell/mod
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/mod
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-haskell/mod')
-rw-r--r--dev-haskell/mod/Manifest3
-rw-r--r--dev-haskell/mod/metadata.xml16
-rw-r--r--dev-haskell/mod/mod-0.1.1.0.ebuild34
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-haskell/mod/Manifest b/dev-haskell/mod/Manifest
new file mode 100644
index 000000000000..eb22969f512d
--- /dev/null
+++ b/dev-haskell/mod/Manifest
@@ -0,0 +1,3 @@
+DIST mod-0.1.1.0.tar.gz 9471 BLAKE2B 5f664e1d35abf143223bc25ab5eec054a5a2403ae43bec41fde0b4c386a68a2ede336c539cae6588c267d2104fa182896212d9ac88493919f4b4e66cecfe91b4 SHA512 08656e15e417f11a6e7980510e091d2a59d4786ae269795aba04d5952b08556cd1ee3b9c38b456bf86e08f505a797e82a68ee36eec27cd155692f14cedc2acb0
+EBUILD mod-0.1.1.0.ebuild 899 BLAKE2B 1af3bf7cda3cc71df7ee04b1af33d21bfe3f373f5e079316270ae89f56a340f52dab4ffa2c1d45db6e370f71dfdb8cde332a421d2cf5c2c6ee1a62c032a6e2c8 SHA512 918d6a0bdd1e7c26c61ae81e1605fc35cc53807ffcf38a1a337c4a6ab5e70bb69f8ac7fa72e64dee60753dceffca731a1e5f605345e2131451f8c10e88d94f21
+MISC metadata.xml 603 BLAKE2B 0ea6a60e9a65a101676038d18ea8e7d5bae689fa041707cef942a2aa3b66d72b66c293af2e551ad1a77e0c4fbb70d143a81ae9f04b819859da58acfa33a06fb8 SHA512 aaa980f5638822366286386e1db7f689d09e2d90fd537aeb79cc562599daf729a47b53e557813dcc30eac4f77f02e777b0e55bccf15955f2ec5e775b6b72ef1b
diff --git a/dev-haskell/mod/metadata.xml b/dev-haskell/mod/metadata.xml
new file mode 100644
index 000000000000..dbb7236e5c3c
--- /dev/null
+++ b/dev-haskell/mod/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>
+ <use>
+ <flag name="semirings">Derive semiring instances</flag>
+ </use>
+ <longdescription>
+ &lt;https://en.wikipedia.org/wiki/Modular_arithmetic Modular arithmetic&gt;,
+ promoting moduli to the type level, with an emphasis on performance.
+ Originally part of &lt;https://hackage.haskell.org/package/arithmoi arithmoi&gt; package.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-haskell/mod/mod-0.1.1.0.ebuild b/dev-haskell/mod/mod-0.1.1.0.ebuild
new file mode 100644
index 000000000000..cf308500308e
--- /dev/null
+++ b/dev-haskell/mod/mod-0.1.1.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.4.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Fast type-safe modular arithmetic"
+HOMEPAGE="https://github.com/Bodigrim/mod"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+semirings"
+
+RDEPEND=">=dev-lang/ghc-8.2.1:=
+ semirings? ( >=dev-haskell/semirings-0.5:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.0.0.2
+ test? ( dev-haskell/quickcheck-classes-base
+ >=dev-haskell/tasty-0.10
+ >=dev-haskell/tasty-quickcheck-0.9 <dev-haskell/tasty-quickcheck-0.11
+ semirings? ( >=dev-haskell/quickcheck-classes-0.6.3 ) )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag semirings semirings)
+}