Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/lua/
Date: Sun, 31 Jul 2022 04:10:57
Message-Id: 1659240631.277d0070a04258118a6d324235272d4f2c3d0262.sam@gentoo
1 commit: 277d0070a04258118a6d324235272d4f2c3d0262
2 Author: matoro <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
3 AuthorDate: Sun Jul 31 03:14:34 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 31 04:10:31 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=277d0070
7
8 dev-haskell/lua: drop 2.1.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-haskell/lua/Manifest | 1 -
13 dev-haskell/lua/lua-2.1.0.ebuild | 39 ---------------------------------------
14 dev-haskell/lua/metadata.xml | 19 -------------------
15 3 files changed, 59 deletions(-)
16
17 diff --git a/dev-haskell/lua/Manifest b/dev-haskell/lua/Manifest
18 index ed735fb75392..63f1348bc0b1 100644
19 --- a/dev-haskell/lua/Manifest
20 +++ b/dev-haskell/lua/Manifest
21 @@ -1,2 +1 @@
22 -DIST lua-2.1.0.tar.gz 212562 BLAKE2B 916eb056d5e920492821c21fb7a51e2f6cde7d5b17462378baa3fc00f22d4a1ac0435e2671fb3d7d722a972beed5d267c587790e0fa9d066ac3a5af3fd988954 SHA512 1360e163915e14381e457727e0d04abc089fef95b6c14331b355330ec35458d5ddf899f843ce61dffe23b86ceffd0d203fd66f2edb4cc8ce11f00278842e1a94
23 DIST lua-2.2.0.tar.gz 260005 BLAKE2B ec79108a72a6060fc82b94aac1e61c51aea0d570bac37add749654d903fec5b62c5caa82932606e9778431c80c68fceb11b5eba9d6c45c183a8f249934d26c55 SHA512 d19f54c9424773557f7ef7929be84dfcb7624d8a617d3383a771fe1ba7d6d5cd724c8fcd40475cde443e02e0cf3164a8869c0d67c90cf04b3b09ef6d876aa727
24
25 diff --git a/dev-haskell/lua/lua-2.1.0.ebuild b/dev-haskell/lua/lua-2.1.0.ebuild
26 deleted file mode 100644
27 index e3d79624aa13..000000000000
28 --- a/dev-haskell/lua/lua-2.1.0.ebuild
29 +++ /dev/null
30 @@ -1,39 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -# ebuild generated by hackport 0.7.1.1.9999
37 -#hackport: flags: -allow-unsafe-gc,-apicheck,-export-dynamic,-lua_32bits,+pkgconfig,+system-lua
38 -
39 -CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
40 -inherit haskell-cabal
41 -
42 -DESCRIPTION="Lua, an embeddable scripting language"
43 -HOMEPAGE="https://hslua.org/"
44 -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
45 -
46 -LICENSE="MIT"
47 -SLOT="0/${PV}"
48 -KEYWORDS="~amd64 ~ppc64 ~x86"
49 -IUSE="+allow-unsafe-gc apicheck +export-dynamic +hardcode-reg-keys lua-32bits"
50 -
51 -RDEPEND=">=dev-lang/ghc-8.4.3:=
52 - dev-lang/lua:5.3
53 -"
54 -DEPEND="${RDEPEND}
55 - >=dev-haskell/cabal-2.2.0.1
56 - test? ( >=dev-haskell/tasty-0.11
57 - >=dev-haskell/tasty-hunit-0.9 )
58 -"
59 -
60 -src_configure() {
61 - haskell-cabal_src_configure \
62 - --flag=-allow-unsafe-gc \
63 - --flag=-apicheck \
64 - --flag=-export-dynamic \
65 - $(cabal_flag hardcode-reg-keys hardcode-reg-keys) \
66 - --flag=-lua_32bits \
67 - --flag=pkg-config \
68 - --flag=system-lua
69 -}
70
71 diff --git a/dev-haskell/lua/metadata.xml b/dev-haskell/lua/metadata.xml
72 index d3429e60dd25..e48f482bf8de 100644
73 --- a/dev-haskell/lua/metadata.xml
74 +++ b/dev-haskell/lua/metadata.xml
75 @@ -6,25 +6,6 @@
76 <name>Gentoo Haskell</name>
77 </maintainer>
78 <use>
79 - <flag name="allow-unsafe-gc">Allow optimizations which make Lua&#39;s garbage collection
80 -potentially unsafe; enabling this should be safe if
81 -there are no callbacks into Haskell during Lua garbage
82 -collection cycles. The flag should be *disabled* if Lua
83 -objects can have Haskell finalizers, i.e., @__gc@
84 -metamethods that call Haskell function.</flag>
85 - <flag name="apicheck">Compile Lua with -DLUA_USE_APICHECK.</flag>
86 - <flag name="export-dynamic">Add all symbols to dynamic symbol table; disabling this
87 -will make it possible to create fully static binaries,
88 -but renders loading of dynamic C libraries impossible.</flag>
89 - <flag name="hardcode-reg-keys">Don&#39;t use CAPI to determine the names of certain
90 -registry key names but use hard coded values instead.
91 -This flag is required when compiling against Lua 5.3.3
92 -or earlier, as those versions do not expose the
93 -necessary information in the @lauxlib.h@ header file.
94 -Setting this flag should usually be unproblematic,
95 -except if the used Lua version has been patched
96 -heavily.</flag>
97 - <flag name="lua-32bits">Compile Lua with -DLUA_32BITS</flag>
98 <flag name="system-lua">Use @pkg-config@ to discover library and include paths.
99 Setting this flag implies `pkg-config`.</flag>
100 </use>