summaryrefslogtreecommitdiff
path: root/dev-haskell/hslua
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/hslua')
-rw-r--r--dev-haskell/hslua/Manifest4
-rw-r--r--dev-haskell/hslua/hslua-1.1.2.ebuild49
-rw-r--r--dev-haskell/hslua/metadata.xml10
3 files changed, 55 insertions, 8 deletions
diff --git a/dev-haskell/hslua/Manifest b/dev-haskell/hslua/Manifest
index a361bbecb86a..6d07b37227af 100644
--- a/dev-haskell/hslua/Manifest
+++ b/dev-haskell/hslua/Manifest
@@ -1,3 +1,5 @@
DIST hslua-1.0.3.1.tar.gz 236734 BLAKE2B 45eba849c41a22fdc7d03729f0ac15fb25ff83d1cdcb905a58a5813ef34f3b2e2a98a7ff2991083672a7afd5898e50e6ef9c83157c773b9861bd1547f4da5972 SHA512 047bcf851727e7525f10f6c705ec8968f330373aedf22bc91c96a44e5abdced46622a66a87c7973eac178c69dd3371bbcf4b858ed3c442719279e4cac4e57657
+DIST hslua-1.1.2.tar.gz 244832 BLAKE2B 5da2b9c2da6f43d841662b3143d3cd5b084d3f32cd2804316a8741e863d4c8dcab85da650b219af4250b2d4ec0570a742dc13b8bbeab79ec6dd5d4ddbe4907be SHA512 886a9d555a034b8fe74d5184457dad9e1bc9bd75662760a0415a75222bd64c556043ce6f98bc11dc1d27c34212f87ad3ce2271d5ff8125c1b5a89263cdf987eb
EBUILD hslua-1.0.3.1.ebuild 1405 BLAKE2B cf81f09383e91ff08d5e02efdc64c80d4a1b6fabfc282fd5806022becf8b5f9bd56955ab148abc01abee8eda7f8835e8e21bef31d737ca879cdb3604964ffc01 SHA512 683aac87e2cd8846cca263c687b4f4e770d960c92005be242f580931522b422f0e856c6e583c502ef9b3730a54ab79a9d5118638143919ba47784c7b873167ff
-MISC metadata.xml 496 BLAKE2B 03b43a6f7206208babba5f617f629c4e3f129fcceae2d39a3326379dab93bcc8e0357725b97a470d5d63ad23feea43c719c7e4014400fe680d4757ba40801b10 SHA512 e2cbc21370efa8f4268956b43fdefe02cb09c2f2da86733e345bbf4eb891b838f6924b874ba38ec67218646b75472dffeacfc9af76832cfed029cdff562693ca
+EBUILD hslua-1.1.2.ebuild 1558 BLAKE2B 8b737fcbcee9cce4d4ebb749dbd432fd4536668cef86c5d024e81cd7275306e90bcf437d6acf839a9ace9e9a90065ecdf794839880dd7962bcdd3937a82111fd SHA512 9a3cc589126828d57b55a6ac5b3055885a6bbf154d0049dc39a61d12d09c2906fe89b2cde662f12fcce6ae19630dc98f42c542e5492fd94ac6b39bf7770d5c48
+MISC metadata.xml 559 BLAKE2B f03daddb36339dfe0a0efc078588c9517e19f6753bc8d7087f3062845fb9dbab43ddfe9142a1fd45ab2bab2a3c26bd15950e282a45515b250b5f375b2baa158a SHA512 e132dcc9cebff3d70a283fd7dc078eab31074a5dbf9486a1155549a0e5b73792408a9628abd80b940d79074c87d6f5be871ec3a09ea7051eeeafb80e2eaffa87
diff --git a/dev-haskell/hslua/hslua-1.1.2.ebuild b/dev-haskell/hslua/hslua-1.1.2.ebuild
new file mode 100644
index 000000000000..829469faf3e7
--- /dev/null
+++ b/dev-haskell/hslua/hslua-1.1.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.6
+#hackport: flags: -allow-unsafe-gc,-apicheck,-export-dynamic,-lua501,-lua502,-lua_32bits,-system-lua,-pkg-config
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A Lua language interpreter embedding in Haskell"
+HOMEPAGE="https://hslua.github.io/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="hardcode-reg-keys"
+
+RDEPEND=">=dev-haskell/base-compat-0.10:=[profile?]
+ >=dev-haskell/exceptions-0.8:=[profile?] <dev-haskell/exceptions-0.11:=[profile?]
+ >=dev-haskell/fail-4.9:=[profile?] <dev-haskell/fail-5:=[profile?]
+ >=dev-haskell/mtl-2.2:=[profile?] <dev-haskell/mtl-2.3:=[profile?]
+ >=dev-haskell/semigroups-0.18:=[profile?] <dev-haskell/semigroups-0.20:=[profile?]
+ >=dev-haskell/text-1.0:=[profile?] <dev-haskell/text-1.3:=[profile?]
+ >=dev-lang/ghc-7.10.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.22.2.0
+ test? ( >=dev-haskell/quickcheck-2.7
+ >=dev-haskell/quickcheck-instances-0.3
+ >=dev-haskell/tasty-0.11
+ >=dev-haskell/tasty-hunit-0.9
+ >=dev-haskell/tasty-quickcheck-0.8 )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-allow-unsafe-gc \
+ --flag=-apicheck \
+ --flag=-export-dynamic \
+ $(cabal_flag hardcode-reg-keys hardcode-reg-keys) \
+ --flag=-lua501 \
+ --flag=-lua502 \
+ --flag=-lua_32bits \
+ --flag=-pkg-config \
+ --flag=-system-lua
+}
diff --git a/dev-haskell/hslua/metadata.xml b/dev-haskell/hslua/metadata.xml
index a76459888050..6ca237e1273d 100644
--- a/dev-haskell/hslua/metadata.xml
+++ b/dev-haskell/hslua/metadata.xml
@@ -5,11 +5,7 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- The Scripting.Lua module is a wrapper of Lua language interpreter
- as described in www.lua.org.
-
- The package is standalone: full Lua interpreter version 5.1.4
- is distributed in this package as well.
- </longdescription>
+ <use>
+ <flag name="hardcode-reg-keys">Don't use CAPI to determine the names of certain registry key names but Use hard coded values for instead. This flag is required when compiling against Lua 5.3.3 or earlier, as those do not expose the necessary information in the @lauxlib.h@ header file.</flag>
+ </use>
</pkgmetadata>