[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: 92c8d718b1bb2f54a3a9c9f5610e804feaaa1be6 Author: William Hubbs gentoo org> AuthorDate: Mon Jun 10 20:35:04 2024 + Commit: William Hubbs gentoo org> CommitDate: Mon Jun 10 20:37:14 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c8d718 dev-lua/luacov: drop myself as a maintainer Signed-off-by: William Hubbs gentoo.org> dev-lua/luacov/metadata.xml | 4 1 file changed, 4 deletions(-) diff --git a/dev-lua/luacov/metadata.xml b/dev-lua/luacov/metadata.xml index 8678dcf1b480..ce977377719e 100644 --- a/dev-lua/luacov/metadata.xml +++ b/dev-lua/luacov/metadata.xml @@ -1,10 +1,6 @@ https://www.gentoo.org/dtd/metadata.dtd;> - - willi...@gentoo.org - William Hubbs - conik...@gentoo.org Conrad Kostecki
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: b6f6651b9c7c13edfa2e500521247453045ac2fc Author: Patrick McLean gentoo org> AuthorDate: Tue Feb 15 22:11:26 2022 + Commit: Patrick McLean gentoo org> CommitDate: Tue Feb 15 22:11:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6f6651b dev-lua/luacov: Fix name of doc dir Closes: https://bugs.gentoo.org/833023 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Patrick McLean gentoo.org> dev-lua/luacov/luacov-0.15.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lua/luacov/luacov-0.15.0.ebuild b/dev-lua/luacov/luacov-0.15.0.ebuild index 3f80f11204be..6ebf602b4270 100644 --- a/dev-lua/luacov/luacov-0.15.0.ebuild +++ b/dev-lua/luacov/luacov-0.15.0.ebuild @@ -29,7 +29,7 @@ BDEPEND=" ) " -HTML_DOCS=( "doc/." ) +HTML_DOCS=( "docs/." ) lua_src_test() { busted --lua=${ELUA} || die
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: 6a3befcacafbdb8d07f5e89cc4f2eb144aa53da3 Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Apr 22 19:26:53 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Apr 22 19:30:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a3befca dev-lua/luacov: keyworded 0.14.0-r100 for hppa/sparc, bug #783420 Package-Manager: Portage-3.0.17, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-lua/luacov/luacov-0.14.0-r100.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lua/luacov/luacov-0.14.0-r100.ebuild b/dev-lua/luacov/luacov-0.14.0-r100.ebuild index e9d0694d683..b8755276b85 100644 --- a/dev-lua/luacov/luacov-0.14.0-r100.ebuild +++ b/dev-lua/luacov/luacov-0.14.0-r100.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/keplerproject/${PN}/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" IUSE="test" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: 35c7b656bc273fde6cca26a775af49a7085dbd94 Author: Conrad Kostecki gentoo org> AuthorDate: Wed Apr 21 20:57:14 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Apr 21 21:02:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35c7b656 dev-lua/luacov: add missing cliargs for test Bug: https://bugs.gentoo.org/784848 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luacov/luacov-0.14.0-r100.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-lua/luacov/luacov-0.14.0-r100.ebuild b/dev-lua/luacov/luacov-0.14.0-r100.ebuild index 14729733d8e..e9d0694d683 100644 --- a/dev-lua/luacov/luacov-0.14.0-r100.ebuild +++ b/dev-lua/luacov/luacov-0.14.0-r100.ebuild @@ -24,6 +24,7 @@ BDEPEND=" virtual/pkgconfig test? ( dev-lua/busted[${LUA_USEDEP}] + dev-lua/lua_cliargs[${LUA_USEDEP}] ${RDEPEND} ) "
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: b69a05a1c933afb16f3baf94efc837c36890624d Author: Conrad Kostecki gentoo org> AuthorDate: Wed Apr 21 20:22:25 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Apr 21 20:29:38 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b69a05a1 dev-lua/luacov: add ~ppc ~ppc64 keyword Bug: https://bugs.gentoo.org/783423 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luacov/luacov-0.14.0-r100.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lua/luacov/luacov-0.14.0-r100.ebuild b/dev-lua/luacov/luacov-0.14.0-r100.ebuild index 4ac32d2c415..14729733d8e 100644 --- a/dev-lua/luacov/luacov-0.14.0-r100.ebuild +++ b/dev-lua/luacov/luacov-0.14.0-r100.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/keplerproject/${PN}/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" IUSE="test" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: bd4e8e4a81a0a832e4cba49cd30380fd12e9c0cb Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Apr 20 21:16:00 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Apr 20 21:20:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4e8e4a dev-lua/luacov: keyworded 0.14.0-r100 for ia64 keyworded wrt bug #783420 Package-Manager: Portage-3.0.18, Repoman-3.0.3 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-lua/luacov/luacov-0.14.0-r100.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lua/luacov/luacov-0.14.0-r100.ebuild b/dev-lua/luacov/luacov-0.14.0-r100.ebuild index 9f9d91d40d6..4ac32d2c415 100644 --- a/dev-lua/luacov/luacov-0.14.0-r100.ebuild +++ b/dev-lua/luacov/luacov-0.14.0-r100.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/keplerproject/${PN}/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~x86" IUSE="test" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )"
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: 79812e97aad2eddb47a85351c2dc601230f7132c Author: Conrad Kostecki gentoo org> AuthorDate: Sat Apr 17 12:18:43 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Sat Apr 17 12:24:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79812e97 dev-lua/luacov: add Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luacov/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-lua/luacov/metadata.xml b/dev-lua/luacov/metadata.xml index 09de5599f7c..7b9c5abd463 100644 --- a/dev-lua/luacov/metadata.xml +++ b/dev-lua/luacov/metadata.xml @@ -9,6 +9,7 @@ conik...@gentoo.org Conrad Kostecki + keplerproject/luacov
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: 0d04d8d504b484d3652d5a896bdb8e781e45fdf4 Author: Conrad Kostecki gentoo org> AuthorDate: Sun Jan 24 18:04:41 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jan 27 19:40:19 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d04d8d5 dev-lua/luacov: drop old version Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luacov/luacov-0.14.0.ebuild | 46 - 1 file changed, 46 deletions(-) diff --git a/dev-lua/luacov/luacov-0.14.0.ebuild b/dev-lua/luacov/luacov-0.14.0.ebuild deleted file mode 100644 index ab0c2bbc60d..000 --- a/dev-lua/luacov/luacov-0.14.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="A simple coverage analyzer for Lua scripts" -HOMEPAGE="https://github.com/keplerproject/luacov; -SRC_URI="https://github.com/keplerproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="luajit test" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -RDEPEND=" - luajit? ( dev-lang/luajit:2 ) - !luajit? ( dev-lang/lua:0 ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - test? ( - dev-lua/busted - ${RDEPEND} - ) -" - -HTML_DOCS=( "doc/." ) - -src_test() { - busted --lua="$(usex luajit 'luajit' 'lua')" || die -} - -src_install() { - dobin src/bin/luacov - - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" - doins src/luacov.lua - doins -r src/luacov - - einstalldocs -}
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/, dev-lua/luacov/files/
commit: c105e59b66018b66026532462aad8375bcc1f136 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Jan 9 13:44:07 2021 + Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jan 9 14:29:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c105e59b dev-lua/luacov: drop old version Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luacov/Manifest| 1 - dev-lua/luacov/files/luacov-0.8-fix-makefile.patch | 25 --- dev-lua/luacov/luacov-0.8.ebuild | 36 -- 3 files changed, 62 deletions(-) diff --git a/dev-lua/luacov/Manifest b/dev-lua/luacov/Manifest index 9f2bab83abc..9f2cfe036bb 100644 --- a/dev-lua/luacov/Manifest +++ b/dev-lua/luacov/Manifest @@ -1,2 +1 @@ DIST luacov-0.14.0.tar.gz 49571 BLAKE2B 2248fc00e1af0a1cdec923bbe6150ae682cc1ba814c77f21bc86269d723ea80542fb48fe62980de2527040598b7b9c87f92f146d6c62abde06651fa6733c75c5 SHA512 44ea158ce597f705d80b9768676e401804daea91b9c2afb146a8d25aae612e895e4f42a29c4b7b3438659c596fa500af5d23b66b7f3477459747ad06ca9b7ffa -DIST luacov-0.8.tar.gz 33613 BLAKE2B 942c47de25dbd53de445e1ed1fa924f1be278da4c3b134e4a603f4a5ab5090f87d762c48163cf82ed9bab585e35b0528c330b3dc849e0043ccc96532107c8a94 SHA512 03d6ee519a570ff0430bcc32f547b9beb01691bd8c7ad8655e78d732223c6c25e4a63d816fd99640568251b836d5e3cc736bd5d780f5ecd3986d855ed5edfa11 diff --git a/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch deleted file mode 100644 index 7a4ea6ba9ea..000 --- a/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/Makefile b/Makefile -index 477f9de..adad2cc 100644 a/Makefile -+++ b/Makefile -@@ -6,13 +6,13 @@ BINDIR=$(PREFIX)/bin - LUADIR=$(PREFIX)/share/lua/5.1/ - - install: -- mkdir -p $(BINDIR) -- cp src/bin/luacov $(BINDIR) -- chmod +x $(BINDIR)/luacov -- mkdir -p $(LUADIR) -- cp src/luacov.lua $(LUADIR) -- mkdir -p $(LUADIR)/luacov -- cp src/luacov/*.lua $(LUADIR)/luacov -+ mkdir -p $(DESTDIR)$(BINDIR) -+ cp src/bin/luacov $(DESTDIR)$(BINDIR) -+ chmod +x $(DESTDIR)$(BINDIR)/luacov -+ mkdir -p $(DESTDIR)$(LUADIR) -+ cp src/luacov.lua $(DESTDIR)$(LUADIR) -+ mkdir -p $(DESTDIR)$(LUADIR)/luacov -+ cp src/luacov/*.lua $(DESTDIR)$(LUADIR)/luacov - - dist: - rm -rf $(PACKAGE)-$(VERSION) diff --git a/dev-lua/luacov/luacov-0.8.ebuild b/dev-lua/luacov/luacov-0.8.ebuild deleted file mode 100644 index 97c531edf6c..000 --- a/dev-lua/luacov/luacov-0.8.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils - -DESCRIPTION="LuaCov is a simple coverage analyzer for Lua scripts" -HOMEPAGE="https://github.com/keplerproject/luacov; -SRC_URI="https://github.com/keplerproject/luacov/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="" - -COMMON_DEPEND=">=dev-lang/lua-5.1:0=" -DEPEND="${COMMON_DEPEND} -virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND}" - -src_prepare() { - epatch "${FILESDIR}"/${PF}-fix-makefile.patch -} - -src_compile() { - return 0 -} - -src_install() { - emake DESTDIR="${ED}" \ - PREFIX=/usr \ - LUADIR="$(pkg-config --variable INSTALL_LMOD lua)" install -dohtml -r doc/* - dodoc -r examples -}
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: cd15421e2e0354248b49773b603d9fa84531fc63 Author: Marek Szuba gentoo org> AuthorDate: Thu Dec 3 13:41:45 2020 + Commit: Marek Szuba gentoo org> CommitDate: Thu Dec 3 13:50:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd15421e dev-lua/luacov: limit unmigrated ebuilds to dev-lang/lua:0 Signed-off-by: Marek Szuba gentoo.org> dev-lua/luacov/luacov-0.8.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lua/luacov/luacov-0.8.ebuild b/dev-lua/luacov/luacov-0.8.ebuild index 280c33a87c1..97c531edf6c 100644 --- a/dev-lua/luacov/luacov-0.8.ebuild +++ b/dev-lua/luacov/luacov-0.8.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -14,7 +14,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -COMMON_DEPEND=">=dev-lang/lua-5.1:=" +COMMON_DEPEND=">=dev-lang/lua-5.1:0=" DEPEND="${COMMON_DEPEND} virtual/pkgconfig" RDEPEND="${COMMON_DEPEND}"
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/, profiles/
commit: 3029a542b17af798f3300277c18499bd07e8d324 Author: Conrad Kostecki gentoo org> AuthorDate: Tue Dec 1 11:56:26 2020 + Commit: Conrad Kostecki gentoo org> CommitDate: Tue Dec 1 11:56:57 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3029a542 dev-lua/luacov: bump to version 0.14.0, migrate to lua eclass Closes: https://bugs.gentoo.org/752636 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luacov/Manifest | 1 + dev-lua/luacov/luacov-0.14.0-r100.ebuild | 53 dev-lua/luacov/luacov-0.14.0.ebuild | 46 +++ dev-lua/luacov/metadata.xml | 4 +++ profiles/package.mask| 1 + 5 files changed, 105 insertions(+) diff --git a/dev-lua/luacov/Manifest b/dev-lua/luacov/Manifest index e8f8a4c749f..9f2bab83abc 100644 --- a/dev-lua/luacov/Manifest +++ b/dev-lua/luacov/Manifest @@ -1 +1,2 @@ +DIST luacov-0.14.0.tar.gz 49571 BLAKE2B 2248fc00e1af0a1cdec923bbe6150ae682cc1ba814c77f21bc86269d723ea80542fb48fe62980de2527040598b7b9c87f92f146d6c62abde06651fa6733c75c5 SHA512 44ea158ce597f705d80b9768676e401804daea91b9c2afb146a8d25aae612e895e4f42a29c4b7b3438659c596fa500af5d23b66b7f3477459747ad06ca9b7ffa DIST luacov-0.8.tar.gz 33613 BLAKE2B 942c47de25dbd53de445e1ed1fa924f1be278da4c3b134e4a603f4a5ab5090f87d762c48163cf82ed9bab585e35b0528c330b3dc849e0043ccc96532107c8a94 SHA512 03d6ee519a570ff0430bcc32f547b9beb01691bd8c7ad8655e78d732223c6c25e4a63d816fd99640568251b836d5e3cc736bd5d780f5ecd3986d855ed5edfa11 diff --git a/dev-lua/luacov/luacov-0.14.0-r100.ebuild b/dev-lua/luacov/luacov-0.14.0-r100.ebuild new file mode 100644 index 000..9f9d91d40d6 --- /dev/null +++ b/dev-lua/luacov/luacov-0.14.0-r100.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) + +inherit lua + +DESCRIPTION="A simple coverage analyzer for Lua scripts" +HOMEPAGE="https://github.com/keplerproject/luacov; +SRC_URI="https://github.com/keplerproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lua/busted[${LUA_USEDEP}] + ${RDEPEND} + ) +" + +HTML_DOCS=( "doc/." ) + +lua_src_test() { + busted --lua=${ELUA} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto "$(lua_get_lmod_dir)" + doins src/luacov.lua + doins -r src/luacov +} + +src_install() { + lua_foreach_impl lua_src_install + + dobin src/bin/luacov + + einstalldocs +} diff --git a/dev-lua/luacov/luacov-0.14.0.ebuild b/dev-lua/luacov/luacov-0.14.0.ebuild new file mode 100644 index 000..ab0c2bbc60d --- /dev/null +++ b/dev-lua/luacov/luacov-0.14.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A simple coverage analyzer for Lua scripts" +HOMEPAGE="https://github.com/keplerproject/luacov; +SRC_URI="https://github.com/keplerproject/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="luajit test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND=" + luajit? ( dev-lang/luajit:2 ) + !luajit? ( dev-lang/lua:0 ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + test? ( + dev-lua/busted + ${RDEPEND} + ) +" + +HTML_DOCS=( "doc/." ) + +src_test() { + busted --lua="$(usex luajit 'luajit' 'lua')" || die +} + +src_install() { + dobin src/bin/luacov + + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" + doins src/luacov.lua + doins -r src/luacov + + einstalldocs +} diff --git a/dev-lua/luacov/metadata.xml b/dev-lua/luacov/metadata.xml index 772969c18c2..09de5599f7c 100644 --- a/dev-lua/luacov/metadata.xml +++ b/dev-lua/luacov/metadata.xml @@ -5,6 +5,10 @@ willi...@gentoo.org William Hubbs + + conik...@gentoo.org + Conrad Kostecki + keplerproject/luacov diff --git a/profiles/package.mask b/profiles/package.mask index 496136f4d29..04c5357b1fe 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -548,6 +548,7 @@ dev-lua/luacrypto >=dev-lua/lua_cliargs-3.0_p2-r100 >=dev-lua/LuaBitOp-1.0.2-r100 >=dev-lua/luacheck-0.23.0-r100 +>=dev-lua/luacov-0.14.0-r100 >=dev-lua/luadbi-0.7.2-r100 >=dev-lua/luaevent-0.4.6-r100
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/, dev-lua/luacov/files/
commit: d331b133dad3196327c55cc14c6daf08e43f1d02 Author: William Hubbs gentoo org> AuthorDate: Fri Nov 6 00:31:27 2015 + Commit: William Hubbs gentoo org> CommitDate: Fri Nov 6 00:33:16 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d331b133 dev-lua/luacov: initial commit dev-lua/luacov/Manifest| 1 + dev-lua/luacov/files/luacov-0.8-fix-makefile.patch | 25 +++ dev-lua/luacov/luacov-0.8.ebuild | 37 ++ dev-lua/luacov/metadata.xml| 11 +++ 4 files changed, 74 insertions(+) diff --git a/dev-lua/luacov/Manifest b/dev-lua/luacov/Manifest new file mode 100644 index 000..499ba8f --- /dev/null +++ b/dev-lua/luacov/Manifest @@ -0,0 +1 @@ +DIST luacov-0.8.tar.gz 33613 SHA256 fa4497c2345e3c679ea7fca5dd725efd6d467e051f4dbc5c76c7f7303b99f584 SHA512 03d6ee519a570ff0430bcc32f547b9beb01691bd8c7ad8655e78d732223c6c25e4a63d816fd99640568251b836d5e3cc736bd5d780f5ecd3986d855ed5edfa11 WHIRLPOOL e309c80bec56445446f0ddd512b8ccc05c4982cccb0858fa1ed6f8db06f00098317c8281d6c357188cd36bfbd11d4147b1a4b33a9f361065a7ba23fa9e1df30b diff --git a/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch new file mode 100644 index 000..7a4ea6b --- /dev/null +++ b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch @@ -0,0 +1,25 @@ +diff --git a/Makefile b/Makefile +index 477f9de..adad2cc 100644 +--- a/Makefile b/Makefile +@@ -6,13 +6,13 @@ BINDIR=$(PREFIX)/bin + LUADIR=$(PREFIX)/share/lua/5.1/ + + install: +- mkdir -p $(BINDIR) +- cp src/bin/luacov $(BINDIR) +- chmod +x $(BINDIR)/luacov +- mkdir -p $(LUADIR) +- cp src/luacov.lua $(LUADIR) +- mkdir -p $(LUADIR)/luacov +- cp src/luacov/*.lua $(LUADIR)/luacov ++ mkdir -p $(DESTDIR)$(BINDIR) ++ cp src/bin/luacov $(DESTDIR)$(BINDIR) ++ chmod +x $(DESTDIR)$(BINDIR)/luacov ++ mkdir -p $(DESTDIR)$(LUADIR) ++ cp src/luacov.lua $(DESTDIR)$(LUADIR) ++ mkdir -p $(DESTDIR)$(LUADIR)/luacov ++ cp src/luacov/*.lua $(DESTDIR)$(LUADIR)/luacov + + dist: + rm -rf $(PACKAGE)-$(VERSION) diff --git a/dev-lua/luacov/luacov-0.8.ebuild b/dev-lua/luacov/luacov-0.8.ebuild new file mode 100644 index 000..d1fd6c1 --- /dev/null +++ b/dev-lua/luacov/luacov-0.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +DESCRIPTION="LuaCov is a simple coverage analyzer for Lua scripts" +HOMEPAGE="https://github.com/keplerproject/luacov; +SRC_URI="https://github.com/keplerproject/luacov/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEPEND=">=dev-lang/lua-5.1" +DEPEND="${COMMON_DEPEND} +virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PF}-fix-makefile.patch +} + +src_compile() { + return 0 +} + +src_install() { + emake DESTDIR="${ED}" \ + PREFIX=/usr \ + LUADIR="$(pkg-config --variable INSTALL_LMOD lua)" install +dohtml -r doc/* + dodoc -r examples +} diff --git a/dev-lua/luacov/metadata.xml b/dev-lua/luacov/metadata.xml new file mode 100644 index 000..d3a313a --- /dev/null +++ b/dev-lua/luacov/metadata.xml @@ -0,0 +1,11 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + willi...@gentoo.org + William Hubbs + + + LuaCov is a coverage analyzer for Lua scripts. + +
[gentoo-commits] repo/gentoo:master commit in: dev-lua/luacov/
commit: c260d5756e9312619e86eb26dd863b30e2d349b7 Author: William Hubbs gentoo org> AuthorDate: Fri Nov 6 02:31:57 2015 + Commit: William Hubbs gentoo org> CommitDate: Fri Nov 6 02:31:57 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c260d575 dev-lua/luacov: repoman fix -- add slot operator dev-lua/luacov/luacov-0.8.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-lua/luacov/luacov-0.8.ebuild b/dev-lua/luacov/luacov-0.8.ebuild index d1fd6c1..c21d837 100644 --- a/dev-lua/luacov/luacov-0.8.ebuild +++ b/dev-lua/luacov/luacov-0.8.ebuild @@ -15,7 +15,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -COMMON_DEPEND=">=dev-lang/lua-5.1" +COMMON_DEPEND=">=dev-lang/lua-5.1:=" DEPEND="${COMMON_DEPEND} virtual/pkgconfig" RDEPEND="${COMMON_DEPEND}"