Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/penlight/
Date: Sat, 28 Nov 2020 17:45:09
Message-Id: 1606585493.05cc84c123b3edd6f1e7ae173c0d9422aefda658.conikost@gentoo
1 commit: 05cc84c123b3edd6f1e7ae173c0d9422aefda658
2 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 28 17:44:24 2020 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 28 17:44:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05cc84c1
7
8 dev-lua/penlight: bump to version 1.9.2
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
12
13 dev-lua/penlight/penlight-1.9.2.ebuild | 47 ++++++++++++++++++++++++++++++++++
14 1 file changed, 47 insertions(+)
15
16 diff --git a/dev-lua/penlight/penlight-1.9.2.ebuild b/dev-lua/penlight/penlight-1.9.2.ebuild
17 new file mode 100644
18 index 00000000000..a679ab743c3
19 --- /dev/null
20 +++ b/dev-lua/penlight/penlight-1.9.2.ebuild
21 @@ -0,0 +1,47 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +MY_PN="Penlight"
28 +
29 +inherit toolchain-funcs
30 +
31 +DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries"
32 +HOMEPAGE="https://github.com/Tieske/Penlight",
33 +SRC_URI="https://github.com/Tieske/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
34 +S="${WORKDIR}/${MY_PN}-${PV}"
35 +
36 +LICENSE="MIT"
37 +SLOT="0"
38 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
39 +IUSE="test"
40 +RESTRICT="!test? ( test )"
41 +
42 +DEPEND=">=dev-lang/lua-5.1:="
43 +
44 +RDEPEND="
45 + dev-lua/luafilesystem
46 + ${DEPEND}
47 +"
48 +
49 +BDEPEND="
50 + virtual/pkgconfig
51 + test? ( ${DEPEND} )
52 +"
53 +
54 +HTML_DOCS=( "docs/." )
55 +
56 +src_test() {
57 + # This is a demo app, not a real test
58 + rm tests/test-app.lua
59 +
60 + lua run.lua || die
61 +}
62 +
63 +src_install() {
64 + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
65 + doins -r lua/pl
66 +
67 + einstalldocs
68 +}