1 |
commit: c0ed5d49c89c21cd574db083270a5154b0d8a615 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 14 19:35:25 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 14 20:08:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0ed5d49 |
7 |
|
8 |
dev-lua/lua-argparse: drop old version |
9 |
|
10 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
dev-lua/lua-argparse/Manifest | 1 - |
14 |
.../lua-argparse/lua-argparse-0.6.0-r100.ebuild | 60 ---------------------- |
15 |
2 files changed, 61 deletions(-) |
16 |
|
17 |
diff --git a/dev-lua/lua-argparse/Manifest b/dev-lua/lua-argparse/Manifest |
18 |
index 2d0fc3a8147..a1d43f077e5 100644 |
19 |
--- a/dev-lua/lua-argparse/Manifest |
20 |
+++ b/dev-lua/lua-argparse/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST lua-argparse-0.6.0.tar.gz 36712 BLAKE2B 88882738453a894db68ef93557d870393eaec1fb2bf39b110bd2691678d26be64734d07c7f01f760d9c1d031e530707449ff2ca54a5cdd428cb8da3b1897a7e1 SHA512 7efdfab8ec563a9e7eddc7aff760fd4d3605df2896939af3f2c80e5ed4d4e5ba45a7815057e15446d242351a6fd139d6b8da802fe318d4a4bcd69918fece53d1 |
23 |
DIST lua-argparse-0.7.1.tar.gz 43778 BLAKE2B 6bc6a3dee3fd98cb8c00fa3ccb3ae9ffdb9f2707d80dd7f5717e1265430731957b756672ed4acd9222c686108f8a8b8c71c71285c2540e818396faf302c1d287 SHA512 f192d0c591516a74408a19c0bbf34233be180f63794211a951d19fc8d981749bc71eace16a4680c8f2bb302ab48958c6a9ffc84022a1754275fc1f9113ae32b0 |
24 |
|
25 |
diff --git a/dev-lua/lua-argparse/lua-argparse-0.6.0-r100.ebuild b/dev-lua/lua-argparse/lua-argparse-0.6.0-r100.ebuild |
26 |
deleted file mode 100644 |
27 |
index d331efad3b8..00000000000 |
28 |
--- a/dev-lua/lua-argparse/lua-argparse-0.6.0-r100.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,60 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
35 |
- |
36 |
-LUA_COMPAT=( lua5-{1..3} luajit ) |
37 |
- |
38 |
-inherit lua toolchain-funcs |
39 |
- |
40 |
-DESCRIPTION="Command line argument parser for the Lua Programming Language" |
41 |
-HOMEPAGE="https://github.com/mpeterv/argparse" |
42 |
-SRC_URI="https://github.com/mpeterv/${PN/lua-/}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
-S="${WORKDIR}/${PN//lua-/}-${PV}" |
44 |
- |
45 |
-LICENSE="MIT" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="amd64 arm arm64 ppc ppc64 x86" |
48 |
-IUSE="doc test" |
49 |
- |
50 |
-RESTRICT="!test? ( test )" |
51 |
- |
52 |
-RDEPEND="${LUA_DEPS}" |
53 |
-DEPEND="${RDEPEND}" |
54 |
-BDEPEND=" |
55 |
- virtual/pkgconfig |
56 |
- doc? ( dev-python/sphinx ) |
57 |
- test? ( |
58 |
- dev-lua/busted[${LUA_USEDEP}] |
59 |
- ${RDEPEND} |
60 |
- ) |
61 |
-" |
62 |
- |
63 |
-src_compile() { |
64 |
- if use doc; then |
65 |
- sphinx-build docsrc html || die |
66 |
- rm -rf "${S}"/html/{.doctrees,_sources} || die |
67 |
- fi |
68 |
-} |
69 |
- |
70 |
-lua_src_test() { |
71 |
- busted --exclude-tags="unsafe" --lua=${ELUA} || die |
72 |
-} |
73 |
- |
74 |
-src_test() { |
75 |
- lua_foreach_impl lua_src_test |
76 |
-} |
77 |
- |
78 |
-lua_src_install() { |
79 |
- insinto "$(lua_get_lmod_dir)" |
80 |
- doins src/argparse.lua |
81 |
-} |
82 |
- |
83 |
-src_install() { |
84 |
- default |
85 |
- |
86 |
- use doc && local -a HTML_DOCS=( "html/." ) |
87 |
- einstalldocs |
88 |
- |
89 |
- lua_foreach_impl lua_src_install |
90 |
-} |