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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9D31B1392E8 for ; Sat, 24 Jul 2021 10:41:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 03A54E0AE2; Sat, 24 Jul 2021 10:41:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DB202E0AE2 for ; Sat, 24 Jul 2021 10:41:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9CD13342A63 for ; Sat, 24 Jul 2021 10:41:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 253F078A for ; Sat, 24 Jul 2021 10:41:15 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1627123258.8a424c8cbe741c499bf957b2d68e0f18f0e4d64e.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-scheme/guile-git/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-scheme/guile-git/Manifest dev-scheme/guile-git/guile-git-0.5.2.ebuild X-VCS-Directories: dev-scheme/guile-git/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 8a424c8cbe741c499bf957b2d68e0f18f0e4d64e X-VCS-Branch: master Date: Sat, 24 Jul 2021 10:41: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: bc226520-7d69-4423-872e-faad019c6a52 X-Archives-Hash: da4b7ee60742331cf53c337a924fabe8 commit: 8a424c8cbe741c499bf957b2d68e0f18f0e4d64e Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jul 24 10:40:58 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jul 24 10:40:58 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a424c8c dev-scheme/guile-git: bump up to 0.5.2 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-scheme/guile-git/Manifest | 1 + dev-scheme/guile-git/guile-git-0.5.2.ebuild | 54 +++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-scheme/guile-git/Manifest b/dev-scheme/guile-git/Manifest index 2987d122156..025f463e962 100644 --- a/dev-scheme/guile-git/Manifest +++ b/dev-scheme/guile-git/Manifest @@ -1 +1,2 @@ DIST guile-git-0.5.1.tar.gz 305077 BLAKE2B f1dd4dade424045f992f9df9fb6c0c6e010deab26d77b32c6a7febda20e03192c91a5ec024bfdf05ea9585c7be307610c1eea6d569a5a97b90d5eedf715e5c59 SHA512 b5a07fc3e2a6c8d6277b3a2d6c2d47461e76441573dcf02c046e272853e3d46266adb2025e15f203d590b751def21c026eb55ed66a6f81795c1409ae5d6aa3c2 +DIST guile-git-0.5.2.tar.gz 305493 BLAKE2B 03fa85e1943fadc5e7e2da4bed2b6476e5a275856ed087a1730815defc17586f43eb2006bc3970d6f97d42822bcf83ef3d57a74c9a7ddb2fb877f5f0f8237a49 SHA512 4ac55c04c555f1a343f842bbda80d54314697d5bbc28bc3967edfdfacb8afa07c673ef7fd651388a6c55b6977b041174732cde14359a0127f0b931364a7eeda9 diff --git a/dev-scheme/guile-git/guile-git-0.5.2.ebuild b/dev-scheme/guile-git/guile-git-0.5.2.ebuild new file mode 100644 index 00000000000..bd0165fade5 --- /dev/null +++ b/dev-scheme/guile-git/guile-git-0.5.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# I extract those manually from https://gitlab.com/guile-git/guile-git/-/releases +# from 'source tarball' link. Is there a better stable link? +UPLOAD_PV=0.5.2 +UPLOAD_ID=6450f3991aa524484038cdcea3fb248d + +[[ $PV == ${UPLOAD_PV} ]] || die "${CATEGORY}/${P}: update 'UPLOAD_ID' to match ${PV}" + +DESCRIPTION="Guile bindings of git" +HOMEPAGE="https://gitlab.com/guile-git/guile-git" +SRC_URI="https://gitlab.com/guile-git/guile-git/uploads/${UPLOAD_ID}/guile-git-${PV}.tar.gz" + +LICENSE="LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Works without sandbox. But under sandbox sshd claims to break the protocol. +RESTRICT=test + +# older libgit seems to be incompatible with guile-git bindings +# https://github.com/trofi/nix-guix-gentoo/issues/7 +RDEPEND=" + >=dev-scheme/guile-2.0.11:= + dev-scheme/bytestructures + >=dev-libs/libgit2-1:= +" +DEPEND="${RDEPEND}" + +# guile generates ELF files without use of C or machine code +# It's a portage's false positive. bug #677600 +QA_FLAGS_IGNORED='.*[.]go' + +src_prepare() { + default + + # guile is trying to avoid recompilation by checking if file + # /usr/lib64/guile/2.2/site-ccache/ + # is newer than + # + # In case it is instead of using guile + # loads system one (from potentially older version of package). + # To work it around we bump last modification timestamp of + # '*.scm' files. + # http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38112 + find "${S}" -name "*.scm" -exec touch {} + || die +} + +src_test() { + emake check VERBOSE=1 +}