diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 19:42:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-07-24 19:42:07 +0100 |
commit | fbd9734cedfe790955100b8e4ab3613457d77b1a (patch) | |
tree | 3eda83643563749dd2792dfb880eaeca1d061c18 /dev-scheme/guile-git | |
parent | 6abaca02d36f161c81e2d5ee467719a89f88b2c5 (diff) |
gentoo resync (3) : 24.07.2021
Diffstat (limited to 'dev-scheme/guile-git')
-rw-r--r-- | dev-scheme/guile-git/Manifest | 2 | ||||
-rw-r--r-- | dev-scheme/guile-git/guile-git-0.5.2.ebuild | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-scheme/guile-git/Manifest b/dev-scheme/guile-git/Manifest index ea81d1591223..31e87b7d9db7 100644 --- a/dev-scheme/guile-git/Manifest +++ b/dev-scheme/guile-git/Manifest @@ -1,3 +1,5 @@ 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 EBUILD guile-git-0.5.1.ebuild 1326 BLAKE2B c846b257e729e7c41fb7f59281373ede6d96321612d7a2b1582a1751ead68e8a5d671d4a70e28e0f4c71f08d29acb7a0b940992478d9138cfeebb09ed7ec2798 SHA512 642614d2c1aed98a302e9ee0283863724cc77af3554b2db387364ebc12fa619f8f4503eb97436e62238828fcc1369abc25327d4288da27e74429ecbaa8892b30 +EBUILD guile-git-0.5.2.ebuild 1592 BLAKE2B acade8b6015e3b7613a717feb2d83a8023c918853c938b4cc1446cc2b735d41d0500e3a47bf654db33554295c7d43b2de76269ec161b9626ac266b635de057da SHA512 b802a99d469cd7e7f53ba537877fd3e1d4434ce420625ccbd048220ffa45da27efda7e24da3436905d0be24048a72980b3bb0f916495fd76aaf20ef16b77864f MISC metadata.xml 214 BLAKE2B 0a2601c4b6c8aa8569cb5a07bd8a19ec844dea5b7a16b8f8c7ad700e280d9ecdecbd79ab5aa27dddde5f03a6f6c2b2ca46187b695bc93eb1454a58b9976fd4d1 SHA512 9995eb1c11ee28d6d8cff9eda811942251d44756be7438853ccac23f92da6ab17d9502ef4e259728a11e6627dc7d2dcaadb295895db2cf87436dd8a6330bf1f1 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 000000000000..bd0165fade55 --- /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/<foo> + # is newer than + # <foo> + # In case it is instead of using <foo> 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 +} |