Merge updates from master

This commit is contained in:
Repository mirror & CI
2024-10-02 10:04:09 +00:00
11 changed files with 190 additions and 227 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST ghub-4.0.0.tar.gz 63020 BLAKE2B e01df9e093573933e24c39ef9a252d31dda4c9b0304ad5ab1f5ba55b6869224bb708dbdc0994c316c35ac0bb8df08d7238da0469a7e0ff84f3f769d35b55d89e SHA512 61825bd5230bc4a80c4a0a40cb717fd4a603ac351a3cdae2bc93fa0e8ca6d4ba51647d8cb151e436a8b19def7a389629dddebb1454172588a472bf0eb2c21b8e
DIST ghub-4.1.0.tar.gz 63324 BLAKE2B 9abc543f23e92ed6971817ae141c3a393900d6bd3254a4d3dec66f5ede65f7d69cdcd4bced0a0394fb46d1ed7d9c3ae81613a00e0870dd7e58752bc3b4ab0512 SHA512 3abe39cdcbe5728bc4a0387ae70ae85b5a81498a2cfb12267127e43ad02613492109ad25bb97c8a8a0d5e7283f12cc5b20f40744e30053c698d75d6ce8940cd4
DIST ghub-4.1.1.tar.gz 63350 BLAKE2B da6ca76f7980887ee7ce5ce7c5482b8314f6fa1b051c906200d72bfcbf787505e5310ca91c47eb762e7d6a6f8b604e86828aabe023a5f451d11513dd2b9ae2b4 SHA512 cb9312956f856a99ef74a53a2c42d9da4e6722ce051eda78910054df64d5a6f8cf847542a56bb81d146ff6028363eda4e98a44ec4ca34c59a0eff893fc654b47
+43
View File
@@ -0,0 +1,43 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Minuscule client library for the Git forge APIs"
HOMEPAGE="https://magit.vc/manual/ghub/
https://github.com/magit/ghub/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/magit/${PN}.git"
else
SRC_URI="https://github.com/magit/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="GPL-3+"
SLOT="0"
DOCS=( README.org )
ELISP_TEXINFO="docs/ghub.texi"
SITEFILE="50${PN}-gentoo.el"
RDEPEND="
>=app-emacs/compat-30.0.0.0
>=app-emacs/treepy-0.1.2
"
BDEPEND="
${RDEPEND}
sys-apps/texinfo
"
src_prepare() {
mv lisp/*.el . || die
elisp_src_prepare
}
+1
View File
@@ -1,2 +1,3 @@
DIST magit-4.0.0.tar.gz 676167 BLAKE2B 2adc7388cddc5230615344b3340ae181feaea1e6c174970e11a5d6f6795ecb32581dc12448c1bdfa6ec4144cc4118ace70049ff264a2c29f084cf90aa3f56d69 SHA512 c42dfe78f1f1c5f6cc732a566b820362993763ada7186d1a76ba0deedf7bd91415d502984e4afd6e958ea237b3f351c718a9e588f9734d7afc186793432229f0
DIST magit-4.1.0.tar.gz 673317 BLAKE2B 6457c77f08605e3665b3fadcb4d6bc48d21498e370261d9709305e774de579be4647afb6e598a446a3ddf06e47baef6561a48706609812991a24e3ab2b22d416 SHA512 063c23a7f1a9099d7ec020980be936b30b85756b30bded48264939c5ae7f742820efc3eadc8ba480ad328ca7276a9d35bb168e6b7a42ea8dfa6a2c1e13b8cc90
DIST magit-4.1.1.tar.gz 674147 BLAKE2B 4878061957f342aa1c76e8f356a59d6e13ceba35dad6ed0adf4ba59484a3cb9585855aaeec91a40f6dddd9bfa53c0ed0733b506c19be70a5b056ba70dbb27f4e SHA512 c1ab5b4dadf11a0eafcb69ac46c7c1aa19595a1a76e0cf3b8afa987e64c4b525007753179da1e146dab89504f1b436e9141c76025019bd1077d2172beab8105b
+50
View File
@@ -0,0 +1,50 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="A Git porcelain inside Emacs"
HOMEPAGE="https://magit.vc/
https://github.com/magit/magit/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
S="${WORKDIR}/${P}/lisp"
LICENSE="GPL-3+"
SLOT="0"
DOCS=( ../README.md ../docs/AUTHORS.md ../docs/RelNotes )
ELISP_TEXINFO="../docs/*.texi"
SITEFILE="50${PN}-gentoo.el"
RDEPEND="
>=app-emacs/compat-30.0.0.0
>=app-emacs/dash-2.19.1
>=app-emacs/transient-0.7.6
>=app-emacs/with-editor-3.4.2
"
BDEPEND="
${RDEPEND}
sys-apps/texinfo
"
RDEPEND+="
>=dev-vcs/git-2.44.2
"
src_prepare() {
default
echo "(setq ${PN}-version \"${PV}\")" > "./${PN}-version.el" || die
}
+1
View File
@@ -1 +1,2 @@
DIST transient-0.7.5.tar.gz 141189 BLAKE2B 55535f6121467a1f380ec8d6a4afbb810556f914dc30a7c2fb913f2238bd47809f3d8aadfe35cfdae087525048e83beb14380cd3fdf6cae59643191147df4789 SHA512 18d051235b15e95312fcd60ddfa0f0ba85351d6102117717c81f621528a46a6d0f03d918002a7af2702135ebcf53c498f079a12d99ffc68711e20b196045e032
DIST transient-0.7.6.tar.gz 141843 BLAKE2B 30ef7aaa1c90a66ab377f076c6a75f217ae1bf40d9541558c0a21a258a53d3c980d7d305658d644e345fcafd3fe6722054ec6154616c6f9dd917a94c70f93fa4 SHA512 315af2dd6f9503f1f695dcb85c8a157651c1b0df4d5272d6a16c0e579213c475a4637db8f262016ef4a99a532c7b5d8c1c9a4ac456ac6deb7d711c6490af2b11
@@ -0,0 +1,42 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit elisp
DESCRIPTION="Transient commands abstraction for GNU Emacs"
HOMEPAGE="https://magit.vc/manual/transient/
https://github.com/magit/transient/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/magit/${PN}.git"
else
SRC_URI="https://github.com/magit/${PN}/archive/v${PV}.tar.gz
-> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
fi
LICENSE="GPL-3+"
SLOT="0"
DOCS=( CHANGELOG README.org "docs/${PN}.org" )
ELISP_TEXINFO="docs/${PN}.texi"
SITEFILE="50${PN}-gentoo.el"
RDEPEND="
>=app-emacs/compat-30.0.0.0
"
BDEPEND="
${RDEPEND}
sys-apps/texinfo
"
src_prepare() {
mv lisp/*.el . || die
elisp_src_prepare
}
-1
View File
@@ -1,3 +1,2 @@
DIST nim-2.0.6.tar.xz 7668088 BLAKE2B 1cc2b3be355b236b467fa6629747de55b60b6d2f3e9d8bc584fa4f30ba842d68a0db984aff234df1299b0a782af1d464382bb37fa62c0c7a952e667bf0d3c3be SHA512 9668b34decb55fd27f0edb8c6dcdd2d8dbed00f71e8ce5c177422aedbcc359f4b943b29a38875f4715c1903a32b8388e2a4662d5ceb301349b23eb2277dbde1e
DIST nim-2.0.8.tar.xz 7617556 BLAKE2B 96ab3e92c7c9d3dcb54de6528f2ae788f3ff4a927d693f2ca4917231441d85d12c8bda44c41c8f363979dbd0d8db54098648512caf7780bdc40e393c4f7803ec SHA512 e64abc379c046a9432515d1c8074a7e10ff72a1076663a5b7bdd39ae92852c98ba2cab96aa5e968fc31ca393e778e70b2392d6ab56bca7ac956d0176b4b69a83
DIST nim-atlas-0.8.0.tar.gz 59097 BLAKE2B 231b238ac3b15cc2c2d9ad927f80ae72d8ae4c649277515f32df6cc04275ccd38db5307d627572af547501e6522c06c86dc279dc3e13b5385f14e24032f6fe69 SHA512 747c13e2c5bd45a1dc6c1426f8c7637f638ada9dd4c9aa3edf4ef8367060e73226dc4bcde6380fac25ed47ebf4097fd223c72fadc3cceba8c71dd0f0571e47eb
-183
View File
@@ -1,183 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ATLAS_V="0.8.0"
inherit bash-completion-r1 edo multiprocessing toolchain-funcs xdg-utils
DESCRIPTION="Compiled, garbage-collected systems programming language"
HOMEPAGE="https://nim-lang.org/
https://github.com/nim-lang/Nim/"
SRC_URI="
https://nim-lang.org/download/${P}.tar.xz
https://github.com/nim-lang/atlas/archive/refs/tags/${ATLAS_V}.tar.gz
-> nim-atlas-${ATLAS_V}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~x86"
IUSE="test-js test"
RESTRICT="!test? ( test )"
DEPEND="
test? (
dev-db/sqlite:3
dev-libs/boehm-gc
dev-libs/libffi
dev-libs/libpcre:3
dev-libs/openssl
media-libs/libsdl
media-libs/libsfml
)
"
BDEPEND="
sys-process/parallel
test? (
test-js? (
net-libs/nodejs
)
)
"
src_configure() {
xdg_environment_reset # bug #667182
unset NIMBLE_DIR
tc-export CC CXX LD
mkdir "${HOME}/.parallel" || die
touch "${HOME}/.parallel/will-cite" || die "parallel setup failed"
cat > nim.cfg <<- EOF || die "Failed to create Nim config"
cc:"gcc"
gcc.exe:"$(tc-getCC)"
gcc.linkerexe:"$(tc-getCC)"
gcc.cpp.exe:"$(tc-getCXX)"
gcc.cpp.linkerexe:"$(tc-getCXX)"
gcc.options.speed:"${CFLAGS}"
gcc.options.size:"${CFLAGS}"
gcc.options.debug:"${CFLAGS}"
gcc.options.always:"${CPPFLAGS}"
gcc.options.linker:"${LDFLAGS}"
gcc.cpp.options.speed:"${CXXFLAGS}"
gcc.cpp.options.size:"${CXXFLAGS}"
gcc.cpp.options.debug:"${CXXFLAGS}"
gcc.cpp.options.always:"${CPPFLAGS}"
gcc.cpp.options.linker:"${LDFLAGS}"
$([[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] && echo '--colors:"off"')
-d:"release"
--parallelBuild:"$(makeopts_jobs)"
# some tests don't work with processing hints
--processing:"off"
EOF
cp -r "${WORKDIR}/atlas-${ATLAS_V}" "${S}/dist/atlas" || die
}
src_compile() {
local -x PATH="${S}/bin:${PATH}"
edo ./build.sh --parallel "$(makeopts_jobs)"
ebegin "Waiting for unfinished parallel jobs"
while [[ ! -f "bin/nim" ]] ; do
sleep 3
done
sleep 10
eend 0
edo chmod +x ./bin/nim
edo ./bin/nim compile -d:release koch
edo ./koch boot -d:nimUseLinenoise -d:release --skipParentCfg:off
edo ./koch tools -d:release
edo ./bin/nim compile -d:release ./tools/niminst/niminst.nim
}
src_test() {
local -x PATH="${S}/bin:${PATH}"
local -a nimflags=(
# Leave only the safe hints enabled.
--hint:all:off
--hint:User:on
--hint:UserRaw:on
)
local -a testament_args=(
--skipFrom:"${FILESDIR}/${PN}-2.0.6-testament-skipfile.txt"
--nim:"bin/nim"
--targets:"$(usex test-js 'c js' 'c')"
)
[[ "${NOCOLOR}" == true || "${NOCOLOR}" == yes ]] \
&& testament_args+=( --colors:off )
local -a categories
readarray -t categories < <(find tests -mindepth 1 -maxdepth 1 -type d -printf "%P\n" | sort)
# AdditionalCategories from "testament/categories.nim".
categories+=( debugger examples lib )
local test_return=0
local tcat
local checkpoint
for tcat in "${categories[@]}"; do
# Use checkpoints for less painful testing.
checkpoint="${T}/.testament-${tcat}"
[[ -f "${checkpoint}" ]] && continue
case "${tcat}" in
testdata )
:
;;
arc | gc | ic | js | msgs | stylecheck \
| testament | untestable | objects | valgrind )
einfo "Skipped nim test category: ${tcat}"
;;
* )
einfo "Running tests in category '${tcat}'"
nonfatal edo ./bin/testament "${testament_args[@]}" \
category "${tcat}" "${nimflags[@]}" \
|| test_return=1
;;
esac
touch "${checkpoint}" || die
done
[[ "${test_return}" -eq 1 ]] \
&& die "tests failed, please inspect the failed test categories above"
}
src_install() {
local -x PATH="${S}/bin:${PATH}"
edo ./koch install "${ED}/usr/lib"
dosym -r /usr/lib/nim/bin/nim /usr/bin/nim
# "./koch install" installs only "nim" binary but not the rest.
exeinto /usr/bin
local exe
while read -r exe ; do
einfo "Installing nim support tool: ${exe}"
doexe "${exe}"
done < <(find ./bin -type f -not -iname nim)
newbashcomp tools/nim.bash-completion nim
newbashcomp dist/nimble/nimble.bash-completion nimble
insinto /usr/share/zsh/site-functions
newins tools/nim.zsh-completion _nim
newins dist/nimble/nimble.zsh-completion _nimble
# Install the @nim-rebuild set for Portage.
insinto /usr/share/portage/config/sets
newins "${FILESDIR}/nim-sets.conf" nim.conf
einstalldocs
}
+1
View File
@@ -1,2 +1,3 @@
DIST guile-git-v0.6.0.tar.bz2 99833 BLAKE2B 51109cc5f037cffd5e8a6dd1b0ce99631ffb524e209a8b081c33a188ead78d26c76dbb9590e3891c056eb7853da57b7e3f3f08ef3723465bd7ab43671c3d018b SHA512 519b5dafd83b5967403929e347fa2b81fcec97136459722fdc95357cbeba9d519807b8863b17a85fc426e53e8f78f5d3979f96bbb32548bcf598827f3f228219
DIST guile-git-v0.7.0.tar.bz2 100454 BLAKE2B a94a8f81949f1caf4bb31ed498856561fd88d541c3f8ccced1a5f6633f189a09d8961b5fdf7810393e110665e77db48bf4aeb3c756437e2b75f614710eaac521 SHA512 6207464bc48de8e33fde0365c198e42c21719e5ffb27e30ab3277f88d04ccc4a2fe4964c0019333be8f047d3ddc76f1c98e6e060311ce6b2a13ac670c0663226
DIST guile-git-v0.8.0.tar.bz2 100931 BLAKE2B 1f36be666eeca6d2e826582ea780eb7d7bad8b212b4848a8814aae5e21547657f5d46e163758beb21fb30e5fba2ba66f3fb96cc94f701e9f740cb78398d0a7b2 SHA512 cad6777a26f94d26b7967ff1a2619d19b773ace6332dda7c4ff3c355762d2d1f7740be3fdf34dc1fc91a2b2ad202f51865b3e4dd6574cd91a4f149d5c51c6b47
@@ -0,0 +1,51 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
GUILE_COMPAT=( 3-0 )
inherit autotools guile
DESCRIPTION="Guile bindings of git"
HOMEPAGE="https://gitlab.com/guile-git/guile-git/"
if [[ "${PV}" == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/${PN}/${PN}.git"
else
SRC_URI="https://gitlab.com/${PN}/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
S="${WORKDIR}/${PN}-v${PV}"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="LGPL-3+"
SLOT="0"
REQUIRED_USE="${GUILE_REQUIRED_USE}"
RDEPEND="
${GUILE_DEPS}
>=dev-libs/libgit2-1.8.0:=
>=dev-scheme/bytestructures-2.0.2-r100[${GUILE_USEDEP}]
"
DEPEND="
${RDEPEND}
"
BDEPEND="
virtual/pkgconfig
"
src_prepare() {
guile_src_prepare
# network sandbox + ssh configuration
sed -i -e '/tests\/clone.scm/d' Makefile.am || die
eautoreconf
}
src_test() {
guile_foreach_impl emake VERBOSE="1" check
}
@@ -1,43 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
[[ ${PV} == *_p20211018 ]] && COMMIT=32d7fa8751f668f9e9a18e4e96df3337b53d2150
inherit java-pkg-2 java-ant-2
DESCRIPTION="Interpolating SMT-solver computing Craig interpolants for various theories"
HOMEPAGE="http://ultimate.informatik.uni-freiburg.de/smtinterpol/
https://github.com/ultimate-pa/smtinterpol/"
SRC_URI="https://github.com/ultimate-pa/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${COMMIT}
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
RDEPEND=">=virtual/jre-1.8"
DEPEND=">=virtual/jdk-1.8"
PATCHES=(
"${FILESDIR}"/${PN}-Version.template-version.patch
"${FILESDIR}"/${PN}-build.xml-basename.patch
)
src_prepare() {
default
java-pkg-2_src_prepare
}
src_compile() {
eant all
}
src_install() {
java-pkg_dojar dist/*.jar
java-pkg_dolauncher ${PN} --jar ${PN}.jar
einstalldocs
}