diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-07-23 02:48:52 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-07-23 02:48:52 +0100 |
commit | fd70f5e3ed54d5e013c11a3f3e632e80838171d0 (patch) | |
tree | c6bf0dac8239e644ccc09b184e4eb9cca9701dcf /dev-lua/penlight | |
parent | 5deadca7219297a3c1f90eca00544a00e33efdbc (diff) |
gentoo auto-resync : 23:07:2022 - 02:48:51
Diffstat (limited to 'dev-lua/penlight')
-rw-r--r-- | dev-lua/penlight/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/penlight/penlight-1.12.0.ebuild | 2 | ||||
-rw-r--r-- | dev-lua/penlight/penlight-1.13.1.ebuild | 64 |
3 files changed, 68 insertions, 2 deletions
diff --git a/dev-lua/penlight/Manifest b/dev-lua/penlight/Manifest index 04c4f03bbfe8..1291e3ea2a46 100644 --- a/dev-lua/penlight/Manifest +++ b/dev-lua/penlight/Manifest @@ -1,3 +1,5 @@ DIST penlight-1.12.0.tar.gz 429587 BLAKE2B b8a659c051c1bb9406e9c20ad1da20029e3a141d8193c1d74e83c24b7089ee11c12bb1850c6abb08d7199dbe6d02f40ef8efdfaf2ba4fb16aa88b0218f1dbc65 SHA512 70628bd43a0ac4176704611e47c3a42c287c24aac98a0bc63071a192326e4ecab016a499ff9ab201a9e7d7848f26760f0a2ef87d46220df679b4f70a0fdc4aac -EBUILD penlight-1.12.0.ebuild 1230 BLAKE2B 130111463939881fc5018101af233b2f8d0f970e03c12e88b142537c6df689ea81dd71848dd79b88d533c1bf9b6681971c59cdb743e162df497e089b363ff836 SHA512 3906a5411fad5dd7a58604037d9b473ca0920932a730c13e04113a0e37ba8e961248ba1955ff320721158e8da1b3d9fb2f46c2a6ce4135b9a0b0d65418885cd9 +DIST penlight-1.13.1.tar.gz 434059 BLAKE2B 09a509afc11ad28b88fc92e9f9237fef4d18fc4c5b8c401c6fc8b4e3765941534409e5e5c9c9a08e0ad1a8b08d635d9ef8b453ec602514e4365317e1b31bbf63 SHA512 de0a6a2f585f32bed234ef084d8fca9cee645eed3459aa3c39b885b46a05ae752b5c7ac3bb1957fef9519df2a11e250fc87d6d4d62ee6155be2742ad43a079fe +EBUILD penlight-1.12.0.ebuild 1214 BLAKE2B 2be3e785d471c3c6ea4f139a447de08e01ab49bd359aaa7074a908d50ed06c6b5e386420ba7023e631876c8e756fed55d122b33962eab4e1501ae20c67101a6e SHA512 b6083a46484c1e19bb3154f6bd4e049a14ea66eec6eb0b7ec6ebf485c8732758a4b21d66154cf7a447811bd3f4caaac12fa69b74e2ca8d1de5395f05f24dca57 +EBUILD penlight-1.13.1.ebuild 1220 BLAKE2B 1fa4912727813282efb1b6ea22b03bf690e063d46884909cfde28af6774a093cf839b2a245e562d86457b3d8ca4359188632ecffe55672795053779c01139104 SHA512 062cd539646b7e115ca796cb2f37e46f637dbffe70e67af7052889a2ee22c17ec9ae38d9fd57594374d831928cd85937d0abda9ff105073ccafd55fc7063aa21 MISC metadata.xml 735 BLAKE2B a68f6f53a706c2b7c5d6e5407efbdc571d7839f7c5c7f05ece179e798419767562b82e1acab87b8b034392f5f3d77190cfd00a19bbd97d54359aeb127c4fe9c8 SHA512 eb5019d34e384d12cc2d1709c879a3afc2832f4e33ece3a0cdebf4bfd15c1d887a9fabed8c34821ee5c72ceb88111f62de87a4043f0fb0f076137fd4b8acecbc diff --git a/dev-lua/penlight/penlight-1.12.0.ebuild b/dev-lua/penlight/penlight-1.12.0.ebuild index b1a4008cf42f..eec077fe6527 100644 --- a/dev-lua/penlight/penlight-1.12.0.ebuild +++ b/dev-lua/penlight/penlight-1.12.0.ebuild @@ -6,7 +6,7 @@ EAPI=8 LUA_COMPAT=( lua5-{1..4} luajit ) MY_PN="Penlight" -inherit lua toolchain-funcs +inherit lua DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" HOMEPAGE="https://github.com/lunarmodules/Penlight" diff --git a/dev-lua/penlight/penlight-1.13.1.ebuild b/dev-lua/penlight/penlight-1.13.1.ebuild new file mode 100644 index 000000000000..f5da6db579e9 --- /dev/null +++ b/dev-lua/penlight/penlight-1.13.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) +MY_PN="Penlight" + +inherit lua + +DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" +HOMEPAGE="https://github.com/lunarmodules/Penlight" +SRC_URI="https://github.com/lunarmodules/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${MY_PN}-${PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +DEPEND="${LUA_DEPS}" + +RDEPEND=" + dev-lua/luafilesystem[${LUA_USEDEP}] + ${DEPEND} +" + +BDEPEND=" + virtual/pkgconfig + test? ( ${DEPEND} ) +" + +HTML_DOCS=( "docs/." ) + +src_prepare() { + default + + # This is a demo app, not a real test + rm tests/test-app.lua || die + + # Remove test for executing a non-existent command + sed -e '/most-likely-nonexistent-command/d' -i tests/test-utils3.lua || die +} + +lua_src_test() { + "${ELUA}" run.lua || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir) + doins -r lua/pl + + einstalldocs +} + +src_install() { + lua_foreach_impl lua_src_install +} |