From 254f2d07454e3c81e5c1c300d43cc8db2ca10817 Mon Sep 17 00:00:00 2001 From: matoro Date: Tue, 12 Jul 2022 13:43:25 -0400 Subject: dev-haskell/lpeg: new package, add 1.0.3 Signed-off-by: matoro Signed-off-by: Sam James --- dev-haskell/lpeg/Manifest | 1 + dev-haskell/lpeg/lpeg-1.0.3.ebuild | 32 ++++++++++++++++++++++++++++++++ dev-haskell/lpeg/metadata.xml | 14 ++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-haskell/lpeg/Manifest create mode 100644 dev-haskell/lpeg/lpeg-1.0.3.ebuild create mode 100644 dev-haskell/lpeg/metadata.xml (limited to 'dev-haskell') diff --git a/dev-haskell/lpeg/Manifest b/dev-haskell/lpeg/Manifest new file mode 100644 index 000000000000..d4e67ba27c55 --- /dev/null +++ b/dev-haskell/lpeg/Manifest @@ -0,0 +1 @@ +DIST lpeg-1.0.3.tar.gz 40092 BLAKE2B fa7abf62be859a15b66aacefb8b170488a59a48cf8d209653bb274327af5ad145a047a0e654b37819045eb594389d405813dbe2c9956f91461bf29e4f3ad99d1 SHA512 636a983054576487af8663d627ea16b57894eca18c92a5994abcdeec11acaa1b5d7bb0da1eae0a1a175c75fad44c93a78c5a5e6e7ce25ddac67f5b376559fbdc diff --git a/dev-haskell/lpeg/lpeg-1.0.3.ebuild b/dev-haskell/lpeg/lpeg-1.0.3.ebuild new file mode 100644 index 000000000000..c2faa9ca52db --- /dev/null +++ b/dev-haskell/lpeg/lpeg-1.0.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.1.1.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="LPeg - Parsing Expression Grammars For Lua" +HOMEPAGE="https://hslua.org/" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="rely-on-shared-lpeg-library" + +RDEPEND=">=dev-haskell/lua-2.1:=[profile?] =dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( >=dev-haskell/tasty-0.11 + >=dev-haskell/tasty-hunit-0.9 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag rely-on-shared-lpeg-library rely-on-shared-lpeg-library) +} diff --git a/dev-haskell/lpeg/metadata.xml b/dev-haskell/lpeg/metadata.xml new file mode 100644 index 000000000000..604a49e01944 --- /dev/null +++ b/dev-haskell/lpeg/metadata.xml @@ -0,0 +1,14 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + Do not build lpeg from source, but trust that lpeg is +made available in other ways, e.g., through a +system-wide installation. The loader will be replaced +with a placeholder function that only emits a message. + + -- cgit v1.2.3-65-gdbad