1 |
commit: 868519986192e956b7959ac346395fd755a8cb8d |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Nov 29 23:55:56 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 30 00:15:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86851998 |
7 |
|
8 |
dev-lua/busted-htest: new package |
9 |
|
10 |
This is a module for dev-lua/busted called htest. |
11 |
It adds a different output, |
12 |
which is used by the tests of dev-lua/luarocks. |
13 |
|
14 |
Package-Manager: Portage-3.0.9, Repoman-3.0.2 |
15 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
16 |
|
17 |
dev-lua/busted-htest/Manifest | 1 + |
18 |
.../busted-htest/busted-htest-1.0.0-r100.ebuild | 34 ++++++++++++++++++++++ |
19 |
dev-lua/busted-htest/busted-htest-1.0.0.ebuild | 30 +++++++++++++++++++ |
20 |
dev-lua/busted-htest/metadata.xml | 11 +++++++ |
21 |
profiles/package.mask | 1 + |
22 |
5 files changed, 77 insertions(+) |
23 |
|
24 |
diff --git a/dev-lua/busted-htest/Manifest b/dev-lua/busted-htest/Manifest |
25 |
new file mode 100644 |
26 |
index 00000000000..2c720b58981 |
27 |
--- /dev/null |
28 |
+++ b/dev-lua/busted-htest/Manifest |
29 |
@@ -0,0 +1 @@ |
30 |
+DIST busted-htest-1.0.0.tar.gz 4347 BLAKE2B f1d30a305cb9691588b18f67842b536d3de9430d22c51ec292202e5aca5784447cd525ae8b1f1da42a3d3792344419efbfe1d03fe29823b445a7c1ead0fe577f SHA512 001f494949c04445004e8b06fde62727cab85a320673748d18714b82d7b2b9aea43316f6119e669c569f31578b787f4e5ca5d19da3f33fe28df572aaa41c75bd |
31 |
|
32 |
diff --git a/dev-lua/busted-htest/busted-htest-1.0.0-r100.ebuild b/dev-lua/busted-htest/busted-htest-1.0.0-r100.ebuild |
33 |
new file mode 100644 |
34 |
index 00000000000..8cd1f8a95c7 |
35 |
--- /dev/null |
36 |
+++ b/dev-lua/busted-htest/busted-htest-1.0.0-r100.ebuild |
37 |
@@ -0,0 +1,34 @@ |
38 |
+# Copyright 1999-2020 Gentoo Authors |
39 |
+# Distributed under the terms of the GNU General Public License v2 |
40 |
+ |
41 |
+EAPI=7 |
42 |
+ |
43 |
+LUA_COMPAT=( lua5-{1..3} luajit ) |
44 |
+ |
45 |
+inherit lua |
46 |
+ |
47 |
+DESCRIPTION="Pretty output handler for Busted" |
48 |
+HOMEPAGE="https://github.com/hishamhm/busted-htest" |
49 |
+SRC_URI="https://github.com/hishamhm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="MIT" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] |
57 |
+ ${LUA_DEPS} |
58 |
+" |
59 |
+ |
60 |
+BDEPEND="virtual/pkgconfig" |
61 |
+ |
62 |
+lua_src_install() { |
63 |
+ insinto $(lua_get_lmod_dir) |
64 |
+ doins src/busted/outputHandlers/htest.lua |
65 |
+ |
66 |
+ einstalldocs |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ lua_foreach_impl lua_src_install |
71 |
+} |
72 |
|
73 |
diff --git a/dev-lua/busted-htest/busted-htest-1.0.0.ebuild b/dev-lua/busted-htest/busted-htest-1.0.0.ebuild |
74 |
new file mode 100644 |
75 |
index 00000000000..7007e6d3c37 |
76 |
--- /dev/null |
77 |
+++ b/dev-lua/busted-htest/busted-htest-1.0.0.ebuild |
78 |
@@ -0,0 +1,30 @@ |
79 |
+# Copyright 1999-2020 Gentoo Authors |
80 |
+# Distributed under the terms of the GNU General Public License v2 |
81 |
+ |
82 |
+EAPI=7 |
83 |
+ |
84 |
+inherit toolchain-funcs |
85 |
+ |
86 |
+DESCRIPTION="Pretty output handler for Busted" |
87 |
+HOMEPAGE="https://github.com/hishamhm/busted-htest" |
88 |
+SRC_URI="https://github.com/hishamhm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
89 |
+ |
90 |
+LICENSE="MIT" |
91 |
+SLOT="0" |
92 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" |
93 |
+IUSE="luajit" |
94 |
+ |
95 |
+RDEPEND=" |
96 |
+ luajit? ( dev-lang/luajit:2 ) |
97 |
+ !luajit? ( >=dev-lang/lua-5.1:0 ) |
98 |
+ dev-lua/busted |
99 |
+" |
100 |
+ |
101 |
+BDEPEND="virtual/pkgconfig" |
102 |
+ |
103 |
+src_install() { |
104 |
+ insinto $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua')) |
105 |
+ doins src/busted/outputHandlers/htest.lua |
106 |
+ |
107 |
+ einstalldocs |
108 |
+} |
109 |
|
110 |
diff --git a/dev-lua/busted-htest/metadata.xml b/dev-lua/busted-htest/metadata.xml |
111 |
new file mode 100644 |
112 |
index 00000000000..d43b8f09772 |
113 |
--- /dev/null |
114 |
+++ b/dev-lua/busted-htest/metadata.xml |
115 |
@@ -0,0 +1,11 @@ |
116 |
+<?xml version="1.0" encoding="UTF-8"?> |
117 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
118 |
+<pkgmetadata> |
119 |
+ <maintainer type="person"> |
120 |
+ <email>conikost@g.o</email> |
121 |
+ <name>Conrad Kostecki</name> |
122 |
+ </maintainer> |
123 |
+ <upstream> |
124 |
+ <remote-id type="github">hishamhm/busted-htest</remote-id> |
125 |
+ </upstream> |
126 |
+</pkgmetadata> |
127 |
|
128 |
diff --git a/profiles/package.mask b/profiles/package.mask |
129 |
index 219353df675..470f230edde 100644 |
130 |
--- a/profiles/package.mask |
131 |
+++ b/profiles/package.mask |
132 |
@@ -516,6 +516,7 @@ dev-lua/luacrypto |
133 |
=dev-games/openscenegraph-openmw-3.4_p20200425-r100 |
134 |
=dev-libs/efl-1.25.1-r10 |
135 |
>=dev-lua/busted-2.0.0-r100 |
136 |
+>=dev-lua/busted-htest-1.0.0-r100 |
137 |
>=dev-lua/dkjson-2.5-r100 |
138 |
>=dev-lua/ldoc-1.4.6-r100 |
139 |
>=dev-lua/lgi-0.9.2-r100 |