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 B3E9715A7D9 for ; Thu, 23 Mar 2023 15:32:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAF6DE0843; Thu, 23 Mar 2023 15:32:46 +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 1C037E0843 for ; Thu, 23 Mar 2023 15:32:46 +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 E3A8F340BD3 for ; Thu, 23 Mar 2023 15:32:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3D9FD4A2 for ; Thu, 23 Mar 2023 15:32:43 +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: <1679585535.8b7e4da86909374cf5292c76eb5e4c88589fce92.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/libegit2/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/libegit2/Manifest app-emacs/libegit2/libegit2-0.0.20230129.ebuild X-VCS-Directories: app-emacs/libegit2/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8b7e4da86909374cf5292c76eb5e4c88589fce92 X-VCS-Branch: master Date: Thu, 23 Mar 2023 15:32:43 +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: c5088724-e573-4c77-a0e7-b262cbc90e8d X-Archives-Hash: 553751b3840c0be913d974da504c7a4e commit: 8b7e4da86909374cf5292c76eb5e4c88589fce92 Author: Ulrich Müller gentoo org> AuthorDate: Sun Feb 26 10:34:26 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu Mar 23 15:32:15 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b7e4da8 app-emacs/libegit2: add 0.0.20230129 Signed-off-by: Ulrich Müller gentoo.org> app-emacs/libegit2/Manifest | 1 + app-emacs/libegit2/libegit2-0.0.20230129.ebuild | 51 +++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/app-emacs/libegit2/Manifest b/app-emacs/libegit2/Manifest index a90bba907bc2..05f3883f58a4 100644 --- a/app-emacs/libegit2/Manifest +++ b/app-emacs/libegit2/Manifest @@ -1 +1,2 @@ DIST libegit2-0.0.20200515.tar.gz 132122 BLAKE2B 2e8e06fb833e5ea2ee0f4e1fa760d30e91235a9b9c4a465de6d8a12d6c8431bdc85204546ba36c36f206e2788d9f1cda00d578c1c40057ccfb3f2117e8302013 SHA512 f604591ba272ea1cef8c428f644c0cfcc4ba2438a55c2b7a0dd1cdcb15836c755c0c6bdc6c42bd6da05935bba7fdac30efe65f26307599b07e591f4efdd1e897 +DIST libegit2-0.0.20230129.tar.gz 132237 BLAKE2B 339c11eaa5b231d33a3b23780b625798d47ab6725fede240ae95307cc0034a61a39d84075be271fff2ae8b1ff5143fb61ef243671f8ac927b07e931824c8c55d SHA512 9384e9118b29429aaa8ee7608712bcc1c9f006a35fb46332f9b999be909ac18c4753af58cd1c91c37a6b24ca9a08f7103f22d53a242296d0dc6a509a2c5e27fb diff --git a/app-emacs/libegit2/libegit2-0.0.20230129.ebuild b/app-emacs/libegit2/libegit2-0.0.20230129.ebuild new file mode 100644 index 000000000000..ede569b2406d --- /dev/null +++ b/app-emacs/libegit2/libegit2-0.0.20230129.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +NEED_EMACS=26 +COMMIT="ab1a53a6a0120872e42582fc980e779d47de6d0e" + +BUILD_DIR="." + +inherit cmake elisp + +DESCRIPTION="Emacs bindings for libgit2" +HOMEPAGE="https://github.com/magit/libegit2" +SRC_URI="https://github.com/magit/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-2+ GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# The tests seem to be written specifically for the libegit2 git repository. +RESTRICT="test" + +DEPEND=">=dev-libs/libgit2-1.0.0:=" +RDEPEND="${DEPEND} + >=app-editors/emacs-26:*[dynamic-loading]" + +SITEFILE="50${PN}-gentoo.el" +DOCS="README.md" + +src_prepare() { + # Don't build against the bundled submodule + sed -i -e '/subdirectory.*libgit2/ s/^/#/' CMakeLists.txt || die + + rm -f test.el || die + + cmake_src_prepare +} + +src_configure() { + cmake_src_configure +} + +src_compile() { + cmake_src_compile + elisp_src_compile +} + +src_install() { + elisp_src_install + elisp-modules-install ${PN} libegit2.so +}