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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B5324158013 for ; Fri, 15 Dec 2023 16:00:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2C492BC025; Fri, 15 Dec 2023 16:00:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 CEA292BC024 for ; Fri, 15 Dec 2023 16:00:17 +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 ED22333E690 for ; Fri, 15 Dec 2023 16:00:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6167F136E for ; Fri, 15 Dec 2023 16:00:15 +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: <1702656010.a855c73304ff69dcf908c9acc1f5d26654db1f9f.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/flim/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/flim/flim-1.14.9_p20231214-r1.ebuild app-emacs/flim/metadata.xml X-VCS-Directories: app-emacs/flim/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a855c73304ff69dcf908c9acc1f5d26654db1f9f X-VCS-Branch: master Date: Fri, 15 Dec 2023 16:00:15 +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: b457ae61-481c-4423-bc7e-b0e52166dd85 X-Archives-Hash: 1d2b62f9456c82a770f6ff505f730f5d commit: a855c73304ff69dcf908c9acc1f5d26654db1f9f Author: Ulrich Müller gentoo org> AuthorDate: Fri Dec 15 15:53:08 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Dec 15 16:00:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a855c733 app-emacs/flim: Add conditional dependency on app-emacs/oauth2 Signed-off-by: Ulrich Müller gentoo.org> app-emacs/flim/flim-1.14.9_p20231214-r1.ebuild | 49 ++++++++++++++++++++++++++ app-emacs/flim/metadata.xml | 5 +++ 2 files changed, 54 insertions(+) diff --git a/app-emacs/flim/flim-1.14.9_p20231214-r1.ebuild b/app-emacs/flim/flim-1.14.9_p20231214-r1.ebuild new file mode 100644 index 000000000000..74e525fda945 --- /dev/null +++ b/app-emacs/flim/flim-1.14.9_p20231214-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="A library to provide basic features about message representation or encoding" +HOMEPAGE="https://github.com/wanderlust/flim" +GITHUB_SHA1="c430c5498ad5843f40ef758685e29431f167478c" +SRC_URI="https://github.com/wanderlust/${PN}/archive/${GITHUB_SHA1}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${GITHUB_SHA1}" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="oauth2 test" +RESTRICT="!test? ( test )" + +RDEPEND=">=app-emacs/apel-10.8 + oauth2? ( app-emacs/oauth2 )" + +BDEPEND="${RDEPEND} + test? ( app-emacs/oauth2 )" + +SITEFILE="60${PN}-gentoo.el" + +src_prepare() { + elisp_src_prepare + sed -i "s/(module-installed-p 'oauth2)/$(usex oauth2 t nil)/" \ + FLIM-ELS || die +} + +src_compile() { + emake PACKAGE_LISPDIR="NONE" +} + +src_test() { + emake PACKAGE_LISPDIR="NONE" check +} + +src_install() { + emake PREFIX="${ED}/usr" \ + LISPDIR="${ED}/${SITELISP}" \ + PACKAGE_LISPDIR="NONE" \ + VERSION_SPECIFIC_LISPDIR="${ED}/${SITELISP}" install + elisp-make-site-file "${SITEFILE}" + dodoc FLIM-API.en NEWS VERSION README* ChangeLog* +} diff --git a/app-emacs/flim/metadata.xml b/app-emacs/flim/metadata.xml index 0c64d614fe2d..735e0535fd3d 100644 --- a/app-emacs/flim/metadata.xml +++ b/app-emacs/flim/metadata.xml @@ -6,6 +6,11 @@ Gentoo GNU Emacs project + + + Support OAuth2 authentication (app-emacs/oauth2) + + wanderlust/flim