diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:04:25 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:08:52 +0100 |
commit | 2a3fa2a1aba775da8e52c4b0eb9302168eee2f73 (patch) | |
tree | 486b8e6c52268f55eeb5cd807c02004a872e6e76 /dev-haskell/hspec-megaparsec | |
parent | dev-haskell/megaparsec: new package, add 9.2.2 (diff) | |
download | gentoo-2a3fa2a1aba775da8e52c4b0eb9302168eee2f73.tar.gz gentoo-2a3fa2a1aba775da8e52c4b0eb9302168eee2f73.tar.bz2 gentoo-2a3fa2a1aba775da8e52c4b0eb9302168eee2f73.zip |
dev-haskell/hspec-megaparsec: new package, add 2.2.0
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/hspec-megaparsec')
-rw-r--r-- | dev-haskell/hspec-megaparsec/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild | 33 | ||||
-rw-r--r-- | dev-haskell/hspec-megaparsec/metadata.xml | 12 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-haskell/hspec-megaparsec/Manifest b/dev-haskell/hspec-megaparsec/Manifest new file mode 100644 index 000000000000..5f4ffb75b8d2 --- /dev/null +++ b/dev-haskell/hspec-megaparsec/Manifest @@ -0,0 +1 @@ +DIST hspec-megaparsec-2.2.0.tar.gz 5298 BLAKE2B fe18c95325a7b17c214635d8e57477dcd55b10b9a8dad20ccbf7c3d8bdd9027b49da394397493276b1b5aceb5a8337f51688c409fbb1ea1ddf86e96502e19c8e SHA512 347e1d5275fbd52bc0a51a1106aab8de123034ec34d5f0a113af76136009bc16d2c570aa747e903e050899cf3d53a091e765af5aa67dd7eb3ee7aef6e62054a4 diff --git a/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild b/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild new file mode 100644 index 000000000000..6b254730f969 --- /dev/null +++ b/dev-haskell/hspec-megaparsec/hspec-megaparsec-2.2.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 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 test-suite" +inherit haskell-cabal + +DESCRIPTION="Utility functions for testing Megaparsec parsers with Hspec" +HOMEPAGE="https://github.com/mrkkrp/hspec-megaparsec" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/hspec-expectations-0.8:=[profile?] <dev-haskell/hspec-expectations-0.9:=[profile?] + >=dev-haskell/megaparsec-9.0:=[profile?] <dev-haskell/megaparsec-10.0:=[profile?] + >=dev-lang/ghc-8.6.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.4.0.1 + test? ( >=dev-haskell/hspec-2.0 <dev-haskell/hspec-3.0 ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-dev +} diff --git a/dev-haskell/hspec-megaparsec/metadata.xml b/dev-haskell/hspec-megaparsec/metadata.xml new file mode 100644 index 000000000000..8559a2fdcf9d --- /dev/null +++ b/dev-haskell/hspec-megaparsec/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <upstream> + <remote-id type="hackage">hspec-megaparsec</remote-id> + <remote-id type="github">mrkkrp/hspec-megaparsec</remote-id> + </upstream> +</pkgmetadata> |