From abaa75b10f899ada8dd05b23cc03205064394bc6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Jan 2021 20:28:19 +0000 Subject: gentoo resync : 22.01.2021 --- dev-lua/Manifest.gz | Bin 6816 -> 6815 bytes dev-lua/lanes/Manifest | 5 +- .../lanes/files/lanes-3.10.0-fix-makefile.patch | 28 ------- dev-lua/lanes/lanes-3.10.0.ebuild | 31 -------- dev-lua/lanes/lanes-3.13.0.ebuild | 4 +- dev-lua/lua-cjson/Manifest | 5 -- .../lua-cjson/files/sparse_array_test_fix.patch | 47 ----------- dev-lua/lua-cjson/lua-cjson-2.1.0.6.ebuild | 45 ----------- dev-lua/lua-cjson/lua-cjson-2.1.0.7.ebuild | 45 ----------- dev-lua/luacheck/Manifest | 2 +- dev-lua/luacheck/luacheck-0.23.0-r1.ebuild | 4 +- dev-lua/luacov/Manifest | 3 - dev-lua/luacov/files/luacov-0.8-fix-makefile.patch | 25 ------ dev-lua/luacov/luacov-0.8.ebuild | 36 --------- dev-lua/luaposix/Manifest | 2 +- dev-lua/luaposix/luaposix-35.0-r100.ebuild | 70 ----------------- dev-lua/luaposix/luaposix-35.0-r101.ebuild | 76 ++++++++++++++++++ dev-lua/luarocks/Manifest | 5 +- dev-lua/luarocks/luarocks-3.4.0-r100.ebuild | 87 --------------------- dev-lua/luarocks/luarocks-3.4.0.ebuild | 71 ----------------- dev-lua/luarocks/luarocks-3.5.0.ebuild | 87 +++++++++++++++++++++ dev-lua/penlight/Manifest | 6 +- dev-lua/penlight/penlight-1.7.0.ebuild | 2 +- dev-lua/penlight/penlight-1.9.2-r101.ebuild | 2 +- dev-lua/penlight/penlight-1.9.2.ebuild | 2 +- 25 files changed, 178 insertions(+), 512 deletions(-) delete mode 100644 dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch delete mode 100644 dev-lua/lanes/lanes-3.10.0.ebuild delete mode 100644 dev-lua/lua-cjson/files/sparse_array_test_fix.patch delete mode 100644 dev-lua/lua-cjson/lua-cjson-2.1.0.6.ebuild delete mode 100644 dev-lua/lua-cjson/lua-cjson-2.1.0.7.ebuild delete mode 100644 dev-lua/luacov/files/luacov-0.8-fix-makefile.patch delete mode 100644 dev-lua/luacov/luacov-0.8.ebuild delete mode 100644 dev-lua/luaposix/luaposix-35.0-r100.ebuild create mode 100644 dev-lua/luaposix/luaposix-35.0-r101.ebuild delete mode 100644 dev-lua/luarocks/luarocks-3.4.0-r100.ebuild delete mode 100644 dev-lua/luarocks/luarocks-3.4.0.ebuild create mode 100644 dev-lua/luarocks/luarocks-3.5.0.ebuild (limited to 'dev-lua') diff --git a/dev-lua/Manifest.gz b/dev-lua/Manifest.gz index f6e72c49dc56..218a27d07362 100644 Binary files a/dev-lua/Manifest.gz and b/dev-lua/Manifest.gz differ diff --git a/dev-lua/lanes/Manifest b/dev-lua/lanes/Manifest index 7851243e0e6d..f0742d39db51 100644 --- a/dev-lua/lanes/Manifest +++ b/dev-lua/lanes/Manifest @@ -1,8 +1,5 @@ -AUX lanes-3.10.0-fix-makefile.patch 855 BLAKE2B 4505cb94476ffcc1100917a660d5b8d9aa062c2a87fa463cc98bcf84190239ceb5ad53bb0c9db57b512db5590dc128f102c1af4b72c02442953220a1ed12e46e SHA512 877e3ad24d9192c2b87de7e684f77c7db725d929d1f2709b531929cf343e1da9b0396a79dd0763d2fa36a492d7920937553f533d9a75dfb353ec2ab4466c2e80 AUX lanes-3.13.0-makefile.patch 2909 BLAKE2B e2325494fdf3f54923ed29cc66e80443a22be26cb7352b1fcbe46d0df7983bda958874e5a8a4156a65c9f2cc019fb7a6b6ed8da8652aa6d45af63f787ccf828e SHA512 ad3b7456a6c68043974ffcc1e1955b96364461b90b1edfa32f50ad48a3aeae9755ec8f756303f5e7c009f6c3e07f2d2c6bcfadc7e484d7a6e140b59e55b5d5a7 -DIST lanes-3.10.0.tar.gz 231359 BLAKE2B beb1972a9b37097947fc673a644330fe8b66c826bc09967526b96d8e28838939516ee3ad4640fb8e5dca7061227c2844d55270c48f26416c7a7bd3613a83e648 SHA512 4a49f560623e291a8344ffef69f4f26fd422d21d3926d73dfee9c9ae9ebd4973e5ae2d307dfd42c5a3bf101bfcc277df54f0a46d89390c83483208e36d4e5d9b DIST lanes-3.13.0.tar.gz 247978 BLAKE2B e330f3648e865b8b7c1b77061b6a8210f46e1db650066736afe62040dbb20c7e31e0037b420fded8fb0931cc2ac59687e2039fb31f43c1bdf0cae8cd3c031307 SHA512 bb509181757fa2b4f07a55962015b35ca6bb867b18ec89dd655f333babe2e12f56479fa85bc98e0dacf5bec2a523265bbc3a978396dc332dc1fdda4df760b2e5 -EBUILD lanes-3.10.0.ebuild 755 BLAKE2B bf7d14cfce83787e7c3100fe4ca311bf3312a55c9cd82a0b30f7f95e39ae9ef20f6274cf5a6f396c46cd3ac4f926b039c462169e49fb93a2ca2bc4f1f0ec85d0 SHA512 614c5a5e21b33a25edf3e34e41e993705008918afda3f60d542f197f229068a3b15eccc17a2ea5ea731d93b71ca90ae864d11a73a5d24f9e738e8d4b2ba1bf0e EBUILD lanes-3.13.0-r100.ebuild 1404 BLAKE2B b96e9fa333fb440ac806e6213b210d77e74c7cfdc56d537f36f2f147ae5a8bef0ee74bedbfcb0b9f0a04e7895d4b14d38c44ed658818e022755f8f4a3fbb1379 SHA512 d1b9b4f665b87796b4b7219668955965587ea94c568c43e4ca8e15c87eee7abddca000b628cb735fbac6e200f8ac89d856f93746a8ec21afa3ea228aaf7f9172 -EBUILD lanes-3.13.0.ebuild 1312 BLAKE2B f130e3e5faaf31d3d0e639199f322e18bc8ff5802e83d1ca59b31b3b3199ddfcbfc6c8df497ef3964f805251abb6d58f0c0cdb6565ecad8da89518bccd165182 SHA512 510b94480af415b9046cba4da7740e9d8eb6514b6630bafe4131c0b84da911e654893bf45548f44c33105c072f1088f92ad7fc3496ba93b8023d2c0f0ea7747b +EBUILD lanes-3.13.0.ebuild 1311 BLAKE2B 78623115fcfa991661de738f2ae04b4edc92013017df7fb9808c7033f259ddfde50fdb5400a2a7942ac258ff70990d3eff4a738e5d653788d28fb530c103dc4d SHA512 56465683cb4e4cb005e5bab98e8b91cc8303dca9b1cf574608fa9d466e30d562c80c3e10e4ca7b131849cdd1ba50ebc524b92034fd13be4a39ba0e4c3c2cd16c MISC metadata.xml 438 BLAKE2B 7edf60b96d12fe2b577ca5665bbfe053830e53f4821f50b14467e025472db68cdb0d7c4874ff03c882d710d9180ac170beb9f5b07e1f021dc9c576645d2606a7 SHA512 d9258d0d00639649436ae8877e4856309332ad07cc765f228f17b1be79fd2c876fab0bd5a303e1a77f64b9951d5e109126dc6baa5cd92da197202895d9528138 diff --git a/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch b/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch deleted file mode 100644 index 52549704248e..000000000000 --- a/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff --git a/Makefile b/Makefile -index fc44fac..6c87e89 100644 ---- a/Makefile -+++ b/Makefile -@@ -202,17 +202,17 @@ _perftest: - # - # LUA_LIBDIR and LUA_SHAREDIR are used by the .rockspec (don't change the names!) - # --DESTDIR=/usr/local --LUA_LIBDIR=$(DESTDIR)/lib/lua/5.1 --LUA_SHAREDIR=$(DESTDIR)/share/lua/5.1 -+PREFIX=/usr/local -+LUA_LIBDIR=$(PREFIX)/lib/lua/5.1 -+LUA_SHAREDIR=$(PREFIX)/share/lua/5.1 - - # - # AKa 17-Oct: changed to use 'install -m 644' and 'cp -p' - # - install: $(_TARGET_SO) src/lanes.lua -- mkdir -p $(LUA_LIBDIR) $(LUA_LIBDIR)/lanes $(LUA_SHAREDIR) -- install -m 644 $(_TARGET_SO) $(LUA_LIBDIR)/lanes -- cp -p src/lanes.lua $(LUA_SHAREDIR) -+ mkdir -p $(DESTDIR)$(LUA_LIBDIR)/lanes $(DESTDIR)$(LUA_SHAREDIR) -+ install -m 644 $(_TARGET_SO) $(DESTDIR)$(LUA_LIBDIR)/lanes -+ cp -p src/lanes.lua $(DESTDIR)$(LUA_SHAREDIR) - - - #--- Packaging --- diff --git a/dev-lua/lanes/lanes-3.10.0.ebuild b/dev-lua/lanes/lanes-3.10.0.ebuild deleted file mode 100644 index b801dd2bd239..000000000000 --- a/dev-lua/lanes/lanes-3.10.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils multilib toolchain-funcs - -DESCRIPTION="lightweight, native, lazy evaluating multithreading library" -HOMEPAGE="https://github.com/LuaLanes/lanes" -SRC_URI="https://github.com/LuaLanes/lanes/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="amd64" -IUSE="" - -COMMON_DEPEND=">=dev-lang/lua-5.1:0=" -DEPEND="${COMMON_DEPEND}" -RDEPEND="${COMMON_DEPEND}" - -src_prepare() { - tc-export CC - epatch "${FILESDIR}"/${P}-fix-makefile.patch - sed -i -e "s#/lib#/$(get_libdir)#" Makefile || die "sed failed" -} - -src_install() { - emake DESTDIR="${D}" PREFIX=/usr install - dodoc ABOUT BUGS CHANGES README TODO -dohtml -r docs/* -} diff --git a/dev-lua/lanes/lanes-3.13.0.ebuild b/dev-lua/lanes/lanes-3.13.0.ebuild index e3c4a87c18c9..0a88a310fdc2 100644 --- a/dev-lua/lanes/lanes-3.13.0.ebuild +++ b/dev-lua/lanes/lanes-3.13.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/LuaLanes/lanes/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~x86" IUSE="luajit test" RESTRICT="!test? ( test )" diff --git a/dev-lua/lua-cjson/Manifest b/dev-lua/lua-cjson/Manifest index f07a0d22a892..09017617bc96 100644 --- a/dev-lua/lua-cjson/Manifest +++ b/dev-lua/lua-cjson/Manifest @@ -1,11 +1,6 @@ AUX lua-cjson-2.1.0.8-lua52.patch 3588 BLAKE2B 989bd667dd62cf7b39c0188c1fcf94d6890e9839c662e75782bba26faf9fa35c7def97c172c74ec8cb3eb07a0413aa66e7b860d07c2caf459be52ec37450dd1f SHA512 9f16ae9d7885d835252a49208e00199ee8d4bf10790a9b2e696026171831b4a579938ecf7f980631f3fccee55f1d000212dfea80d1ebc22743550847d43f1d26 AUX lua-cjson-2.1.0.8-sparse_array_test_fix.patch 1084 BLAKE2B 3f6e439b54602a8fb07badb87bd53ce8affbb53f7434a32677b1de0cfc92b6f9f75f21a7c09763649c5cbadf59a8647d704cce1e0e98207e72bb696c9cb8ddbe SHA512 31358192ecff4a06ef045cf8b3d8f717e65674752e1ae70a8e87a487e89a4819448285c537ef5393b05bbb285a0708be37bd7dafa9b8bacbf4bb0e8bdd9fdb67 -AUX sparse_array_test_fix.patch 1643 BLAKE2B 6967eefee4a1bf3bdf14f7c2cd56814642adf4321007fc3a9b7f5e4022f468006e8674e6832d3a5fe1ef995b360de6e60bf738a6c3664f78d80d1000380939ae SHA512 597a4eeb180177ccb72f025b9abefe339b845ad188cd6287036905ab613aa36df24f0b51a515bb1718a0286e64b5b12a0cb8864dea2203b69407f9bc665ce393 -DIST lua-cjson-2.1.0.6.tar.gz 76820 BLAKE2B 1056fefc8d9c802e068e1e7801cc1eb3a0279371ab72e4e8517e22ad68224dd4892f4e4cbfe0a407af71f1008affded41d7bcc05d89c4ddb0c437d93d67708a7 SHA512 71d25f4ec82641d56e33e13c0ecd8c60186b3c4faf3d30de81706d1305d4e61691a1e84210462942674e50ca2ff19e126cb04025d9645d5d26ef3b3b0e46f64b -DIST lua-cjson-2.1.0.7.tar.gz 76949 BLAKE2B 9189890f24885191001e79cf0f48aaee74026572eda3e767b0e5e63d44634156fd2b972287cb23e243b3fd0f44f8e87a1fcb0c0b8e26197c63e5e0ff30cb3a94 SHA512 c66fbb608dcd1b7daef8c70ad9a60ab442bf8b851b8d8c5e3b11854ab476dff115e2eef31f171a40ce364778682ce351114caf36c995521ec589bd9dd94415c5 DIST lua-cjson-2.1.0.8.tar.gz 77211 BLAKE2B 227171576318939ab48abe26e87fa905cf9a15e6ff44065c0713b6a6fedac571f1dbbb88526b957836a4368e71c4d19a748b2a3250221572f580f1d32ccf50a0 SHA512 577278ccb58a23ea56ea9ad34c5fb0a07c13c6691a3b666f58fa6427bca269aaec26271d7400dcd253c922d1bb0b3b322915a2ce139880c1ed4c1d2c15437580 -EBUILD lua-cjson-2.1.0.6.ebuild 1051 BLAKE2B d9bef905dc69033611379de72f7216e1766c659d4e0c12ad7875857bc8af1991b874880130acb0ef9e150a8f2028e1a94327727cbbe1bde3d9a2f477d37dfbf9 SHA512 e9d21719becf80e547404c1a28f2cc07197fff512df92b8535a91889dc5d57b0b95d7b5c744d2e11c6dae38f34934b0bdaeddeb59ec32fb8e1b49857f05d7771 -EBUILD lua-cjson-2.1.0.7.ebuild 1051 BLAKE2B d9bef905dc69033611379de72f7216e1766c659d4e0c12ad7875857bc8af1991b874880130acb0ef9e150a8f2028e1a94327727cbbe1bde3d9a2f477d37dfbf9 SHA512 e9d21719becf80e547404c1a28f2cc07197fff512df92b8535a91889dc5d57b0b95d7b5c744d2e11c6dae38f34934b0bdaeddeb59ec32fb8e1b49857f05d7771 EBUILD lua-cjson-2.1.0.8-r100.ebuild 2011 BLAKE2B 5aafff2cd5201a5db81f1ba16f22f2a7e60a8ec94f352231d34fa0ff04b63f0e90b0714f42084ee9bfbdffba27f045eeec21319ac586b95833ebf17b7b9646de SHA512 08abb466a3e4fdf7a07ac8e64d9c86f76a99ccad21b7cacae3c13b1db0c09b832c1017589423dcfa2fc20ad1092982ea9c525d9703cd94a5be793adbb1a68fa2 EBUILD lua-cjson-2.1.0.8.ebuild 1660 BLAKE2B 601d00a060462cafbc1107947387fd73c9ceefcb1aa8e901e16ee63d526192459ec900bdcea19a8f25aae3c87d53915c6a846bbaf5cc564ae15f14f0a352ca6e SHA512 2cacc3460386d732aa9be52ba12a165166d0634a2c8e74bf26c6dba156eccefe060bbe9648256c2dd7b1c0e664e4ccf5b2d3f1ed979ab9b565a400478c78ec0a MISC metadata.xml 779 BLAKE2B 605a71234ea6e3f8eb770b56cdd725cdc244b643c9676afa4552b3f2ef24d6a1c6d96c0468768b16412a8bbaf5ba29b177a57aec6c7a3c006f16da955d952dd7 SHA512 be9492a64cd4be16f395ec49aa031fed8dcddf844df243cd8456452f002098a2cb47ce1e99dffa0843661986ec5352f4feb749578ee5a63a8b47624c3ffae022 diff --git a/dev-lua/lua-cjson/files/sparse_array_test_fix.patch b/dev-lua/lua-cjson/files/sparse_array_test_fix.patch deleted file mode 100644 index 0c1d138cbadf..000000000000 --- a/dev-lua/lua-cjson/files/sparse_array_test_fix.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 75678e4b0d1b25fc15f0399f1496db6e0287b72f Mon Sep 17 00:00:00 2001 -From: Georgy Yakovlev -Date: Tue, 12 Feb 2019 13:32:38 -0800 -Subject: [PATCH] Fix Encode sparse array as object test - -Port of this commit from upstream -https://github.com/mpx/lua-cjson/commit/98eb1d01e952fc60a36f47846f905b86c92a4f58 ---- - tests/test.lua | 15 +++++++++++++-- - 1 file changed, 13 insertions(+), 2 deletions(-) - -diff --git a/tests/test.lua b/tests/test.lua -index d1bf7e4..be5e19c 100755 ---- a/tests/test.lua -+++ b/tests/test.lua -@@ -10,6 +10,17 @@ local json = require "cjson" - local json_safe = require "cjson.safe" - local util = require "cjson.util" - -+local function json_encode_output_type(value) -+ local text = json.encode(value) -+ if string.match(text, "{.*}") then -+ return "object" -+ elseif string.match(text, "%[.*%]") then -+ return "array" -+ else -+ return "scalar" -+ end -+end -+ - local function gen_raw_octets() - local chars = {} - for i = 0, 255 do chars[i + 1] = string.char(i) end -@@ -292,8 +303,8 @@ local cjson_tests = { - json.encode, { { [1] = "one", [4] = "sparse test" } }, - true, { '["one",null,null,"sparse test"]' } }, - { "Encode sparse array as object", -- json.encode, { { [1] = "one", [5] = "sparse test" } }, -- true, { '{"5":"sparse test","1":"one"}' } }, -+ json_encode_output_type, { { [1] = "one", [5] = "sparse test" } }, -+ true, { 'object' } }, - { "Encode table with numeric string key as object", - json.encode, { { ["2"] = "numeric string key test" } }, - true, { '{"2":"numeric string key test"}' } }, --- -2.20.1 - diff --git a/dev-lua/lua-cjson/lua-cjson-2.1.0.6.ebuild b/dev-lua/lua-cjson/lua-cjson-2.1.0.6.ebuild deleted file mode 100644 index 7170add189d9..000000000000 --- a/dev-lua/lua-cjson/lua-cjson-2.1.0.6.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils - -DESCRIPTION="A fast JSON encoding/parsing module for Lua" -HOMEPAGE="https://www.kyne.com.au/~mark/software/lua-cjson.php https://github.com/openresty/lua-cjson" -SRC_URI="https://github.com/openresty/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+internal-fpconv luajit test +threads" -RESTRICT="!test? ( test )" - -REQUIRED_USE="threads? ( internal-fpconv )" - -RDEPEND=">=dev-lang/lua-5.1:0" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-lang/perl )" - -DOCS=( NEWS README.md THANKS manual.txt performance.txt ) - -PATCHES=( - "${FILESDIR}"/sparse_array_test_fix.patch -) - -src_configure() { - local mycmakeargs=( - -DUSE_INTERNAL_FPCONV="$(usex internal-fpconv)" - -DMULTIPLE_THREADS="$(usex threads)" - ) - - cmake-utils_src_configure -} - -src_test() { - cd tests || die - ln -s "${BUILD_DIR}"/cjson.so ./ || die - ln -s "${S}"/lua/cjson ./ || die - ./genutf8.pl || die - ./test.lua || die -} diff --git a/dev-lua/lua-cjson/lua-cjson-2.1.0.7.ebuild b/dev-lua/lua-cjson/lua-cjson-2.1.0.7.ebuild deleted file mode 100644 index 7170add189d9..000000000000 --- a/dev-lua/lua-cjson/lua-cjson-2.1.0.7.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake-utils - -DESCRIPTION="A fast JSON encoding/parsing module for Lua" -HOMEPAGE="https://www.kyne.com.au/~mark/software/lua-cjson.php https://github.com/openresty/lua-cjson" -SRC_URI="https://github.com/openresty/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+internal-fpconv luajit test +threads" -RESTRICT="!test? ( test )" - -REQUIRED_USE="threads? ( internal-fpconv )" - -RDEPEND=">=dev-lang/lua-5.1:0" -DEPEND="${RDEPEND}" -BDEPEND="test? ( dev-lang/perl )" - -DOCS=( NEWS README.md THANKS manual.txt performance.txt ) - -PATCHES=( - "${FILESDIR}"/sparse_array_test_fix.patch -) - -src_configure() { - local mycmakeargs=( - -DUSE_INTERNAL_FPCONV="$(usex internal-fpconv)" - -DMULTIPLE_THREADS="$(usex threads)" - ) - - cmake-utils_src_configure -} - -src_test() { - cd tests || die - ln -s "${BUILD_DIR}"/cjson.so ./ || die - ln -s "${S}"/lua/cjson ./ || die - ./genutf8.pl || die - ./test.lua || die -} diff --git a/dev-lua/luacheck/Manifest b/dev-lua/luacheck/Manifest index 95d5d9e03a33..61846dd96d7d 100644 --- a/dev-lua/luacheck/Manifest +++ b/dev-lua/luacheck/Manifest @@ -2,6 +2,6 @@ AUX luacheck-0.23.0-disable-measuring-performance-test.patch 446 BLAKE2B 42c83ec DIST luacheck-0.20.0.tar.gz 132693 BLAKE2B d485ef841c00241023a9cb9bd0e1f994da3b5e79dad01281e0203e1561f788f8d1e8db97910d3a82ab3daafb3dceef1fe2897beee9f16e71350fdff27eba7fe0 SHA512 08b1a64849b329e6ad71b1d7011fac0833de068641270adaa009e9a17139968ab73add3786a508a8787ce1fcfe1f028a35b5434221e4f1f62bea56833e0e65dd DIST luacheck-0.23.0.tar.gz 158201 BLAKE2B c0780143a335b1deb7725819dbdac03446742fd459eed5a6de0cf3de5576f3be5379ff7086348b8880eba70dd5f7a1e719e9a09fdcc70abc293e1636f575ad57 SHA512 d76e4b22f1e9d868a8531ad51fb98607e5bfb1fbbd55053105d9978ba6c0455de99202c53d4e199733ea997863b26527fb84e7e9717209fd588f1d02db9db028 EBUILD luacheck-0.20.0-r1.ebuild 1058 BLAKE2B 17d25640c64b9a53d97e8419636095121d5e95507ececa6872966c78e080c3eda19dce658122aebb65bba737a75c36de78599e3eb8a364eb03e452928599de31 SHA512 715beecb4032116aa52093df41e886159d1bf856ea05bbbf281926cdcb0631852ffe382f3ec387538f3f8daded32a2983d8bef29e66922c25a54296ed0e73d21 -EBUILD luacheck-0.23.0-r1.ebuild 1261 BLAKE2B b7f762328472e85f6e01348dfc8fe30e2d789d6e1ab7d1f8eb32814b17dcece44aa919ced3c9a2517f1e85917fc378abedb9f0a85085e0b2b30abe20b8c1f31f SHA512 980922963f9ad6579ede99b9fd991f7e8bc85c4e85ba0e892a617da875d6004c2804c0a2194f726121c01746dd0cdfa3d1981bbfe35464db7f74930569d3f940 +EBUILD luacheck-0.23.0-r1.ebuild 1259 BLAKE2B 1e61496ba8b232db59e9b57e16a5edc9e9b9d6a3645acb0fe96f4b679205e0665099133eee68a3d6a653126c33e91419f2d51cdd920b1169866a8b03abe2d5ab SHA512 2b3a828f18fb1a717a66267f0202bb367e064b6ffd3bb20861dea0dedd60ddc8868d9927a72c3599b496c175ade9ef40e225cef152b94f6aba1254d8b35ee3fa EBUILD luacheck-0.23.0-r100.ebuild 1233 BLAKE2B 0f0c4a4a006df2c9060edfb516f39523165f057b43fa2fa133344993a7221b1a247fe682893c858b7d31f21f5b81a6cbfc5049aa88b138c445832db2d144cfc4 SHA512 cbddb5dd61591e2caae6d78f4a4b5cf04625b809f7e0717cbdfa8f4cab311426bdba711e6d215f5d5f61c4959a6594e269279d5506ca185c84ee65498a019677 MISC metadata.xml 829 BLAKE2B 76e2e67f3ea5dc70f37a6f3e54a6afc12de689026de589b9d644766c443b62cd66068db5c56d3e63312920adb1d2ecb74a1b2515c4f36790dda650a499a81589 SHA512 c27495f97fda460389d0cc74fa97839ea0837f62997ca3e1b5ae4b70bb7d78f15d81012fc151c1c11ec00079e2ebc1121c61bdd86cbaf137e7eeccf5207e63f6 diff --git a/dev-lua/luacheck/luacheck-0.23.0-r1.ebuild b/dev-lua/luacheck/luacheck-0.23.0-r1.ebuild index 65aafbf27635..a22daf625f58 100644 --- a/dev-lua/luacheck/luacheck-0.23.0-r1.ebuild +++ b/dev-lua/luacheck/luacheck-0.23.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ SRC_URI="https://github.com/mpeterv/luacheck/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~ppc ppc64 ~x86" +KEYWORDS="amd64 arm ~arm64 ppc ppc64 x86" IUSE="doc luajit test" RESTRICT="!test? ( test )" diff --git a/dev-lua/luacov/Manifest b/dev-lua/luacov/Manifest index e7b2773ed31e..bcd30882bb93 100644 --- a/dev-lua/luacov/Manifest +++ b/dev-lua/luacov/Manifest @@ -1,7 +1,4 @@ -AUX luacov-0.8-fix-makefile.patch 681 BLAKE2B b3f81e28207a97a774a4da75723d006ab043bc4363757ffee44e7b456b44e5ce31e8dcea5dc6f5989595ebef98f4c546c5ae64dc52be7dbc3e2243f9bcad597b SHA512 603ac926108e30d511ac0fba66576fbbf7b98b468bed1a0026addf6f0361b38e41b9d967f983b3a8147b853055538e2ec2f87efc896542e87b73073bc0a881ba DIST luacov-0.14.0.tar.gz 49571 BLAKE2B 2248fc00e1af0a1cdec923bbe6150ae682cc1ba814c77f21bc86269d723ea80542fb48fe62980de2527040598b7b9c87f92f146d6c62abde06651fa6733c75c5 SHA512 44ea158ce597f705d80b9768676e401804daea91b9c2afb146a8d25aae612e895e4f42a29c4b7b3438659c596fa500af5d23b66b7f3477459747ad06ca9b7ffa -DIST luacov-0.8.tar.gz 33613 BLAKE2B 942c47de25dbd53de445e1ed1fa924f1be278da4c3b134e4a603f4a5ab5090f87d762c48163cf82ed9bab585e35b0528c330b3dc849e0043ccc96532107c8a94 SHA512 03d6ee519a570ff0430bcc32f547b9beb01691bd8c7ad8655e78d732223c6c25e4a63d816fd99640568251b836d5e3cc736bd5d780f5ecd3986d855ed5edfa11 EBUILD luacov-0.14.0-r100.ebuild 926 BLAKE2B ae2b4f00201d9a4d17ffabd7ea0d070fded35bc937a8104a4fd9c197911be780cb1c1026498bc9f5d02e4d85b1c4014ea6fa9b4ea4013bbe9bdf9839289672ca SHA512 85d48dead19eca935b1953c3765ef71095a59c05bb3dfee2ee1d4c024e68e9312fb47c343ea0834ac6adab6e8278e0f0f9daba055c10a3f49808a6e6356742ca EBUILD luacov-0.14.0.ebuild 918 BLAKE2B ba1ac686f6c27cd20c60305d033871a32ced04a14568d964c0e0218ded7bdde382bd21c3dd27708518f3d7a5394305c369313830f59d56c9c597d2a751dcf28e SHA512 dffd8fe81badd34b30f934f920db250d5de56ce9ae4c41d3ce79b1ce0a0e588f0394dbc13c5210bd5edeb581984ba71f5a08ed14a0127ab9b698d00a3a092a84 -EBUILD luacov-0.8.ebuild 745 BLAKE2B bd3cdbb5949c1b5c1d56f44e3011cbca14bf3b44214e204fdcbf070e6afdb04b17bb381dc1c3a6835e8effff35d1708cea79be1055441660ab89f491f94e97a2 SHA512 57a4527d75deb98a74215538ebdee6ab17731c3884191f68d8556f1714187b61e5f7e4528b6d9b86526f8fa4a68e44ad261d551f65ae50a9c78c5950a4d6f278 MISC metadata.xml 444 BLAKE2B df7d267a7898a881b15602c91495029c54b064d8a3415ed44d404cad9425ed78269470f632df654291838bfa10e0f34a3dc0deec6f3bae979d6495ea4b4b14c1 SHA512 d9238e357035e46dbb66af1ff1a7a5e1c552b31f5c9cc526183dea163637fb94058a1345cdf73682d49494d9eb9995d802c4b7bcbac54787dbbe6c2a5de42ae1 diff --git a/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch deleted file mode 100644 index 7a4ea6ba9ea7..000000000000 --- a/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/Makefile b/Makefile -index 477f9de..adad2cc 100644 ---- a/Makefile -+++ b/Makefile -@@ -6,13 +6,13 @@ BINDIR=$(PREFIX)/bin - LUADIR=$(PREFIX)/share/lua/5.1/ - - install: -- mkdir -p $(BINDIR) -- cp src/bin/luacov $(BINDIR) -- chmod +x $(BINDIR)/luacov -- mkdir -p $(LUADIR) -- cp src/luacov.lua $(LUADIR) -- mkdir -p $(LUADIR)/luacov -- cp src/luacov/*.lua $(LUADIR)/luacov -+ mkdir -p $(DESTDIR)$(BINDIR) -+ cp src/bin/luacov $(DESTDIR)$(BINDIR) -+ chmod +x $(DESTDIR)$(BINDIR)/luacov -+ mkdir -p $(DESTDIR)$(LUADIR) -+ cp src/luacov.lua $(DESTDIR)$(LUADIR) -+ mkdir -p $(DESTDIR)$(LUADIR)/luacov -+ cp src/luacov/*.lua $(DESTDIR)$(LUADIR)/luacov - - dist: - rm -rf $(PACKAGE)-$(VERSION) diff --git a/dev-lua/luacov/luacov-0.8.ebuild b/dev-lua/luacov/luacov-0.8.ebuild deleted file mode 100644 index 97c531edf6c9..000000000000 --- a/dev-lua/luacov/luacov-0.8.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="LuaCov is a simple coverage analyzer for Lua scripts" -HOMEPAGE="https://github.com/keplerproject/luacov" -SRC_URI="https://github.com/keplerproject/luacov/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -COMMON_DEPEND=">=dev-lang/lua-5.1:0=" -DEPEND="${COMMON_DEPEND} -virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PF}-fix-makefile.patch -} - -src_compile() { - return 0 -} - -src_install() { - emake DESTDIR="${ED}" \ - PREFIX=/usr \ - LUADIR="$(pkg-config --variable INSTALL_LMOD lua)" install -dohtml -r doc/* - dodoc -r examples -} diff --git a/dev-lua/luaposix/Manifest b/dev-lua/luaposix/Manifest index 1c378808217b..7af9d95253d2 100644 --- a/dev-lua/luaposix/Manifest +++ b/dev-lua/luaposix/Manifest @@ -1,4 +1,4 @@ DIST luaposix-35.0.tar.gz 178091 BLAKE2B b2d2ca01f18f0e98b45008919fc886e05d2cad034c84e870900c33891dd5867d9bc7aa8deae06c3f3f0852db902c1e766e693162b32ed474eb710b379bf9e3ed SHA512 4bb61892b78d9e59418a9a6360b9f611fb9b5438b9261a2c6672f053a1b21dfd9a2060b8d2f0d3eac6185773cf84672c1769c081c4ab53d2ddae2232e4a9269b -EBUILD luaposix-35.0-r100.ebuild 1598 BLAKE2B ec756a70b9ca70aa714d492104139a7d1bb00f2473dda0db2d97ba1d6337f12f4f5843d3325a66c17957026e58841f4019b006e8d21e8d7f71ce81cce2d71503 SHA512 3ae67e8ebbc85787b301380c169a1c80b33cc9783ce3b640166e05e1c62d7e24233042f09b8c9cb3e63a19f814c832071789170a2302a552afce2b074ea9876f +EBUILD luaposix-35.0-r101.ebuild 1732 BLAKE2B 4b1e5602401ad2322ea394813f2ca4e6e271d7d941b2564e81f873493b2d8781571d1f1e4f1be7b3243e51f160b88bc85e6cc02f17a710239aa4c18c7d11f0f1 SHA512 8c5b28c3ecdc79777dea414cf0707e79af558221e8b61c2c50bd5461c6a7c534780cd822c2781b1be67cd9cf19b3ea05150e1954128ced63262c95b7223a7d78 EBUILD luaposix-35.0.ebuild 1266 BLAKE2B 49d1d6db7709ae309d926c96ddbd75b2e60aa49005c256dacb57813399e81bbe3350694f308b62b097d723c5f696c1093ab28984e9ea16c50c7eded815a1d2d3 SHA512 a8048912aab2aac73f0f21e56c7fc3a6a05af3d97dc14472ffd92ce50c94d78d80ca87ddd3fed41b4c4bf54d1908c767155c84750d018f1e660c3f5f522a1b21 MISC metadata.xml 474 BLAKE2B c2297ba4eae7fdfaf22dd9f93fe1f41a48ed085a3493fd30dc23e186bc89c5b6f0dc535fad0e15af24f8d9498c38ee8e99f7fafae0ac2969d91cca96fefe4ba6 SHA512 b0acb936e00d9668b5cad5478243d3067677ee015451cc06d0a7165a0e87035d23347f8dd40f481088be178d0ca6d06486b8984910021171903a37be970519e4 diff --git a/dev-lua/luaposix/luaposix-35.0-r100.ebuild b/dev-lua/luaposix/luaposix-35.0-r100.ebuild deleted file mode 100644 index 7881ac5e4801..000000000000 --- a/dev-lua/luaposix/luaposix-35.0-r100.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..4} luajit ) - -inherit lua toolchain-funcs - -DESCRIPTION="Bindings for POSIX APIs" -HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" -SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" -LICENSE="MIT" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -REQUIRED_USE="${LUA_REQUIRED_USE}" - -# Requires specl, which is not in the tree yet -RESTRICT="test" - -DEPEND="${LUA_DEPS}" -RDEPEND="${DEPEND} - lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] ) - lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] )" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # Temporary fix for respect LDFLAGS (#739050) - # Fixed in luke 0.2.1 - sed -i -e "s:c_module,libdirs:c_module,'\$LDFLAGS',libdirs:g" \ - build-aux/luke || die - - lua_copy_sources -} - -lua_src_compile() { - pushd "${BUILD_DIR}" || die - - ./build-aux/luke package="${PN}" version="${PV}" \ - PREFIX="${ED}/usr" \ - INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ - INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ - CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die - - popd -} - -src_compile() { - lua_foreach_impl lua_src_compile -} - -lua_src_install() { - pushd "${BUILD_DIR}" || die - - ./build-aux/luke install \ - PREFIX="${ED}/usr" \ - INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ - INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ - || die - - popd -} - -src_install() { - lua_foreach_impl lua_src_install - dodoc -r doc NEWS.md README.md -} diff --git a/dev-lua/luaposix/luaposix-35.0-r101.ebuild b/dev-lua/luaposix/luaposix-35.0-r101.ebuild new file mode 100644 index 000000000000..3e7b5157e6ee --- /dev/null +++ b/dev-lua/luaposix/luaposix-35.0-r101.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua toolchain-funcs + +DESCRIPTION="Bindings for POSIX APIs" +HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" +SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SLOT="0" +LICENSE="MIT" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="doc" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +# Requires specl, which is not in the tree yet +RESTRICT="test" + +DEPEND="${LUA_DEPS}" +RDEPEND="${DEPEND} + lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] ) + lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] ) +" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + + # Temporary fix for respect LDFLAGS (#739050) + # Fixed in luke 0.2.1 + sed -i -e "s:c_module,libdirs:c_module,'\$LDFLAGS',libdirs:g" \ + build-aux/luke || die + + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + # LDOC=true means disable ldoc update documentation + ./build-aux/luke --verbose package="${PN}" version="${PV}" \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die + + popd || die +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + ./build-aux/luke install \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + || die + + popd || die +} + +src_install() { + lua_foreach_impl lua_src_install + dodoc {NEWS,README}.md + use doc && dodoc -r doc +} diff --git a/dev-lua/luarocks/Manifest b/dev-lua/luarocks/Manifest index 6093be70eb1e..b5ef14c52baf 100644 --- a/dev-lua/luarocks/Manifest +++ b/dev-lua/luarocks/Manifest @@ -1,6 +1,5 @@ DIST luarocks-3.3.1.tar.gz 241636 BLAKE2B fd34d7a233bbf1c5f224bd04886a7f1382d63ffc014c8b78ae7924fb799d66a32e048298deed103686771263885c85c9173c013d1bbb3bad6a48e9fd99fdaac0 SHA512 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a -DIST luarocks-3.4.0.tar.gz 244013 BLAKE2B 873c315ca3616179d20d665ceb09b8549c6f007d721581751bb4bb27d147547a52f5be1458541f9c0f936fcc3659c1d8eb253431ee0cf12530f3bef09aa838a3 SHA512 111ef93cbc4c0d79fdb26d9696b76e6b9e7fb1e30029db43feae9622cc6dd89991f1a62f87af0ca11f4043cb0d445ec73c5edf53e1af5f0d9bc4f756d4c18151 +DIST luarocks-3.5.0.tar.gz 244798 BLAKE2B 24ceead8953ad6d9eefbf471fd49e0bd82256cc00c201395770919a680873544db67f062a4af93ddd390985b0b74db55e37a95516287dfc1e077a25b67c9f264 SHA512 fda01b7149839adf7c0e1c05d0f1793e79575c5d378d96ee1e197828e9b9b6e89a635f8a26a5b71db5b48465ef74b219fac18ecdbd59962cbf9da613b05dd42a EBUILD luarocks-3.3.1.ebuild 897 BLAKE2B 11b7a1565b1dc071de54d8f8e0756b754ec65404db51c384e5b60ec506145bbf7cb69314ac04bd5ae83df25b169275a83ffefb627044a44da876144b4652c7ea SHA512 9de5f55078432880ad6e749bf50f150588ae322a1fed21c66bc5c331d1f9dcec85fb6f62ec48c11ec982c232b5beba7039e7e0473825f3871530f82ec58abb5e -EBUILD luarocks-3.4.0-r100.ebuild 2076 BLAKE2B 342b6a19174d1bdebcd91b27fb6db6ac9c7b606181b4d821057e843711923d9ad731cb2fd696c36a6e74ab1a1ea1134b7ec216ccdc0bbb6647e06437cbd2068b SHA512 d5bae0105cd8ad25330cbfa6333a412dda924ea423c342a4e285f47789cdf23b4edfb387965b34d778b38d99239b681f64af788554549e821d351eee625e0eb9 -EBUILD luarocks-3.4.0.ebuild 1763 BLAKE2B 269eb6987e0089696b0546b6a3ca8092d30dd40486c5affe3ee3b9a07e0cde71da1d6b4b9e900e1b5a1dbccc4fb8e856315c169c0f7475cb5b023d6d22b7293b SHA512 a801da10bd0ee9e37c162c682b72708ce5489ff790500260a86339b72ea57e8cc4e8a25a20e0020558c21c4c0618957da0c0f5e5efa84a112f7a7ab22b6fddaa +EBUILD luarocks-3.5.0.ebuild 2076 BLAKE2B b598d09243e6ad9e2e9ee2a2780bce7f6f09a06fc479c910c5314783746b9f9c43938426e99481596b0d5ba4933b5d1c6fd0e27436e7e3dfdeec016e6ceb766d SHA512 24272732993ae8a2b3095ecadc3fa26fc2c1308513aac0be91b902a5156c641799a8c90c32b4c4ed7afc609ac460bd9e13ad4ac1e69467372b892ac3a60ceb2b MISC metadata.xml 724 BLAKE2B 690486dab66b070c7ec5f7e71db2cced3d1c191acbbcc3d86bc7b4dcb90796c5b1cb712a4cad42462dc9bedecfd5de330b02447bd7ccf89b89b57905871a555f SHA512 7d8d58c931e5134bd261a05539d3d2e54648fe538a4c65397b78be325feeb4da04d93fc1ff81e2d3b6fd062cc2d94f8cf9958865ca968c1805fc915bcf287edb diff --git a/dev-lua/luarocks/luarocks-3.4.0-r100.ebuild b/dev-lua/luarocks/luarocks-3.4.0-r100.ebuild deleted file mode 100644 index 8075c2212cfd..000000000000 --- a/dev-lua/luarocks/luarocks-3.4.0-r100.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -LUA_COMPAT=( lua5-{1..3} luajit ) - -inherit lua-single - -DESCRIPTION="A package manager for the Lua programming language" -HOMEPAGE="https://luarocks.org" -SRC_URI="https://luarocks.org/releases/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="libressl test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="test" - -RDEPEND="${LUA_DEPS}" - -DEPEND=" - net-misc/curl - libressl? ( dev-libs/libressl:0 ) - !libressl? ( dev-libs/openssl:0 ) - ${RDEPEND} -" - -BDEPEND=" - virtual/pkgconfig - test? ( - $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') - $(lua_gen_cond_dep 'dev-lua/busted-htest[${LUA_USEDEP}]') - ${RDEPEND} - ) -" - -src_prepare() { - default - - # If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists, - # as no compiled modules are installed on a new, fresh installation, - # so this check must be disabled, otherwise 'configure' will fail. - sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die -} - -src_configure() { - local myeconfargs=( - "--prefix=${EPREFIX}/usr" - "--rocks-tree=$(lua_get_lmod_dir)" - "--with-lua-include=$(lua_get_include_dir)" - "--with-lua-interpreter=${ELUA}" - "--with-lua-lib=$(lua_get_cmod_dir)" - ) - - # Since the configure script is handcrafted, - # and yells at unknown options, do not use 'econf'. - ./configure "${myeconfargs[@]}" || die -} - -src_test() { - busted --lua=${ELUA} || die -} - -src_install() { - default - - { find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die -} - -pkg_postinst() { - local lua_abi_ver - if use lua_single_target_luajit; then - lua_abi_ver="5.1" - else - lua_abi_ver=${ELUA#lua} - fi - elog - elog "To manage rocks for a Lua version other than the current ${CATEGORY}/${PN} default (${lua_abi_ver})" - elog "you can use the command-line option --lua-version, e.g." - elog - elog " luarocks --lua-version 5.3 install luasocket" - elog - elog "(use 5.1 for luajit). Note that the relevant Lua version must already be present in the system." - elog -} diff --git a/dev-lua/luarocks/luarocks-3.4.0.ebuild b/dev-lua/luarocks/luarocks-3.4.0.ebuild deleted file mode 100644 index 52063734ca52..000000000000 --- a/dev-lua/luarocks/luarocks-3.4.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="A package manager for the Lua programming language" -HOMEPAGE="https://luarocks.org" -SRC_URI="https://luarocks.org/releases/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" -IUSE="luajit libressl test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="test" - -RDEPEND=" - luajit? ( dev-lang/luajit:2 ) - !luajit? ( >=dev-lang/lua-5.1:0 ) -" - -DEPEND=" - net-misc/curl - libressl? ( dev-libs/libressl:0 ) - !libressl? ( dev-libs/openssl:0 ) - ${RDEPEND} -" - -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lua/busted - dev-lua/busted-htest - ${RDEPEND} - ) -" - -src_prepare() { - default - - # If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists, - # as no compiled modules are installed on a new, fresh installation, - # so this check must be disabled, otherwise 'configure' will fail. - sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die -} - -src_configure() { - local myeconfargs=( - "--prefix=${EPREFIX}/usr" - "--rocks-tree=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" - "--with-lua-include=$($(tc-getPKG_CONFIG) --variable $(usex luajit 'includedir' 'INSTALL_INC') $(usex luajit 'luajit' 'lua'))" - "--with-lua-interpreter=$(usex luajit 'luajit' 'lua')" - "--with-lua-lib=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" - ) - - # Since the configure script is handcrafted, - # and yells at unknown options, do not use 'econf'. - ./configure "${myeconfargs[@]}" || die -} - -src_test() { - busted --lua=${ELUA} || die -} - -src_install() { - default - - { find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die -} diff --git a/dev-lua/luarocks/luarocks-3.5.0.ebuild b/dev-lua/luarocks/luarocks-3.5.0.ebuild new file mode 100644 index 000000000000..b1b19713672d --- /dev/null +++ b/dev-lua/luarocks/luarocks-3.5.0.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) + +inherit lua-single + +DESCRIPTION="A package manager for the Lua programming language" +HOMEPAGE="https://luarocks.org" +SRC_URI="https://luarocks.org/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="libressl test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="test" + +RDEPEND="${LUA_DEPS}" + +DEPEND=" + net-misc/curl + libressl? ( dev-libs/libressl:0 ) + !libressl? ( dev-libs/openssl:0 ) + ${RDEPEND} +" + +BDEPEND=" + virtual/pkgconfig + test? ( + $(lua_gen_cond_dep 'dev-lua/busted[${LUA_USEDEP}]') + $(lua_gen_cond_dep 'dev-lua/busted-htest[${LUA_USEDEP}]') + ${RDEPEND} + ) +" + +src_prepare() { + default + + # If 'dev-lang/lua' is a new, fresh installation, no 'LUA_LIBDIR' exists, + # as no compiled modules are installed on a new, fresh installation, + # so this check must be disabled, otherwise 'configure' will fail. + sed -e '/LUA_LIBDIR is not a valid directory/d' -i configure || die +} + +src_configure() { + local myeconfargs=( + "--prefix=${EPREFIX}/usr" + "--rocks-tree=$(lua_get_lmod_dir)" + "--with-lua-include=$(lua_get_include_dir)" + "--with-lua-interpreter=${ELUA}" + "--with-lua-lib=$(lua_get_cmod_dir)" + ) + + # Since the configure script is handcrafted, + # and yells at unknown options, do not use 'econf'. + ./configure "${myeconfargs[@]}" || die +} + +src_test() { + busted --lua=${ELUA} || die +} + +src_install() { + default + + { find "${D}" -type f -exec sed -i -e "s:${D}::g" {} \;; } || die +} + +pkg_postinst() { + local lua_abi_ver + if use lua_single_target_luajit; then + lua_abi_ver="5.1" + else + lua_abi_ver=${ELUA#lua} + fi + elog + elog "To manage rocks for a Lua version other than the current ${CATEGORY}/${PN} default (${lua_abi_ver})" + elog "you can use the command-line option --lua-version, e.g." + elog + elog " luarocks --lua-version 5.3 install luasocket" + elog + elog "(use 5.1 for luajit). Note that the relevant Lua version must already be present in the system." + elog +} diff --git a/dev-lua/penlight/Manifest b/dev-lua/penlight/Manifest index e6c30efdcc6d..6cf3f5ec8922 100644 --- a/dev-lua/penlight/Manifest +++ b/dev-lua/penlight/Manifest @@ -1,6 +1,6 @@ DIST penlight-1.7.0.tar.gz 384917 BLAKE2B 153660f5029509611265399aad8b92d82b266ac470414c06e9d7f01b37225834f98488f30f9bbdfdc3a6714edfe2edc0fccd0356ebb966d964be633bff38eb25 SHA512 edeb09307c9feb5da6bccd82216a6ad71db988c433245d72d28abb6c555004f77eebba556928b0912937b29ef93e065ad491368041e17730610813de8e595d7d DIST penlight-1.9.2.tar.gz 396248 BLAKE2B 2bbbece6e9855e8fc54f22f01e516cdf886782ec9a007a4ffac8ac980d7e0836cd19b8a7659ab1e05331e12b11bdb1c9c7df5e2f03c39965532c381298017035 SHA512 8df26e74f73ccf6dc73546640e1537b63e40357072855f9409e96b2ef8251c25b4653456d1237d5142573618af242e885490aa9750dffb387e4670ed9f3cfa91 -EBUILD penlight-1.7.0.ebuild 755 BLAKE2B 4b59a423eaa52e5d7cedfe144d9945b22acfb6799cf9cbe4dd0fa0240f45394ebf4b28ff7a55a6ff6b260a8ed793a8306472e4d02935584cc2727f243c233c74 SHA512 41536c7871828227326b2a3fce3a38392987c0a2c8335e09678fc8f2cc4a3bebdb2bdad7b6abf5771bfba48750f9404fc6970cf6c6f2634d742c713e2ba30330 -EBUILD penlight-1.9.2-r101.ebuild 1199 BLAKE2B 36e223801e174849f565fd65dac89a5329964485b24e9405855746b36fad0fcf0a5d34c91811cae30d0c28755fcc1a34d066d8f6f88654b74311bd8487bcaf4d SHA512 dfe40df1eb6b9bf155d28955bce9e4fb9f6e35f864e19957c3a75dc85726e3ea229254b0dfa6bf01beea2c98479537f96c67639c53583d3b37c0191b45b4d0e0 -EBUILD penlight-1.9.2.ebuild 1040 BLAKE2B 3dde8268d099872e713ccb888e5b9bf2da9dbace1a2b9832a8a9add0ca7122a5626aa1bcd62dea711528307c9f8ab44aa993dd47df01b5016348ac4569d291cf SHA512 aef2439d3bc44d56a27f12b0987df1748d7bc7d64356433bf9825b2fff26fb55d1def9e88e72afa4533e1856628307197412c90b6f42afef0ddb55710e0e81a4 +EBUILD penlight-1.7.0.ebuild 754 BLAKE2B 242c02c16d662ca3a4173f291724d10c4ad1fcb2f8b918c014109a4c58a0a89dc0b26f0893ee5a148e17082925ba4d403230a2b2958cf007521539ed3d431987 SHA512 23f2316ea7e2ef1c745e5732da67c70fde6f0918a0fb3f74b2d2c28e897f8976c917abdda3597ee195c32b4a9db5ed83fdea7c52ffeeb8ce7871671b2e2090e4 +EBUILD penlight-1.9.2-r101.ebuild 1198 BLAKE2B 60f5f9f1b77e65e75c0578b90b8fe04ef748629e2d183b5ba64d46dce354ae9fcabf169c9b09f632ca0b7047a4f84dea03eee0645379c60dde5464917fe192ac SHA512 d0449b5aaef2577b6e683c171a0366275c3943479dbf5ae0c7e6ccd159c6a333d9dd8c53a533088ec2f58c26fd3842cd39c0fabeb6e0f8c43445c23d8600d6e9 +EBUILD penlight-1.9.2.ebuild 1039 BLAKE2B e6d1a1d617d4e613e25182c1ed88d0118dcec92ac4abe4feed4050424c95b8582330ae5b635071317c896b18a52c7ddd807363cb891c55963edc8c2439456ab5 SHA512 dab115e670594ba42650cb6edc0bc725b38946746d69551c4631349609b890d295a27aa2412de0825da79fe9492e97c8cbb2225c3be73f3e544bc582cd7a8ece MISC metadata.xml 704 BLAKE2B 35e8f02d20c248a9b11efdc8b3e1ca81fa1cd8c355a02436f6cdcdeaf07d5a77026cd3053af1255a8fdcc603248f94b871d7432f43766c34766d0fa4f43a1795 SHA512 e64d04284f1bc1f3d2942b72d6077b401f74fb7f717b117c76e16a32f5ae87d7d97982cad6369aba4ebca369b480b6a89952c65cb06a5a7b3a5a6193c23831e3 diff --git a/dev-lua/penlight/penlight-1.7.0.ebuild b/dev-lua/penlight/penlight-1.7.0.ebuild index 14bec76de8dd..6e8f0eb19419 100644 --- a/dev-lua/penlight/penlight-1.7.0.ebuild +++ b/dev-lua/penlight/penlight-1.7.0.ebuild @@ -6,7 +6,7 @@ EAPI=7 inherit toolchain-funcs DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" -HOMEPAGE="https://github.com/Tieske/Penlight", +HOMEPAGE="https://github.com/Tieske/Penlight" SRC_URI="https://github.com/Tieske/Penlight/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" diff --git a/dev-lua/penlight/penlight-1.9.2-r101.ebuild b/dev-lua/penlight/penlight-1.9.2-r101.ebuild index 8db997ae866e..99191c9eceb3 100644 --- a/dev-lua/penlight/penlight-1.9.2-r101.ebuild +++ b/dev-lua/penlight/penlight-1.9.2-r101.ebuild @@ -9,7 +9,7 @@ MY_PN="Penlight" inherit lua toolchain-funcs DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" -HOMEPAGE="https://github.com/Tieske/Penlight", +HOMEPAGE="https://github.com/Tieske/Penlight" SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_PN}-${PV}" diff --git a/dev-lua/penlight/penlight-1.9.2.ebuild b/dev-lua/penlight/penlight-1.9.2.ebuild index e334e61a7434..c68250b22759 100644 --- a/dev-lua/penlight/penlight-1.9.2.ebuild +++ b/dev-lua/penlight/penlight-1.9.2.ebuild @@ -8,7 +8,7 @@ MY_PN="Penlight" inherit toolchain-funcs DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" -HOMEPAGE="https://github.com/Tieske/Penlight", +HOMEPAGE="https://github.com/Tieske/Penlight" SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_PN}-${PV}" -- cgit v1.2.3