Gentoo Archives: gentoo-commits

From: Theo Anderson <telans@××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/fennel/
Date: Sat, 17 Apr 2021 23:06:52
Message-Id: 1618699923.61f9a5724531c7593d38444d261e8fd92c83e7b9.telans@gentoo
1 commit: 61f9a5724531c7593d38444d261e8fd92c83e7b9
2 Author: Theo Anderson <telans <AT> posteo <DOT> de>
3 AuthorDate: Sat Apr 17 22:52:03 2021 +0000
4 Commit: Theo Anderson <telans <AT> posteo <DOT> de>
5 CommitDate: Sat Apr 17 22:52:03 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61f9a572
7
8 dev-lang/fennel: fix VariableScope ED
9
10 Signed-off-by: Theo Anderson <telans <AT> posteo.de>
11
12 dev-lang/fennel/fennel-0.9.1.ebuild | 23 +++++++----------------
13 dev-lang/fennel/fennel-9999.ebuild | 23 +++++++----------------
14 2 files changed, 14 insertions(+), 32 deletions(-)
15
16 diff --git a/dev-lang/fennel/fennel-0.9.1.ebuild b/dev-lang/fennel/fennel-0.9.1.ebuild
17 index 6b904151f..62871fa60 100644
18 --- a/dev-lang/fennel/fennel-0.9.1.ebuild
19 +++ b/dev-lang/fennel/fennel-0.9.1.ebuild
20 @@ -10,7 +10,7 @@ inherit lua-single
21 DESCRIPTION="Fennel is a lisp that compiles to Lua"
22 HOMEPAGE="https://fennel-lang.org/"
23
24 -if [[ "${PV}" == *9999* ]]; then
25 +if [[ ${PV} == 9999 ]]; then
26 inherit git-r3
27 EGIT_REPO_URI="https://git.sr.ht/~technomancy/fennel"
28 else
29 @@ -22,24 +22,15 @@ LICENSE="MIT"
30 SLOT="0"
31 REQUIRED_USE="${LUA_REQUIRED_USE}"
32
33 -BDEPEND="${LUA_DEPS}"
34 -RDEPEND="${BDEPEND}"
35 +RDEPEND="${LUA_DEPS}"
36 DEPEND="${RDEPEND}"
37 -
38 -pkg_setup() {
39 - lua-single_pkg_setup
40 -}
41 -
42 -src_compile() {
43 - emake LUA_VERSION="$(lua_get_version)" \
44 - LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
45 - PREFIX="${ED}/usr"
46 -}
47 +BDEPEND="${RDEPEND}"
48
49 src_install() {
50 - emake LUA_VERSION="$(lua_get_version)" \
51 - LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
52 - PREFIX="${ED}/usr" install
53 + emake \
54 + LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
55 + PREFIX="${ED}/usr" \
56 + install
57 doman "${PN}.1"
58 dodoc *.md
59 }
60
61 diff --git a/dev-lang/fennel/fennel-9999.ebuild b/dev-lang/fennel/fennel-9999.ebuild
62 index 6b904151f..62871fa60 100644
63 --- a/dev-lang/fennel/fennel-9999.ebuild
64 +++ b/dev-lang/fennel/fennel-9999.ebuild
65 @@ -10,7 +10,7 @@ inherit lua-single
66 DESCRIPTION="Fennel is a lisp that compiles to Lua"
67 HOMEPAGE="https://fennel-lang.org/"
68
69 -if [[ "${PV}" == *9999* ]]; then
70 +if [[ ${PV} == 9999 ]]; then
71 inherit git-r3
72 EGIT_REPO_URI="https://git.sr.ht/~technomancy/fennel"
73 else
74 @@ -22,24 +22,15 @@ LICENSE="MIT"
75 SLOT="0"
76 REQUIRED_USE="${LUA_REQUIRED_USE}"
77
78 -BDEPEND="${LUA_DEPS}"
79 -RDEPEND="${BDEPEND}"
80 +RDEPEND="${LUA_DEPS}"
81 DEPEND="${RDEPEND}"
82 -
83 -pkg_setup() {
84 - lua-single_pkg_setup
85 -}
86 -
87 -src_compile() {
88 - emake LUA_VERSION="$(lua_get_version)" \
89 - LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
90 - PREFIX="${ED}/usr"
91 -}
92 +BDEPEND="${RDEPEND}"
93
94 src_install() {
95 - emake LUA_VERSION="$(lua_get_version)" \
96 - LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
97 - PREFIX="${ED}/usr" install
98 + emake \
99 + LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
100 + PREFIX="${ED}/usr" \
101 + install
102 doman "${PN}.1"
103 dodoc *.md
104 }