diff options
Diffstat (limited to 'dev-haskell/exact-pi')
-rw-r--r-- | dev-haskell/exact-pi/Manifest | 3 | ||||
-rw-r--r-- | dev-haskell/exact-pi/exact-pi-0.5.0.1.ebuild | 40 | ||||
-rw-r--r-- | dev-haskell/exact-pi/metadata.xml | 12 |
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-haskell/exact-pi/Manifest b/dev-haskell/exact-pi/Manifest new file mode 100644 index 000000000000..6b442452bf4e --- /dev/null +++ b/dev-haskell/exact-pi/Manifest @@ -0,0 +1,3 @@ +DIST exact-pi-0.5.0.1.tar.gz 9329 BLAKE2B 3f3a92f7dbf6bfcf629d5f978fcc5a6db3e24f0e42c854b3769b671ca301deb358993de7ef94e524373c73a967b7ea92c8da0fd812f7de85903cae4ddbd306c1 SHA512 873c445ff1044ce8f464b29d5bbe7bc02e2df8e267323f29870c8f816800dc403837852586c950725a871c78b1900db45b8172bb67c1da361e7b1b2bf3a56026 +EBUILD exact-pi-0.5.0.1.ebuild 1094 BLAKE2B 39f81b32aa52852d764ca5314391444d25bb102c11e9b9df6e2f071b4cc7ed74863088e11c1570aed7a90a00a88f5d0f3c82e68034ea0cfe984824738024ac44 SHA512 85b9707fe876595fc6739249f3a704e4043ae617119ec766f02d274298470949aec200ed87a804b376bd34cba2cee1a425465274faa5e7b7400757c14609017b +MISC metadata.xml 489 BLAKE2B 97283aa3d5901d65311b663488ef641b783261d42c533a4512986e08eda07b054b8495b48abbeccddd3f21367d6c43f6ab5ffc4881527e2fbdbaa267c9c52cbe SHA512 fe3a5b130544fa64abb722a76315a57afbdf127c5414923afa15ce67092bb6be0e1f9b8bfa346a8ab6188acc99a2e498d957f830cca86e76aaa2eeb529af20c2 diff --git a/dev-haskell/exact-pi/exact-pi-0.5.0.1.ebuild b/dev-haskell/exact-pi/exact-pi-0.5.0.1.ebuild new file mode 100644 index 000000000000..fa7a53cbd593 --- /dev/null +++ b/dev-haskell/exact-pi/exact-pi-0.5.0.1.ebuild @@ -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' +} diff --git a/dev-haskell/exact-pi/metadata.xml b/dev-haskell/exact-pi/metadata.xml new file mode 100644 index 000000000000..2a02051ec531 --- /dev/null +++ b/dev-haskell/exact-pi/metadata.xml @@ -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> |