dev-haskell/exact-pi: 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>
This commit is contained in:
Sergei Trofimovich
2020-08-22 22:26:07 +01:00
parent 0d2cfb7d29
commit a7e23ca02f
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST exact-pi-0.5.0.1.tar.gz 9329 BLAKE2B 3f3a92f7dbf6bfcf629d5f978fcc5a6db3e24f0e42c854b3769b671ca301deb358993de7ef94e524373c73a967b7ea92c8da0fd812f7de85903cae4ddbd306c1 SHA512 873c445ff1044ce8f464b29d5bbe7bc02e2df8e267323f29870c8f816800dc403837852586c950725a871c78b1900db45b8172bb67c1da361e7b1b2bf3a56026

View File

@@ -0,0 +1,40 @@
# 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
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Exact rational multiples of pi (and integer powers of pi)"
HOMEPAGE="https://github.com/dmcclean/exact-pi/"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/numtype-dk-0.5:=[profile?]
>=dev-haskell/semigroups-0.8:=[profile?]
>=dev-lang/ghc-7.8.2:=
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.18.1.3
test? ( >=dev-haskell/quickcheck-2.10
>=dev-haskell/semigroups-0.9 <dev-haskell/semigroups-1.0
>=dev-haskell/tasty-0.10
>=dev-haskell/tasty-hunit-0.9 <dev-haskell/tasty-hunit-0.11
>=dev-haskell/tasty-quickcheck-0.9 <dev-haskell/tasty-quickcheck-0.11 )
"
src_prepare() {
default
cabal_chdeps \
'tasty >=0.10 && <1.2' 'tasty >=0.10' \
'QuickCheck >=2.10 && <2.12' 'QuickCheck >=2.10' \
'base >=4.7 && <4.13' 'base >=4.7'
}

View File

@@ -0,0 +1,12 @@
<?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>
Provides an exact representation for rational multiples of pi alongside an approximate representation of all reals.
Useful for storing and computing with conversion factors between physical units.
</longdescription>
</pkgmetadata>