commit:     05cc84c123b3edd6f1e7ae173c0d9422aefda658
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 28 17:44:24 2020 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Nov 28 17:44:53 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05cc84c1

dev-lua/penlight: bump to version 1.9.2

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-lua/penlight/penlight-1.9.2.ebuild | 47 ++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

diff --git a/dev-lua/penlight/penlight-1.9.2.ebuild 
b/dev-lua/penlight/penlight-1.9.2.ebuild
new file mode 100644
index 00000000000..a679ab743c3
--- /dev/null
+++ b/dev-lua/penlight/penlight-1.9.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 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:="
+
+RDEPEND="
+       dev-lua/luafilesystem
+       ${DEPEND}
+"
+
+BDEPEND="
+       virtual/pkgconfig
+       test? ( ${DEPEND} )
+"
+
+HTML_DOCS=( "docs/." )
+
+src_test() {
+       # This is a demo app, not a real test
+       rm tests/test-app.lua
+
+       lua run.lua || die
+}
+
+src_install() {
+       insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
+       doins -r lua/pl
+
+       einstalldocs
+}

Reply via email to