From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 52BD7158030 for ; Thu, 2 Mar 2023 08:46:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BEA7E07D0; Thu, 2 Mar 2023 08:46:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E159E07D0 for ; Thu, 2 Mar 2023 08:46:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2668C335D02 for ; Thu, 2 Mar 2023 08:46:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81430865 for ; Thu, 2 Mar 2023 08:46:21 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1677746772.5d71f13c5ed48109a5e2c88b5fa9361d696d29b7.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ddskk/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/ddskk/ddskk-17.1-r1.ebuild X-VCS-Directories: app-emacs/ddskk/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 5d71f13c5ed48109a5e2c88b5fa9361d696d29b7 X-VCS-Branch: master Date: Thu, 2 Mar 2023 08:46:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 79437ae0-401c-486a-acf0-4b60eaa6fbc7 X-Archives-Hash: a628176f2f7c05635d1407595d4d2a74 commit: 5d71f13c5ed48109a5e2c88b5fa9361d696d29b7 Author: Ulrich Müller gentoo org> AuthorDate: Thu Mar 2 08:44:45 2023 +0000 Commit: Ulrich Müller gentoo 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 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 +}