diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-02-04 07:04:51 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-02-04 07:05:02 +0000 |
commit | 90bf4fd2ed41f1e4e61f73574a162c8c87ff207a (patch) | |
tree | 06ad91c9feddfa27b2e101e8f79879a6792fb4d2 /dev-haskell | |
parent | dev-ruby/mechanize: cleanup (diff) | |
download | gentoo-90bf4fd2ed41f1e4e61f73574a162c8c87ff207a.tar.gz gentoo-90bf4fd2ed41f1e4e61f73574a162c8c87ff207a.tar.bz2 gentoo-90bf4fd2ed41f1e4e61f73574a162c8c87ff207a.zip |
dev-haskell/megaparsec: bump up to 9.0.1
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/megaparsec/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/megaparsec/megaparsec-9.0.1.ebuild | 44 | ||||
-rw-r--r-- | dev-haskell/megaparsec/metadata.xml | 4 |
3 files changed, 46 insertions, 4 deletions
diff --git a/dev-haskell/megaparsec/Manifest b/dev-haskell/megaparsec/Manifest index c77ba481b006..0f0b59d2495b 100644 --- a/dev-haskell/megaparsec/Manifest +++ b/dev-haskell/megaparsec/Manifest @@ -1 +1,3 @@ DIST megaparsec-8.0.0.tar.gz 59692 BLAKE2B dabde94500b5f4e27437779fa2db288f71c7b493201e2150eed3d2ed6d2117bc9d9ba8100c1ffad7a6ac6160ea03d373fd3360e549d7f20284dae2257ba10e2c SHA512 ab550a99548da2739a70cc4bdb3313085b3179c58d19a84d30744d89fe2d7556b9b552d4ad7b177b18f9f5821daa5417c2b9267eadd9eb537132666c151513c3 +DIST megaparsec-9.0.1.cabal 3248 BLAKE2B 66276c46371fee1eb8a4de8f380700eff4110f3e5f235b5d65e09a965fd2127e3e6b4c8d1496a0eef9561600d20e6930f6aa889e3cb7df7ae79b5e65848aa2cc SHA512 2d3933a46a909cf44a53d4e30d8bd6fc126e86acac4d297df1d0bbc3364f0463533ee141bbced82dc635bce6d8b86e856ebb358ad97e8c01d822a2623a4ec437 +DIST megaparsec-9.0.1.tar.gz 59734 BLAKE2B 61408e911178a3bd96feaf9def4cba0d47042fbe949ff47b49abd249839ffe52c0df0d8c0f38644aade491e4af2d7f9cd3763cfb73ce9b12a8f49494877f0847 SHA512 24ae5f291611a06ff69199d642de32d6dc5efc40cf6c6ccddcc59ff9d210a7bbd061ca17f1b5e04c2dded72108f140785f4ccfa64898b41f4ac7e21784c7b074 diff --git a/dev-haskell/megaparsec/megaparsec-9.0.1.ebuild b/dev-haskell/megaparsec/megaparsec-9.0.1.ebuild new file mode 100644 index 000000000000..f1779d9f0549 --- /dev/null +++ b/dev-haskell/megaparsec/megaparsec-9.0.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# ebuild generated by hackport 0.6.7.9999 +#hackport: flags: -dev + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit haskell-cabal + +DESCRIPTION="Monadic parser combinators" +HOMEPAGE="https://github.com/mrkkrp/megaparsec" +SRC_URI=" + https://hackage.haskell.org/package/${P}/${P}.tar.gz + https://hackage.haskell.org/package/${P}/revision/1.cabal -> ${PF}.cabal + " + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/case-insensitive-1.2:=[profile?] <dev-haskell/case-insensitive-1.3:=[profile?] + >=dev-haskell/mtl-2.2.2:=[profile?] <dev-haskell/mtl-3.0:=[profile?] + >=dev-haskell/parser-combinators-1.0:=[profile?] <dev-haskell/parser-combinators-2.0:=[profile?] + >=dev-haskell/scientific-0.3.1:=[profile?] <dev-haskell/scientific-0.4:=[profile?] + >=dev-haskell/text-0.2:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 +" + +src_prepare() { + default + + cp "${DISTDIR}/${PF}.cabal" "${S}/${PN}.cabal" || die +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-dev +} diff --git a/dev-haskell/megaparsec/metadata.xml b/dev-haskell/megaparsec/metadata.xml index 3d98afc09884..b7878815d80d 100644 --- a/dev-haskell/megaparsec/metadata.xml +++ b/dev-haskell/megaparsec/metadata.xml @@ -5,8 +5,4 @@ <email>haskell@gentoo.org</email> <name>Gentoo Haskell</name> </maintainer> - <longdescription> - This is industrial-strength monadic parser combinator library. Megaparsec is - a fork of Parsec library originally written by Daan Leijen. - </longdescription> </pkgmetadata> |