public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-haskell/mod/
@ 2020-08-22 21:31 Sergei Trofimovich
  0 siblings, 0 replies; only message in thread
From: Sergei Trofimovich @ 2020-08-22 21:31 UTC (permalink / raw
  To: gentoo-commits

commit:     6b57a26f514e37ea9c8879126d6e2e4c64553103
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 21:23:52 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 21:31:17 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b57a26f

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 <AT> gentoo.org>

 dev-haskell/mod/Manifest           |  1 +
 dev-haskell/mod/metadata.xml       | 16 ++++++++++++++++
 dev-haskell/mod/mod-0.1.1.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-haskell/mod/Manifest b/dev-haskell/mod/Manifest
new file mode 100644
index 00000000000..ac6e7f3277c
--- /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 00000000000..dbb7236e5c3
--- /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 00000000000..cf308500308
--- /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)
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-22 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-22 21:31 [gentoo-commits] repo/gentoo:master commit in: dev-haskell/mod/ Sergei Trofimovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox