mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
dev-lua/penlight: drop old version
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST penlight-1.7.0.tar.gz 384917 BLAKE2B 153660f5029509611265399aad8b92d82b266ac470414c06e9d7f01b37225834f98488f30f9bbdfdc3a6714edfe2edc0fccd0356ebb966d964be633bff38eb25 SHA512 edeb09307c9feb5da6bccd82216a6ad71db988c433245d72d28abb6c555004f77eebba556928b0912937b29ef93e065ad491368041e17730610813de8e595d7d
|
||||
DIST penlight-1.9.2.tar.gz 396248 BLAKE2B 2bbbece6e9855e8fc54f22f01e516cdf886782ec9a007a4ffac8ac980d7e0836cd19b8a7659ab1e05331e12b11bdb1c9c7df5e2f03c39965532c381298017035 SHA512 8df26e74f73ccf6dc73546640e1537b63e40357072855f9409e96b2ef8251c25b4653456d1237d5142573618af242e885490aa9750dffb387e4670ed9f3cfa91
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries"
|
||||
HOMEPAGE="https://github.com/Tieske/Penlight"
|
||||
SRC_URI="https://github.com/Tieske/Penlight/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND=">=dev-lang/lua-5.1:0=
|
||||
dev-lua/luafilesystem"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${PN//penlight/Penlight}-${PV}"
|
||||
|
||||
src_install() {
|
||||
local -a DOCS=( README.md CHANGELOG.md LICENSE.md CONTRIBUTING.md )
|
||||
einstalldocs
|
||||
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
|
||||
doins -r lua/pl
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="Penlight"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries"
|
||||
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}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=dev-lang/lua-5.1:0="
|
||||
|
||||
RDEPEND="
|
||||
dev-lua/luafilesystem
|
||||
${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
|
||||
}
|
||||
|
||||
src_test() {
|
||||
lua run.lua || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
|
||||
doins -r lua/pl
|
||||
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user