mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-lua/penlight: drop 1.14.0
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST penlight-1.14.0.tar.gz 439720 BLAKE2B 22ba9741dfcc446c2ffaa38af26f2a5b5022e316c63acc552ad4b7158c97e9239bdf124f1dc3438bd272f8dc79d8ae090f1aa7ba4b3bbcd5d006ec7244fc4041 SHA512 a83f70716106d6576b27a42222ba897d5d5a7b3918088c582e89283cf091a95a9920fe6d0b8d65e1ffc4c1664166f7d5bc4df3b023539d1b33d7175e585bbe9f
|
||||
DIST penlight-1.15.0.tar.gz 440783 BLAKE2B 5bad78ba186cf4102cd460832a0196948cae0783f2c1b46716e82cc631c9db5193203d6146af0357d2d365ca463b66e78234589ba4c2d8a109651c68bec3c92c SHA512 5eed89a02c82f29074c10fe3b815c421f8c23ef743ca3aef2c0b6fb81d9b439a16aeb0adcb86c23a91bd939913e1b4e7ebb4924892413dc52e284c458a761e86
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2024 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 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
|
||||
}
|
||||
Reference in New Issue
Block a user