From: "Theo Anderson" <telans@posteo.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/fennel/
Date: Sat, 17 Apr 2021 23:06:48 +0000 (UTC) [thread overview]
Message-ID: <1618699923.61f9a5724531c7593d38444d261e8fd92c83e7b9.telans@gentoo> (raw)
commit: 61f9a5724531c7593d38444d261e8fd92c83e7b9
Author: Theo Anderson <telans <AT> posteo <DOT> de>
AuthorDate: Sat Apr 17 22:52:03 2021 +0000
Commit: Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sat Apr 17 22:52:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=61f9a572
dev-lang/fennel: fix VariableScope ED
Signed-off-by: Theo Anderson <telans <AT> posteo.de>
dev-lang/fennel/fennel-0.9.1.ebuild | 23 +++++++----------------
dev-lang/fennel/fennel-9999.ebuild | 23 +++++++----------------
2 files changed, 14 insertions(+), 32 deletions(-)
diff --git a/dev-lang/fennel/fennel-0.9.1.ebuild b/dev-lang/fennel/fennel-0.9.1.ebuild
index 6b904151f..62871fa60 100644
--- a/dev-lang/fennel/fennel-0.9.1.ebuild
+++ b/dev-lang/fennel/fennel-0.9.1.ebuild
@@ -10,7 +10,7 @@ inherit lua-single
DESCRIPTION="Fennel is a lisp that compiles to Lua"
HOMEPAGE="https://fennel-lang.org/"
-if [[ "${PV}" == *9999* ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~technomancy/fennel"
else
@@ -22,24 +22,15 @@ LICENSE="MIT"
SLOT="0"
REQUIRED_USE="${LUA_REQUIRED_USE}"
-BDEPEND="${LUA_DEPS}"
-RDEPEND="${BDEPEND}"
+RDEPEND="${LUA_DEPS}"
DEPEND="${RDEPEND}"
-
-pkg_setup() {
- lua-single_pkg_setup
-}
-
-src_compile() {
- emake LUA_VERSION="$(lua_get_version)" \
- LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
- PREFIX="${ED}/usr"
-}
+BDEPEND="${RDEPEND}"
src_install() {
- emake LUA_VERSION="$(lua_get_version)" \
- LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
- PREFIX="${ED}/usr" install
+ emake \
+ LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
+ PREFIX="${ED}/usr" \
+ install
doman "${PN}.1"
dodoc *.md
}
diff --git a/dev-lang/fennel/fennel-9999.ebuild b/dev-lang/fennel/fennel-9999.ebuild
index 6b904151f..62871fa60 100644
--- a/dev-lang/fennel/fennel-9999.ebuild
+++ b/dev-lang/fennel/fennel-9999.ebuild
@@ -10,7 +10,7 @@ inherit lua-single
DESCRIPTION="Fennel is a lisp that compiles to Lua"
HOMEPAGE="https://fennel-lang.org/"
-if [[ "${PV}" == *9999* ]]; then
+if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://git.sr.ht/~technomancy/fennel"
else
@@ -22,24 +22,15 @@ LICENSE="MIT"
SLOT="0"
REQUIRED_USE="${LUA_REQUIRED_USE}"
-BDEPEND="${LUA_DEPS}"
-RDEPEND="${BDEPEND}"
+RDEPEND="${LUA_DEPS}"
DEPEND="${RDEPEND}"
-
-pkg_setup() {
- lua-single_pkg_setup
-}
-
-src_compile() {
- emake LUA_VERSION="$(lua_get_version)" \
- LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
- PREFIX="${ED}/usr"
-}
+BDEPEND="${RDEPEND}"
src_install() {
- emake LUA_VERSION="$(lua_get_version)" \
- LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
- PREFIX="${ED}/usr" install
+ emake \
+ LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" \
+ PREFIX="${ED}/usr" \
+ install
doman "${PN}.1"
dodoc *.md
}
next reply other threads:[~2021-04-17 23:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-17 23:06 Theo Anderson [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-11-28 18:28 [gentoo-commits] repo/proj/guru:dev commit in: dev-lang/fennel/ Maciej Barć
2021-08-16 11:30 Maciej Barć
2021-08-16 11:30 Maciej Barć
2021-07-16 19:01 Maciej Barć
2021-05-11 23:23 Maciej Barć
2021-05-10 22:07 Maciej Barć
2021-04-16 20:17 Maciej Barć
2021-04-16 20:16 Maciej Barć
2021-04-16 19:38 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1618699923.61f9a5724531c7593d38444d261e8fd92c83e7b9.telans@gentoo \
--to=telans@posteo.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox