diff options
author | Jack Todaro <solpeth@posteo.org> | 2020-07-30 11:25:14 +1000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-01 09:02:32 +0100 |
commit | 82e72817d39a3b396a19196d85f0ace3081709e3 (patch) | |
tree | 5dd72e21d038771d391a1bca6afc293ccff23217 /dev-haskell/text-metrics/text-metrics-0.3.0.ebuild | |
parent | dev-haskell/glob: bump up to 0.9.3 (diff) | |
download | gentoo-82e72817d39a3b396a19196d85f0ace3081709e3.tar.gz gentoo-82e72817d39a3b396a19196d85f0ace3081709e3.tar.bz2 gentoo-82e72817d39a3b396a19196d85f0ace3081709e3.zip |
dev-haskell/text-metrics: bump up to 0.3.0
Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Jack Todaro <solpeth@posteo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell/text-metrics/text-metrics-0.3.0.ebuild')
-rw-r--r-- | dev-haskell/text-metrics/text-metrics-0.3.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-haskell/text-metrics/text-metrics-0.3.0.ebuild b/dev-haskell/text-metrics/text-metrics-0.3.0.ebuild new file mode 100644 index 000000000000..8fa40c3a6f12 --- /dev/null +++ b/dev-haskell/text-metrics/text-metrics-0.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.5.5.9999 +#hackport: flags: -dev + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Calculate various string metrics efficiently" +HOMEPAGE="https://github.com/mrkkrp/text-metrics" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RESTRICT=test # does not pass tests on non-ascii symbols + +RDEPEND=">=dev-haskell/text-0.2:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/vector-0.11:=[profile?] <dev-haskell/vector-0.13:=[profile?] + >=dev-lang/ghc-7.10.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.22.2.0 + test? ( >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3.0 + >=dev-haskell/quickcheck-2.8 <dev-haskell/quickcheck-3.0 ) +" + +src_prepare() { + default + + cabal_chdeps \ + 'containers >= 0.5.6.2 && < 0.6' 'containers >= 0.5.6.2' +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-dev +} |