public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ddskk/
Date: Thu,  2 Mar 2023 08:46:21 +0000 (UTC)	[thread overview]
Message-ID: <1677746772.5d71f13c5ed48109a5e2c88b5fa9361d696d29b7.ulm@gentoo> (raw)

commit:     5d71f13c5ed48109a5e2c88b5fa9361d696d29b7
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  2 08:44:45 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Mar  2 08:46:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d71f13c

app-emacs/ddskk: Don't use ${ED} in src_prepare

EAPI 8. Minor cleanups.

Bug: https://bugs.gentoo.org/836034
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/ddskk/ddskk-17.1-r1.ebuild | 75 ++++++++++++++++++++++++++++++++++++
 1 file changed, 75 insertions(+)

diff --git a/app-emacs/ddskk/ddskk-17.1-r1.ebuild b/app-emacs/ddskk/ddskk-17.1-r1.ebuild
new file mode 100644
index 000000000000..42c352b2f1f7
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-17.1-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30"
+NEED_EMACS="24.3"
+
+inherit elisp ruby-single vcs-snapshot
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="https://github.com/skk-dev/${PN}/archive/${P}_Neppu.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ruby"
+RESTRICT="test"
+
+RDEPEND="|| (
+		app-i18n/skk-jisyo
+		virtual/skkserv
+	)
+	ruby? ( ${RUBY_DEPS} )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+	echo "(add-to-list 'load-path (expand-file-name \"..\"))" \
+		 >>nicola/NICOLA-DDSKK-CFG || die
+
+	default
+
+	rm -f skk-lookup.el || die
+	if use ruby; then
+		cp bayesian/*.el . || die
+	fi
+	cp tut-code/*.el . || die
+}
+
+src_compile() {
+	emake elc info
+	emake -C nicola
+}
+
+src_install() {
+	local lispdir="${SITELISP}/${PN}"
+
+	echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG || die
+	echo "(setq SKK_LISPDIR \"${ED}${lispdir}\")" >>SKK-CFG || die
+
+	emake install-elc
+	elisp-compile "${ED}${lispdir}"/skk-setup.el
+	rm -f "${ED}${lispdir}"/leim-list.el || die
+	elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+	doinfo doc/skk.info
+	dodoc ChangeLog* README.md \
+		  READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}*
+
+	local exts=( nicola tut-code ) d f
+	elisp-install ${PN} nicola/*.{el,elc}
+
+	if use ruby; then
+		dobin bayesian/bskk
+		exts+=( bayesian )
+	fi
+
+	for d in ${exts[@]}; do
+		docinto ${d}
+		for f in ${d}/{ChangeLog,README}*; do
+			[[ -s ${f} ]] && dodoc ${f}
+		done
+	done
+}


             reply	other threads:[~2023-03-02  8:46 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-02  8:46 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-12  4:08 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ddskk/ Sam James
2023-06-12  4:08 Sam James
2023-05-09 13:06 Sam James
2023-05-09 13:06 Sam James
2023-05-09  4:09 Arthur Zamarin
2023-05-09  4:09 Arthur Zamarin
2023-04-10  7:05 Hans de Graaff
2022-12-07 17:57 Hans de Graaff
2021-11-30 13:06 Akinori Hattori
2021-11-29 22:39 Sam James
2021-11-20  7:28 Agostino Sarubbo
2021-11-19 11:39 Arthur Zamarin
2021-11-18 14:00 Jakov Smolić
2020-08-28 13:07 Akinori Hattori
2020-08-23 13:19 Akinori Hattori
2020-08-20 13:41 Akinori Hattori
2020-08-19 14:20 Akinori Hattori
2020-08-01 13:03 Akinori Hattori
2020-05-02  5:18 Hans de Graaff
2018-06-26 16:02 Hans de Graaff
2018-06-26  2:14 Aaron Bauman
2018-06-17 17:52 Hans de Graaff
2017-06-19 11:13 Akinori Hattori
2017-06-18  9:45 Akinori Hattori
2017-06-18  9:45 Akinori Hattori
2017-06-18  9:45 Akinori Hattori
2016-11-27  9:22 Akinori Hattori

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=1677746772.5d71f13c5ed48109a5e2c88b5fa9361d696d29b7.ulm@gentoo \
    --to=ulm@gentoo.org \
    --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