summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:05:33 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:09:06 +0100
commit3d30a0d29dd4839cb67c68038d00b9c02f8439a5 (patch)
tree914e253a6afc3904e9b8bef32cca263e359dccff /dev-haskell/lpeg
parentdev-haskell/hslua-module-zip: new package, add 1.1.0 (diff)
downloadgentoo-3d30a0d29dd4839cb67c68038d00b9c02f8439a5.tar.gz
gentoo-3d30a0d29dd4839cb67c68038d00b9c02f8439a5.tar.bz2
gentoo-3d30a0d29dd4839cb67c68038d00b9c02f8439a5.zip
dev-haskell/lpeg: add 1.0.4
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/lpeg')
-rw-r--r--dev-haskell/lpeg/Manifest1
-rw-r--r--dev-haskell/lpeg/lpeg-1.0.4.ebuild31
-rw-r--r--dev-haskell/lpeg/metadata.xml4
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-haskell/lpeg/Manifest b/dev-haskell/lpeg/Manifest
index d4e67ba27c55..e8375ee4a088 100644
--- a/dev-haskell/lpeg/Manifest
+++ b/dev-haskell/lpeg/Manifest
@@ -1 +1,2 @@
DIST lpeg-1.0.3.tar.gz 40092 BLAKE2B fa7abf62be859a15b66aacefb8b170488a59a48cf8d209653bb274327af5ad145a047a0e654b37819045eb594389d405813dbe2c9956f91461bf29e4f3ad99d1 SHA512 636a983054576487af8663d627ea16b57894eca18c92a5994abcdeec11acaa1b5d7bb0da1eae0a1a175c75fad44c93a78c5a5e6e7ce25ddac67f5b376559fbdc
+DIST lpeg-1.0.4.tar.gz 40132 BLAKE2B 03b1edc225b21d09a69da62157564b504115428843dec4f49575f701f4153b12f5f35005bcb7b5738d299910fddbc58851963800f28bed5584ab73efdaa4fcea SHA512 683af7bc2b695a4058f757de7b45759bbaea790d893109256fb9ee13607f15e765e36aa7df7fff6215d93e4aee480b4e0097a52d261673603e7ae6f632d476c0
diff --git a/dev-haskell/lpeg/lpeg-1.0.4.ebuild b/dev-haskell/lpeg/lpeg-1.0.4.ebuild
new file mode 100644
index 000000000000..1d47374670a2
--- /dev/null
+++ b/dev-haskell/lpeg/lpeg-1.0.4.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.2.0.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="LPeg – Parsing Expression Grammars For Lua"
+HOMEPAGE="https://hslua.org/"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="rely-on-shared-lpeg-library"
+
+RDEPEND=">=dev-haskell/lua-2.1:=[profile?] <dev-haskell/lua-2.4:=[profile?]
+ >=dev-lang/ghc-8.8.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0
+ 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
index 0e2931233720..571add0e90e2 100644
--- a/dev-haskell/lpeg/metadata.xml
+++ b/dev-haskell/lpeg/metadata.xml
@@ -11,4 +11,8 @@ 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.</flag>
</use>
+ <upstream>
+ <remote-id type="hackage">lpeg</remote-id>
+ <remote-id type="github">hslua/hslua</remote-id>
+ </upstream>
</pkgmetadata>