diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-22 22:23:52 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-22 22:31:17 +0100 |
commit | 6b57a26f514e37ea9c8879126d6e2e4c64553103 (patch) | |
tree | 445c70aec5a610c428f60c773c9c8c4c0a6c8d49 /dev-haskell | |
parent | dev-haskell/quickcheck-classes: new package, a depend of arithmoi-0.11 (diff) | |
download | gentoo-6b57a26f514e37ea9c8879126d6e2e4c64553103.tar.gz gentoo-6b57a26f514e37ea9c8879126d6e2e4c64553103.tar.bz2 gentoo-6b57a26f514e37ea9c8879126d6e2e4c64553103.zip |
dev-haskell/mod: new package, a depend of arithmoi-0.11
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/mod/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/mod/metadata.xml | 16 | ||||
-rw-r--r-- | dev-haskell/mod/mod-0.1.1.0.ebuild | 34 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-haskell/mod/Manifest b/dev-haskell/mod/Manifest new file mode 100644 index 000000000000..ac6e7f3277cd --- /dev/null +++ b/dev-haskell/mod/Manifest @@ -0,0 +1 @@ +DIST mod-0.1.1.0.tar.gz 9471 BLAKE2B 5f664e1d35abf143223bc25ab5eec054a5a2403ae43bec41fde0b4c386a68a2ede336c539cae6588c267d2104fa182896212d9ac88493919f4b4e66cecfe91b4 SHA512 08656e15e417f11a6e7980510e091d2a59d4786ae269795aba04d5952b08556cd1ee3b9c38b456bf86e08f505a797e82a68ee36eec27cd155692f14cedc2acb0 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> + <https://en.wikipedia.org/wiki/Modular_arithmetic Modular arithmetic>, + promoting moduli to the type level, with an emphasis on performance. + Originally part of <https://hackage.haskell.org/package/arithmoi arithmoi> 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) +} |