Sync with portage [Wed Oct 16 09:41:17 MSK 2024].
This commit is contained in:
parent
a8118b9fe6
commit
7766ed93b4
7945 changed files with 20693 additions and 18915 deletions
Binary file not shown.
Binary file not shown.
|
@ -1,3 +1,5 @@
|
|||
DIST aws-cli-1.34.29.gh.tar.gz 2800945 BLAKE2B 93d9b41dfb2d80546f6cd601ff339053b6fef760bf9359d56b2d3835c1a8cca21146b492100db611c1bbe8601ad143dde0490b86d63eba7707141a5ca0c6aecb SHA512 9174fbc0e552d708916080b8b3d5b6b1e871332ac2a8b65b27091745b4537120d97c99ced878c861960f81b8368cb564a1fe573c9dc528c343b2100fc0ea6b08
|
||||
DIST aws-cli-1.35.0.gh.tar.gz 2806480 BLAKE2B d607933a9baa0e50ab8d809e0ecb68681e90815fca7db6b69b01a632a56d37a62bedaf6dc981bffaa0206b31b6ca84b3d5e3524289b9b2edc55ef1989239a696 SHA512 2008b00455755b3c332b83d6df3e86f461a94b401aeb022887feddd6f5f3ab439b382d24d46c4e0da825df24899ede6307c4e482987d07171d38704c85ac4eb1
|
||||
DIST aws-cli-1.35.5.gh.tar.gz 2808789 BLAKE2B 545c76bd349485fbf2dc5565317678904c99443e2e6dc2e12fa9de122327d8aa0e8b9579cec37afe2e949a0c31c48e0977e52d701ffc212182c692769c35a948 SHA512 2a9c86f1a63b657d3c95f8a65020ea7837ded9f5147ce31a535f59b9d9c1c91c3354a82286c25252da7d5b7c48c1898f594be0cb9e1ba54c6768133543fcba50
|
||||
DIST aws-cli-1.35.6.gh.tar.gz 2809349 BLAKE2B 565ee8bbebdb387c437bccfc608833abb789b5a44cf7a246b04264536edc8b5c282ecdeedb4a26652058ba85b22c8ca048812f3ebf890503d5853c582ac67791 SHA512 481c6cf4a3f516cfd929736cfa556620eb493f9b5f47a861e8a44c37edb9642a7bddffcf69ed2d43e63a9253114f0ad1bd700c9f7b66c114cb1b7ad2c3271c15
|
||||
DIST aws-cli-1.35.7.gh.tar.gz 2809700 BLAKE2B 02cbe60f2ee5afd8dabd9e339e95f21794d331f4a19d4548d8f8c07c2ca4e6ab5c859559f0fb01af413832f57a9726a61e50c5b26a34db7f789f544583c0d6c6 SHA512 23bf47790bc51547ad9af289f4ad0a84ede1c6a01171adc7bf8e1236227ef8f59fabfefc9f89560dcaeae1d3118f12e25eccac6afae7f33f8bd6682a7feed959
|
||||
|
|
91
app-admin/awscli/awscli-1.35.6.ebuild
Normal file
91
app-admin/awscli/awscli-1.35.6.ebuild
Normal file
|
@ -0,0 +1,91 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.y.(z+34)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(ver_cut 2).$(( $(ver_cut 3-) + 34 ))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
98
app-admin/awscli/awscli-1.35.7.ebuild
Normal file
98
app-admin/awscli/awscli-1.35.7.ebuild
Normal file
|
@ -0,0 +1,98 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.y.(z+34)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(ver_cut 2).$(( $(ver_cut 3-) + 34 ))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.10.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local serial_tests=(
|
||||
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
|
||||
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
|
||||
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
|
||||
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
|
||||
tests/unit/customizations/test_sessionmanager.py
|
||||
tests/unit/test_compat.py::TestIgnoreUserSignals
|
||||
tests/unit/test_help.py
|
||||
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
|
||||
)
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
EPYTEST_XDIST= epytest "${serial_tests[@]}"
|
||||
|
||||
local EPYTEST_DESELECT=( "${serial_tests[@]}" )
|
||||
case ${EPYTHON} in
|
||||
python3.13*)
|
||||
EPYTEST_DESELECT+=(
|
||||
# flaky (some ordering?)
|
||||
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
|
||||
)
|
||||
;;
|
||||
esac
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
Binary file not shown.
|
@ -17,7 +17,7 @@ else
|
|||
SRC_URI="https://github.com/containers/podman/archive/v${PV/_rc/-rc}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P/_rc/-rc}"
|
||||
[[ ${PV} != *rc* ]] && \
|
||||
KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~riscv"
|
||||
fi
|
||||
|
||||
# main pkg
|
||||
|
|
Binary file not shown.
|
@ -34,7 +34,7 @@ LICENSE="GPL-2 LGPL-2.1"
|
|||
# Bump FUDGE if a release is made which breaks ABI without changing SONAME.
|
||||
# (Reset to 0 if FUDGE != 0 if libgpgme/libgpgmepp/libqpggme change.)
|
||||
SLOT="1/11.6.15.2"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="common-lisp static-libs +cxx python qt5 qt6 test"
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
DIST xca-2.5.0.tar.gz 1850445 BLAKE2B e12666fc0513cd04bd61d4e182851c055c120425ad8d2fb2698396429b7afb4cc57c77be6d6cc3f63f9d49d5a179123b336d43dde57ef4a3274e7ba1a06f22f7 SHA512 8b283509849c9ac34d5250c780dc0c7a6319eb3201ae892fc2c38e5257d7db4e565e88167a687ffc1ca436068a41cd48fad59d3ecc8235678d46cf026280bd5e
|
||||
DIST xca-2.6.0.tar.gz 1874590 BLAKE2B a6a83df88209d6c929bfd5781f6d56b01498d3b9d296a66f4e513f279fc3c14749e1af1f765e863b26e49807a00f5c11e40f8e16f965e23025d835b58eaf4dfc SHA512 4797445e818545c92ded8f611e53f36cab85b527772a531d7a3fae5c5fdb87e1be34139ffeb906239bc3a02221807e2d7c286990ce68f92c1964545cb8fd7986
|
||||
DIST xca-2.7.0.tar.gz 1893082 BLAKE2B e37f622864ea20dcf9796640ab7628205823ed2bc8cfeba54fe5dc815be60fba318e9b180d880258ad3d9d2b58b98fd688ee87969da0e2cc8017d98c0cce5680 SHA512 ac441a88c3a4548d78256509ba47cdcb438113e021d76367cbbb91f2a6f6ade2f6ee50c9132d2e89f3843263a7fbd4af73fcada0c32573c819781c0228939f62
|
||||
DIST xca-2.8.0.tar.gz 1955684 BLAKE2B 4ba352d023a3c7018cfb89cc6e8d9296c7a2664338ef4a3084339f96d32073065be7ec5d07e35cc9b91371e3d580872fa0d282ae10aa5bb36d0ffefa472c23d9 SHA512 14e880625f086d12cd39e55c1dc5703bdbc7cfcf683cf4706bb3fd0e2d9c2937194d3420f5e9a0a8f8fc22a24a56eaf67dc7c8eae5426e991f6737f0b6bb7a52
|
||||
|
|
25
app-crypt/xca/files/xca-2.8.0-man-page.patch
Normal file
25
app-crypt/xca/files/xca-2.8.0-man-page.patch
Normal file
|
@ -0,0 +1,25 @@
|
|||
--- a/doc/CMakeLists.txt 2024-10-15 08:03:24.619608495 +0200
|
||||
+++ b/doc/CMakeLists.txt 2024-10-15 08:04:23.264026922 +0200
|
||||
@@ -160,8 +160,8 @@
|
||||
|
||||
if (NOT WIN32)
|
||||
add_custom_command(
|
||||
- OUTPUT "${D}/xca.1.gz"
|
||||
- COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | gzip -n9 > "${D}/xca.1.gz"
|
||||
+ OUTPUT "${D}/xca.1"
|
||||
+ COMMAND cat "${S}/xca.1.head" "${D}/xca.1.options" "${S}/xca.1.tail" | cat > "${D}/xca.1"
|
||||
DEPENDS "${S}/xca.1.head" "${S}/xca.1.tail"
|
||||
"${D}/xca.1.options"
|
||||
COMMENT "Compiling man page"
|
||||
@@ -171,9 +171,9 @@
|
||||
COMMAND xcadoc man "${D}/xca.1.options"
|
||||
COMMENT "Generate 'man' commandline documentation"
|
||||
)
|
||||
- add_custom_target(manpage ALL DEPENDS ${D}/xca.1.gz)
|
||||
+ add_custom_target(manpage ALL DEPENDS ${D}/xca.1)
|
||||
if (NOT APPLE)
|
||||
- install(FILES "${D}/xca.1.gz" DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
+ install(FILES "${D}/xca.1" DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
endif()
|
||||
add_dependencies(${CMAKE_PROJECT_NAME} manpage)
|
||||
endif()
|
68
app-crypt/xca/xca-2.8.0.ebuild
Normal file
68
app-crypt/xca/xca-2.8.0.ebuild
Normal file
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit cmake virtualx xdg-utils
|
||||
|
||||
DESCRIPTION="A GUI to OpenSSL, RSA public keys, certificates, signing requests etc"
|
||||
HOMEPAGE="https://hohnstaedt.de/xca/"
|
||||
SRC_URI="https://github.com/chris2511/xca/archive/refs/tags/RELEASE.${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/xca-RELEASE.${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libltdl:0=
|
||||
dev-qt/qtbase:6[sqlite,widgets]
|
||||
dev-qt/qttools:6[assistant]
|
||||
dev-libs/openssl:*
|
||||
doc? ( app-text/linuxdoc-tools )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/qttools:6[linguist]
|
||||
doc? ( dev-python/sphinx dev-python/sphinxcontrib-htmlhelp dev-python/sphinxcontrib-qthelp )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-2.8.0-man-page.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DQTFIXEDVERSION=Qt6
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
insinto /etc/xca
|
||||
doins misc/*.txt
|
||||
|
||||
dosym xca /usr/bin/xca-console
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_icon_cache_update
|
||||
xdg_desktop_database_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
Binary file not shown.
|
@ -1,3 +1,2 @@
|
|||
DIST aspell-pl-6.0.20240901.0.tar.bz2 662091 BLAKE2B 4cc31bfc174c583369546b48384b86137e497fe1ff14ebc639576f2a2bf5b6b391fb8873330a9bc0d7e9651339069fbc18bc8383a28aed34f5c63aed68cada5c SHA512 fffec9ed2360d063a631a0167da70b92a0931eb772b5ed8b06e275cb7dfecb90a59fd70b993b8bce79fc108afbbdac24599981389b9383555d337a570aea0b6f
|
||||
DIST aspell-pl-6.0.20241001.0.tar.bz2 661658 BLAKE2B 13dbcba6e364003a121a532fa5c90b1c19e38623c46cbe1402ac02cc0bfbfc3b06cb6083e240ac58b77b602e8fa13ebfadcc82253820819f9a86b8abbcc4025d SHA512 d62b2f1c7df39b2d784219a287b30134a482da2649cab049b99d71557c772269408b2250c19281581ec2056a097c524163243beb27f6a136c843f3f0edf39ff1
|
||||
DIST sjp-aspell6-pl-6.0_20240301-0.tar.bz2 658890 BLAKE2B 6b4b5fa979aaf1e6d04d8e6efda375e88f3d6c1ce0ec1ad7c518e2ad2aedd69d5ed78488c317fa60cda82d8460b535973684e8571577167beb4c284ff605389f SHA512 81f11538195cca3faa42a6dd7f7f1f674f08126203347f3a2803cb0ea80e272013800e1986ebcc99b7c65003b156db6ceca953f64509d39120024140a848be9c
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
ASPELL_LANG="Polish"
|
||||
ASPELL_VERSION=6
|
||||
|
||||
inherit aspell-dict-r1
|
||||
|
||||
HOMEPAGE="https://sjp.pl/slownik/en/"
|
||||
|
||||
MY_P="sjp-${PN/aspell/aspell6}-$(ver_rs 2 _ 3 -)"
|
||||
SRC_URI="https://sjp.pl/slownik/ort/${MY_P}.tar.bz2"
|
||||
S="${WORKDIR}/${MY_P/sjp-/}"
|
||||
|
||||
LICENSE="Apache-2.0 CC-BY-4.0 GPL-2 LGPL-2.1 MPL-1.1 "
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
|
@ -18,4 +18,4 @@ S="${WORKDIR}/${MY_P}"
|
|||
|
||||
LICENSE="GPL-2 LGPL-2.1 MPL-1.1 Apache-2.0 CC-BY-4.0" # upstream's order
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
|
Binary file not shown.
|
@ -2,3 +2,4 @@ DIST eclass-manpages-20240512.tar.xz 452732 BLAKE2B e39fe919e90d24247ff1a5153359
|
|||
DIST eclass-manpages-20240614.tar.xz 450756 BLAKE2B 50435ab646a238f47cc96573af3d8ed53e14b700c9284253a2a9efbda40fc058f475a9900e56c3d6575ceafa4385eec89d9d1df87dd5ec94425c69daf258ab0e SHA512 80c0ba3eac7affc670f10d2eca58293bb79de94cc3b9d2349dd9b2227efd02b08d7e8a095161b484f87b3e23042afea73fadbd0cff867006bfbbb748a5051c55
|
||||
DIST eclass-manpages-20240811.tar.xz 455124 BLAKE2B dde9ffe7baa7fcb6904af47a5fb7bf05103c2646b682e27fd3454eaf2ee4708d059c666eddbd39571899d23bcc8ef411e75f16c905048a103f818f396e390794 SHA512 d62979614e1301bba51798280f21baa46a55c594f4345f07b1c21b772bb22cc0be2db55a2d3b190bf2a5921c727329266743a2f2b0ad0ef2a14f1a967c779e55
|
||||
DIST eclass-manpages-20240901.tar.xz 460224 BLAKE2B 96743842457d552079bed954839f05c71f36f9618d5fff5a20df2383e3615053ef93cb748756727e9131c1896106ccae4013dc9888cddbea60cc1d330b8f7cc3 SHA512 8b3128f5cc7626410e9988cf42a2448566f0859aa02388b1dd888d47714dafe7cac1c607d32e48331b4697f80bc9e4b806e9f21257e5ce3883216649e9fcafcd
|
||||
DIST eclass-manpages-20241015.tar.xz 455572 BLAKE2B a6d3a92bf1a24c36f44e80c00f4e7779b88f42c0a33583793a6e8f6c1427e8295967c0855c876a363fa219b10dbc8a1848a57f307de6deca8fd966640ee3121b SHA512 cabe349aadf8f5f00adf72a04cb10ce0f3ed12c49e5f4c151a5da31223941ee7c1e71b7c84fb8a6dfd6eb14f176792132feb6cd04a1123ed17300b429dcb9878
|
||||
|
|
24
app-doc/eclass-manpages/eclass-manpages-20241015.ebuild
Normal file
24
app-doc/eclass-manpages/eclass-manpages-20241015.ebuild
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Instructions to make a dist tarball:
|
||||
# git clone https://github.com/projg2/eclass-to-manpage.git
|
||||
# cd eclass-to-manpage
|
||||
# make dist ECLASSDIR=~/g/eclass/
|
||||
|
||||
DESCRIPTION="Collection of Gentoo eclass manpages"
|
||||
HOMEPAGE="https://github.com/projg2/eclass-to-manpage"
|
||||
SRC_URI="https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
# Keep the keywords stable. No need to change to ~arch.
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
BDEPEND="sys-apps/gawk"
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
|
||||
}
|
Binary file not shown.
|
@ -1,3 +1 @@
|
|||
DIST faudio-24.08.tar.gz 1125131 BLAKE2B a76da292ec74662413aa287147b83978f422d68077b62e3c8d5ad8a324ac1838d130d46ba8e7d32551221e55e73970ddc47ec06e20de905a6dc7cedacafc34fb SHA512 29777408b65ddc77e31d284730a0f3a08a973e29f6a492a7a9af5208b78279d40967ca593a55542aa3de7dd41deb82a31a6291a6bdffd56f04a91674276f95c6
|
||||
DIST faudio-24.09.tar.gz 1125248 BLAKE2B 5aad42653d4242df21fbf6d807176dd9db0820f5dfb708ca584b8e7cb234f7a65e68806f96dee8620d5a356c60ab0317099470ebdac9ab00444646c321e67099 SHA512 f74282a7df749f50026bb07309ca20fb12b098cc24b003f8b93f4f6868a3d6f4343d4bd06b947b17d9ec6c1d08f88e477da259397d745f9cc41321f7c5722448
|
||||
DIST faudio-24.10.tar.gz 1125385 BLAKE2B 1179139403621302c238b1ba4dfd691b64541c2b23919cfb86f9cad587e1fbd68be18c62c00fc3a9c408d7c580e2ce63392d362ad32a60957bc102b5a1189c51 SHA512 e0b2031ba8452aa0696bc841013db5558c97f87a0071cf5fb48dd668363980d6d7d1adbc22d051e5019f32ee4aaf5553ebb80d37b87e9bcde153b828be5ff127
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
DESCRIPTION="Accuracy-focused XAudio reimplementation for open platforms"
|
||||
HOMEPAGE="https://fna-xna.github.io/"
|
||||
SRC_URI="https://github.com/FNA-XNA/FAudio/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/FAudio-${PV}"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug dumpvoices test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="media-libs/libsdl2[sound]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -D_DEFAULT_SOURCE # usleep() in tests
|
||||
use debug || append-cppflags -DFAUDIO_DISABLE_DEBUGCONFIGURATION
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DDUMP_VOICES=$(usex dumpvoices)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Running faudio_tests, this may take some time without output..."
|
||||
SDL_AUDIODRIVER=dummy "${BUILD_DIR}"/faudio_tests || die
|
||||
}
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake flag-o-matic
|
||||
|
||||
DESCRIPTION="Accuracy-focused XAudio reimplementation for open platforms"
|
||||
HOMEPAGE="https://fna-xna.github.io/"
|
||||
SRC_URI="https://github.com/FNA-XNA/FAudio/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/FAudio-${PV}"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug dumpvoices test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="media-libs/libsdl2[sound]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
append-cppflags -D_DEFAULT_SOURCE # usleep() in tests
|
||||
use debug || append-cppflags -DFAUDIO_DISABLE_DEBUGCONFIGURATION
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTS=$(usex test)
|
||||
-DDUMP_VOICES=$(usex dumpvoices)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Running faudio_tests, this may take some time without output..."
|
||||
SDL_AUDIODRIVER=dummy "${BUILD_DIR}"/faudio_tests || die
|
||||
}
|
|
@ -12,7 +12,7 @@ S="${WORKDIR}/FAudio-${PV}"
|
|||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="debug dumpvoices test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ HOMEPAGE="
|
|||
|
||||
S="${WORKDIR}/${WINE_P}"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
LICENSE="LGPL-2.1+ BSD BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
|
|
|
@ -26,7 +26,7 @@ HOMEPAGE="
|
|||
https://gitlab.winehq.org/wine/wine/
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
LICENSE="LGPL-2.1+ BSD BSD-2 IJG MIT OPENLDAP ZLIB gsm libpng2 libtiff"
|
||||
SLOT="${PV}"
|
||||
IUSE="
|
||||
+X +abi_x86_32 +abi_x86_64 +alsa capi crossdev-mingw cups dos
|
||||
|
|
|
@ -5,7 +5,8 @@ DIST edk2-b16284e2a0011489f6e16dfcc6af7623c3cbaf0b.tar.gz 15245558 BLAKE2B 33876
|
|||
DIST ipxe-git-1d1cf74a5e58811822bee4b3da3cff7282fcdfca.tar.gz 4074878 BLAKE2B d335d1e69bf736c53622e34e5ebeea77e294637f39bd5e2704f13b8e334b684130c259bd48b832050eebfabfc898f9786979a4c00903145fdb347a497b399f31 SHA512 e27644cbb030c43e2841058003bedea6deb979ba71591f967e01312527ed869bb863f9a03fc7b5a266752433d30164929ea1b935953a245600ad713c9fb25cb5
|
||||
DIST seabios-1.16.0.tar.gz 635419 BLAKE2B b645f20bae341d56ce4fc4a7044446050d8490c6c136377f6dccf02c88100b0644bc13d210b4a517a8be6002d5671b0fba77120a2aca3a9bafbad5e88d037e40 SHA512 9daefcfb1c9edda4462a4b080c9bac552154d577ae19703a914928e43005e7a52edd86869c6507e94a7f0c61ce8b3e6f5dea38cd5146628cb138a130947c522f
|
||||
DIST xen-4.17.4.tar.gz 46527369 BLAKE2B 2fcd1248d75157b6455727b29ecc3a4e5941eb187d645b35b6cf48a23fdfae11e810c55a1a7c0396c6a23dc977f22b8fd06ee9b91a1edc3a7ba8561023e07cfc SHA512 50dc2efd26e48131afdbc8efb1ca90154a84fe5fba5a6bc81d9801a3c13aebea91c8211872b5c69ce2773644f2c935c31cc56584a05b10b81e8728282d89eb84
|
||||
DIST xen-4.18.2.tar.gz 51911271 BLAKE2B 0b58a74d867f42e7820a1050587c11ec9099aca74875fc9e4657e1eba239afed3e23fe3dba047f1e5f6d8cab4d2fd7f0eaf6b809c7549d73e8c102add7864c46 SHA512 c5feb450155883b5d2e7f43b05a64e7215b661b7d2f438d8f5a0896bd57283379ee11ca8e2e7a1d8787813cc6f1a260253fcb8688ed7d61a2bfb636db1626941
|
||||
DIST xen-4.18.3.tar.gz 51911584 BLAKE2B 01bc915ea88c6a80608bb4f9c37ec75cd4abcc785b99d33eb9de3c32b65c884d47d6c7431d388e73699012b9edd6c44bdc051233726a4239f333e35eba35d72f SHA512 cb71b362ea0b78ba324cd0f9b7003f93936cc61fd22df4791d178f80d396aacf4f42f5d95209ec599f42548df47ea46b04f8baddb4bd78f7fb06e2681b57f3f8
|
||||
DIST xen-4.19.0.tar.gz 52011199 BLAKE2B bc6502bf5b68ab130f1d64e20e8a6d8ca656240545f0a4f5fe500413504c7610352bd7577f0e7e9d9354745afaf39d3edd3ad775718e20d14181dd2dca28ec0a SHA512 bc0b4257cab66b0f9d4a1fe72e07f4980398b2934989c02ffe488b465eca3443caa0ded903871480aba6e36212921f335b68d67f202f22548c31899225f2d657
|
||||
DIST xen-gentoo-patches-4.17.0-gentoo-patchset-2.tar.bz2 4001 BLAKE2B 7afce426759952e202a1dd819fe0a23108072bf9552ba14a0bd787a96ffe5e7a36f37e03dad8db9c46f5731acbc122c258eef6d517816aad9c8db1ca64700d19 SHA512 bcb1479f9ff5e194a4e452da9d0479febc2bcd465b4be69bb8f30e2e6b858fb77a71216dcb3e74dfb65e7ca6513742c294cd6b5eaa5ce82d0b122a00f1cbc450
|
||||
DIST xen-upstream-patches-4.18.3-pre-patchset-0.tar.bz2 51452 BLAKE2B 166d13eb16b5225fe5d8b96d9a7ba547b8d94b2989a15b641d53821e484d45bec8ed123180c8c7c5666da87f8a4368ad2a27284431561ae323453b4054c72d80 SHA512 bf434740567ac964babdc625c2cc13d9c2bcc79f8360f8f4dc8658fb191c60418a24cbea331d2a69fcadf4b30620f662e883695c379c87b4f8de17bfec51108c
|
||||
DIST xen-upstream-patches-4.18.4-pre-patchset-0.tar.bz2 30806 BLAKE2B 29654a8bbf5515ba51b278cc62222bc741ddab59976655e4b5df02fe75277d20686e4f4cda7a38997fab86a179fa511fc6c2b9c830080a4af80a24215c0e6e71 SHA512 b188c5111714eb1775ee7ad91ed443c03cdb6342c2e26ad5e2f4724f82220191695ecb0b616c8dc3956c07560d0d4056eb1cfdd1143a7b138c4a8669ac24c945
|
||||
DIST xen-upstream-patches-4.19.1-pre-patchset-0.tar.bz2 39681 BLAKE2B cdec8853ee6b7f6ccac332bd6dcb65294f282e14c6085d4a3c4f90fa6c96850acc5bd0e4cb27ef71d7145e6bdc780ba0223c6e2ba13bea77b9f3803f32954918 SHA512 7ecf5380211cebab5bed3276caa23d9b3fffa0dabfbcb46c1900e35883e8af21773a9c7bcc0a6b584ac3ba61e7cb49eed2bc5492e2571268929e59dde5856170
|
||||
|
|
|
@ -14,7 +14,7 @@ if [[ ${PV} == *9999 ]]; then
|
|||
EGIT_REPO_URI="https://xenbits.xen.org/git-http/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
|
||||
SEABIOS_VER="1.16.0"
|
||||
EDK2_COMMIT="b16284e2a0011489f6e16dfcc6af7623c3cbaf0b"
|
||||
|
@ -25,8 +25,8 @@ else
|
|||
|
||||
XEN_GENTOO_PATCHSET_NUM=2
|
||||
XEN_GENTOO_PATCHSET_BASE=4.17.0
|
||||
XEN_PRE_PATCHSET_NUM=
|
||||
XEN_PRE_VERSION_BASE=
|
||||
XEN_PRE_PATCHSET_NUM=0
|
||||
XEN_PRE_VERSION_BASE=4.18.3
|
||||
|
||||
XEN_BASE_PV="${PV}"
|
||||
if [[ -n "${XEN_PRE_VERSION_BASE}" ]]; then
|
|
@ -26,7 +26,7 @@ else
|
|||
XEN_GENTOO_PATCHSET_NUM=2
|
||||
XEN_GENTOO_PATCHSET_BASE=4.17.0
|
||||
XEN_PRE_PATCHSET_NUM=0
|
||||
XEN_PRE_VERSION_BASE=4.18.2
|
||||
XEN_PRE_VERSION_BASE=4.19.0
|
||||
|
||||
XEN_BASE_PV="${PV}"
|
||||
if [[ -n "${XEN_PRE_VERSION_BASE}" ]]; then
|
|
@ -1,5 +1,6 @@
|
|||
DIST xen-4.17.4.tar.gz 46527369 BLAKE2B 2fcd1248d75157b6455727b29ecc3a4e5941eb187d645b35b6cf48a23fdfae11e810c55a1a7c0396c6a23dc977f22b8fd06ee9b91a1edc3a7ba8561023e07cfc SHA512 50dc2efd26e48131afdbc8efb1ca90154a84fe5fba5a6bc81d9801a3c13aebea91c8211872b5c69ce2773644f2c935c31cc56584a05b10b81e8728282d89eb84
|
||||
DIST xen-4.18.2.tar.gz 51911271 BLAKE2B 0b58a74d867f42e7820a1050587c11ec9099aca74875fc9e4657e1eba239afed3e23fe3dba047f1e5f6d8cab4d2fd7f0eaf6b809c7549d73e8c102add7864c46 SHA512 c5feb450155883b5d2e7f43b05a64e7215b661b7d2f438d8f5a0896bd57283379ee11ca8e2e7a1d8787813cc6f1a260253fcb8688ed7d61a2bfb636db1626941
|
||||
DIST xen-4.18.3.tar.gz 51911584 BLAKE2B 01bc915ea88c6a80608bb4f9c37ec75cd4abcc785b99d33eb9de3c32b65c884d47d6c7431d388e73699012b9edd6c44bdc051233726a4239f333e35eba35d72f SHA512 cb71b362ea0b78ba324cd0f9b7003f93936cc61fd22df4791d178f80d396aacf4f42f5d95209ec599f42548df47ea46b04f8baddb4bd78f7fb06e2681b57f3f8
|
||||
DIST xen-4.19.0.tar.gz 52011199 BLAKE2B bc6502bf5b68ab130f1d64e20e8a6d8ca656240545f0a4f5fe500413504c7610352bd7577f0e7e9d9354745afaf39d3edd3ad775718e20d14181dd2dca28ec0a SHA512 bc0b4257cab66b0f9d4a1fe72e07f4980398b2934989c02ffe488b465eca3443caa0ded903871480aba6e36212921f335b68d67f202f22548c31899225f2d657
|
||||
DIST xen-gentoo-patches-4.17.0-gentoo-patchset-2.tar.bz2 4001 BLAKE2B 7afce426759952e202a1dd819fe0a23108072bf9552ba14a0bd787a96ffe5e7a36f37e03dad8db9c46f5731acbc122c258eef6d517816aad9c8db1ca64700d19 SHA512 bcb1479f9ff5e194a4e452da9d0479febc2bcd465b4be69bb8f30e2e6b858fb77a71216dcb3e74dfb65e7ca6513742c294cd6b5eaa5ce82d0b122a00f1cbc450
|
||||
DIST xen-upstream-patches-4.18.3-pre-patchset-0.tar.bz2 51452 BLAKE2B 166d13eb16b5225fe5d8b96d9a7ba547b8d94b2989a15b641d53821e484d45bec8ed123180c8c7c5666da87f8a4368ad2a27284431561ae323453b4054c72d80 SHA512 bf434740567ac964babdc625c2cc13d9c2bcc79f8360f8f4dc8658fb191c60418a24cbea331d2a69fcadf4b30620f662e883695c379c87b4f8de17bfec51108c
|
||||
DIST xen-upstream-patches-4.18.4-pre-patchset-0.tar.bz2 30806 BLAKE2B 29654a8bbf5515ba51b278cc62222bc741ddab59976655e4b5df02fe75277d20686e4f4cda7a38997fab86a179fa511fc6c2b9c830080a4af80a24215c0e6e71 SHA512 b188c5111714eb1775ee7ad91ed443c03cdb6342c2e26ad5e2f4724f82220191695ecb0b616c8dc3956c07560d0d4056eb1cfdd1143a7b138c4a8669ac24c945
|
||||
DIST xen-upstream-patches-4.19.1-pre-patchset-0.tar.bz2 39681 BLAKE2B cdec8853ee6b7f6ccac332bd6dcb65294f282e14c6085d4a3c4f90fa6c96850acc5bd0e4cb27ef71d7145e6bdc780ba0223c6e2ba13bea77b9f3803f32954918 SHA512 7ecf5380211cebab5bed3276caa23d9b3fffa0dabfbcb46c1900e35883e8af21773a9c7bcc0a6b584ac3ba61e7cb49eed2bc5492e2571268929e59dde5856170
|
||||
|
|
|
@ -12,12 +12,12 @@ if [[ ${PV} == *9999 ]]; then
|
|||
EGIT_REPO_URI="https://xenbits.xen.org/git-http/xen.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
KEYWORDS="amd64 ~arm -x86"
|
||||
|
||||
XEN_GENTOO_PATCHSET_NUM=2
|
||||
XEN_GENTOO_PATCHSET_BASE=4.17.0
|
||||
XEN_PRE_PATCHSET_NUM=
|
||||
XEN_PRE_VERSION_BASE=
|
||||
XEN_PRE_PATCHSET_NUM=0
|
||||
XEN_PRE_VERSION_BASE=4.18.3
|
||||
|
||||
XEN_BASE_PV="${PV}"
|
||||
if [[ -n "${XEN_PRE_VERSION_BASE}" ]]; then
|
|
@ -17,7 +17,7 @@ else
|
|||
XEN_GENTOO_PATCHSET_NUM=2
|
||||
XEN_GENTOO_PATCHSET_BASE=4.17.0
|
||||
XEN_PRE_PATCHSET_NUM=0
|
||||
XEN_PRE_VERSION_BASE=4.18.2
|
||||
XEN_PRE_VERSION_BASE=4.19.0
|
||||
|
||||
XEN_BASE_PV="${PV}"
|
||||
if [[ -n "${XEN_PRE_VERSION_BASE}" ]]; then
|
Binary file not shown.
|
@ -11,7 +11,7 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV}.tar.xz"
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
|
|
@ -13,7 +13,7 @@ S="${WORKDIR}/${MY_P}"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
|
||||
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos"
|
||||
IUSE="+edit gpm nls sftp +slang spell test unicode X"
|
||||
|
||||
REQUIRED_USE="spell? ( edit )"
|
||||
|
|
Binary file not shown.
|
@ -23,6 +23,7 @@ python3_10 old 3.10
|
|||
python3_11 old 3.11
|
||||
python3_12 current 3.12
|
||||
python3_13 experimental 3.13
|
||||
python3_13t experimental 3.13t
|
||||
|
||||
pypy1_8 2.7-pypy-1.8 dead p1.8
|
||||
pypy1_9 2.7-pypy-1.9 dead p1.9
|
||||
|
|
Binary file not shown.
|
@ -28,6 +28,7 @@ DIST bash-5.3_alpha_p20240927-254081c09767738833cdf161b4bc3feb1a51690a.tar.xz 85
|
|||
DIST bash-5.3_alpha_p20241008-9d1eb43fdd363137dd687bc411b14ab4946f939c.tar.gz 14780002 BLAKE2B 0aebf19e8d2b6074c9df71f6d6697fb1bfaae71d238ff4c38f52bc4f420f81bde311cb63cc5bec185da27799dd191939efe8355f3440e284ee84182b072c3277 SHA512 d9b928bc115877e3dd8f8d4f47757acd5c9ddd8f2e280d71ab03d1d3065b6a7e78e3989b181b10f09f3c9a03d2811bd26d54889c43ad8d8215fcf179c58644c3
|
||||
DIST bash-5.3_alpha_p20241011-c7439376a38960d518598178e30003931f74d0c1.tar.gz 14809976 BLAKE2B a3091b048e1801c65ec428c958334a07c9643e8e698d3c70b46b0973b941c9e7cf69be49927cc0aa5be8c2075ee0fabde33ae18ce3f749302ff4ea93a018535b SHA512 6d7e3c4cf3e78e9d7dcb46271f3db8d1c50d96713292796bb6770c6d86d35f1294c73873aa3709271d01fe96a0006b70629d23790e199fcc9ff2d7a7864f78d2
|
||||
DIST bash-5.3_alpha_p20241012-5edfaa45e791bbb2bf6c9342e13e5e364ff87bad.tar.gz 15907066 BLAKE2B fd9806ddbcdf105c9722b83400b875d9c0aec88ac9c1aad22e386b9fcf7ba03bf1966e77a4bf4606c088b047ea5a0bfe5e291edf330e723bfe22db3e70fa7f24 SHA512 2706267da41702b9971b8f808498f8a683b387e653b34ac233067f4db7cb8f7b5e4bea3972a857338e14cdeea2e940f1541458b20a6732e93ffdea94d2c743d7
|
||||
DIST bash-5.3_alpha_p20241015-3ed028ccec871bc8d3b198c1681374b1e37df7cd.tar.gz 15914321 BLAKE2B 7ded011dbba5d9a017a03a7d8dca9bad3baaece4407c69f89f4aeb117bdac25e916e189bff38496ae127964ce5779a2dcf1de3d62b59d54f16a5c2811bfa09e3 SHA512 128d8f4bed5c69e6af8784607f4ef995d45a58a11ab9c47112d95459ef881e06f165406a337fd4ef12ab637883fd83a4c60b0a8a2a265ecd4ffead0786247fc4
|
||||
DIST bash205b-001 1132 BLAKE2B 0c5eef29777d54ef05957ea3d63b1556fb380bd20c238dc28993d822b37bc4e78ff4048ad069f6b8cd25da77ccdeb7aecd86c4349cb9d81e5e94c7001eeae5e6 SHA512 5ce4357468821b05e747201f3aa57225ad8f540c9e2c87051720490e039c30b478b9b662a68f14a0800fefe40184e4495e2645665200f9d75e9a115b2ac08071
|
||||
DIST bash205b-002 755 BLAKE2B 6a6ed5679d451f02f8104b345c1722d11718ce3b4043b581c17786d40d8da69a34786fb56d0c363dba277b8e9dd33f12f70c9cc73a9fc39ba4a8319406f0458d SHA512 46947b0229478d5c2cfeff68b8ebc00e4ef0c8b94e336ca12f72b4490ba3622c0240c01c17c1641c3b07adc2c64ec94d6d780365e8990768ec8888f3a9526883
|
||||
DIST bash205b-003 2356 BLAKE2B b7887d00d92fd298cd07a15e1c73b516dabd22ecd74c97091636dd97a0cd55024ed698e5cc924c4311d994dd326b1ad074bea35e7650cf9cf4e25c60d2713fa7 SHA512 74528ca5d165b812d299f1c69b47757bd677c0b22ce4217e155cd641708b02364a93c6709fb57b546b376b36da74429a61493921c7c199563da40ddcf1c1f399
|
||||
|
|
411
app-shells/bash/bash-5.3_alpha_p20241015.ebuild
Normal file
411
app-shells/bash/bash-5.3_alpha_p20241015.ebuild
Normal file
|
@ -0,0 +1,411 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/chetramey.asc
|
||||
inherit flag-o-matic toolchain-funcs prefix verify-sig
|
||||
|
||||
# Uncomment if we have a patchset.
|
||||
#GENTOO_PATCH_DEV="sam"
|
||||
#GENTOO_PATCH_VER="${PV}"
|
||||
|
||||
MY_PV=${PV/_p*}
|
||||
MY_PV=${MY_PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
MY_PATCHES=()
|
||||
|
||||
# Determine the patchlevel.
|
||||
case ${PV} in
|
||||
9999|*_alpha*|*_beta*|*_rc*)
|
||||
# Set a negative patchlevel to indicate that it's a pre-release.
|
||||
PLEVEL=-1
|
||||
;;
|
||||
*_p*)
|
||||
PLEVEL=${PV##*_p}
|
||||
;;
|
||||
*)
|
||||
PLEVEL=0
|
||||
esac
|
||||
|
||||
# The version of readline this bash normally ships with. Note that we only use
|
||||
# the bundled copy of readline for pre-releases.
|
||||
READLINE_VER="8.3_alpha"
|
||||
|
||||
DESCRIPTION="The standard GNU Bourne again shell"
|
||||
HOMEPAGE="https://tiswww.case.edu/php/chet/bash/bashtop.html https://git.savannah.gnu.org/cgit/bash.git"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/bash.git"
|
||||
EGIT_BRANCH=devel
|
||||
inherit git-r3
|
||||
elif (( PLEVEL < 0 )) && [[ ${PV} == *_p* ]] ; then
|
||||
# It can be useful to have snapshots in the pre-release period once
|
||||
# the first alpha is out, as various bugs get reported and fixed from
|
||||
# the alpha, and the next pre-release is usually quite far away.
|
||||
#
|
||||
# i.e. if it's worth packaging the alpha, it's worth packaging a followup.
|
||||
BASH_COMMIT="3ed028ccec871bc8d3b198c1681374b1e37df7cd"
|
||||
SRC_URI="https://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-${BASH_COMMIT}.tar.gz -> ${P}-${BASH_COMMIT}.tar.gz"
|
||||
S=${WORKDIR}/${PN}-${BASH_COMMIT}
|
||||
else
|
||||
my_urls=( {'mirror://gnu/bash','ftp://ftp.cwru.edu/pub/bash'}/"${MY_P}.tar.gz" )
|
||||
|
||||
# bash-5.1 -> bash51
|
||||
my_p=${PN}$(ver_cut 1-2) my_p=${my_p/.}
|
||||
|
||||
for (( my_patch_idx = 1; my_patch_idx <= PLEVEL; my_patch_idx++ )); do
|
||||
printf -v my_patch_ver %s-%03d "${my_p}" "${my_patch_idx}"
|
||||
my_urls+=( {'mirror://gnu/bash','ftp://ftp.cwru.edu/pub/bash'}/"${MY_P}-patches/${my_patch_ver}" )
|
||||
MY_PATCHES+=( "${DISTDIR}/${my_patch_ver}" )
|
||||
done
|
||||
|
||||
SRC_URI="${my_urls[*]} verify-sig? ( ${my_urls[*]/%/.sig} )"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
unset -v my_urls my_p my_patch_idx my_patch_ver
|
||||
fi
|
||||
|
||||
if [[ ${GENTOO_PATCH_VER} ]]; then
|
||||
SRC_URI+=" https://dev.gentoo.org/~${GENTOO_PATCH_DEV:?}/distfiles/${CATEGORY}/${PN}/${PN}-${GENTOO_PATCH_VER:?}-patches.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
if (( PLEVEL >= 0 )); then
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
IUSE="afs bashlogger examples mem-scramble +net nls plugins pgo +readline"
|
||||
|
||||
DEPEND="
|
||||
>=sys-libs/ncurses-5.2-r2:=
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
if (( PLEVEL >= 0 )); then
|
||||
DEPEND+=" readline? ( >=sys-libs/readline-${READLINE_VER}:= )"
|
||||
fi
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
# We only need bison (yacc) when the .y files get patched (bash42-005, bash51-011).
|
||||
BDEPEND="
|
||||
pgo? ( dev-util/gperf )
|
||||
verify-sig? ( sec-keys/openpgp-keys-chetramey )
|
||||
"
|
||||
|
||||
# EAPI 8 tries to append it but it doesn't exist here.
|
||||
QA_CONFIGURE_OPTIONS="--disable-static"
|
||||
|
||||
PATCHES=(
|
||||
#"${WORKDIR}"/${PN}-${GENTOO_PATCH_VER}/
|
||||
|
||||
# Patches to or from Chet, posted to the bug-bash mailing list.
|
||||
"${FILESDIR}/${PN}-5.0-syslog-history-extern.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# bug #7332
|
||||
if is-flag -malign-double; then
|
||||
eerror "Detected bad CFLAGS '-malign-double'. Do not use this"
|
||||
eerror "as it breaks LFS (struct stat64) on x86."
|
||||
die "remove -malign-double from your CFLAGS mr ricer"
|
||||
fi
|
||||
|
||||
if use bashlogger; then
|
||||
ewarn "The logging patch should ONLY be used in restricted (i.e. honeypot) envs."
|
||||
ewarn "This will log ALL output you enter into the shell, you have been warned."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local patch
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
git-r3_src_unpack
|
||||
elif (( PLEVEL < 0 )) && [[ ${PV} == *_p* ]] ; then
|
||||
default
|
||||
else
|
||||
if use verify-sig; then
|
||||
verify-sig_verify_detached "${DISTDIR}/${MY_P}.tar.gz"{,.sig}
|
||||
|
||||
for patch in "${MY_PATCHES[@]}"; do
|
||||
verify-sig_verify_detached "${patch}"{,.sig}
|
||||
done
|
||||
fi
|
||||
|
||||
unpack "${MY_P}.tar.gz"
|
||||
|
||||
if [[ ${GENTOO_PATCH_VER} ]]; then
|
||||
unpack "${PN}-${GENTOO_PATCH_VER}-patches.tar.xz"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Include official patches.
|
||||
(( PLEVEL > 0 )) && eapply -p0 "${MY_PATCHES[@]}"
|
||||
|
||||
# Clean out local libs so we know we use system ones w/releases. The
|
||||
# touch utility is invoked for the benefit of config.status.
|
||||
if (( PLEVEL >= 0 )); then
|
||||
rm -rf lib/{readline,termcap}/* \
|
||||
&& touch lib/{readline,termcap}/Makefile.in \
|
||||
&& sed -i -E 's:\$[{(](RL|HIST)_LIBSRC[)}]/[[:alpha:]_-]*\.h::g' Makefile.in \
|
||||
|| die
|
||||
fi
|
||||
|
||||
# Prefixify hardcoded path names. No-op for non-prefix.
|
||||
hprefixify pathnames.h.in
|
||||
|
||||
# Avoid regenerating docs after patches, bug #407985.
|
||||
sed -i -E '/^(HS|RL)USER/s:=.*:=:' doc/Makefile.in \
|
||||
&& touch -r . doc/* \
|
||||
|| die
|
||||
|
||||
# Sometimes hangs (more noticeable w/ pgo), bug #907403.
|
||||
rm tests/run-jobs || die
|
||||
|
||||
eapply -p0 "${PATCHES[@]}"
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a myconf
|
||||
|
||||
# Upstream only test with Bison and require GNUisms like YYEOF and
|
||||
# YYERRCODE. The former at least may be in POSIX soon:
|
||||
# https://www.austingroupbugs.net/view.php?id=1269.
|
||||
# configure warns on use of non-Bison but doesn't abort. The result
|
||||
# may misbehave at runtime.
|
||||
unset -v YACC
|
||||
|
||||
# wcsnwidth(), substring() issues with -Wlto-type-mismatch, reported
|
||||
# upstream to Chet by email.
|
||||
filter-lto
|
||||
|
||||
myconf=(
|
||||
--disable-profiling
|
||||
|
||||
# Force linking with system curses ... the bundled termcap lib
|
||||
# sucks bad compared to ncurses. For the most part, ncurses
|
||||
# is here because readline needs it. But bash itself calls
|
||||
# ncurses in one or two small places :(.
|
||||
--with-curses
|
||||
|
||||
$(use_enable mem-scramble)
|
||||
$(use_enable net net-redirections)
|
||||
$(use_enable readline)
|
||||
$(use_enable readline bang-history)
|
||||
$(use_enable readline history)
|
||||
$(use_with afs)
|
||||
$(use_with mem-scramble bash-malloc)
|
||||
)
|
||||
|
||||
# For descriptions of these, see config-top.h.
|
||||
# bashrc/#26952 bash_logout/#90488 ssh/#24762 mktemp/#574426
|
||||
append-cppflags \
|
||||
-DDEFAULT_PATH_VALUE=\'\""${EPREFIX}"/usr/local/sbin:"${EPREFIX}"/usr/local/bin:"${EPREFIX}"/usr/sbin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/bin\"\' \
|
||||
-DSTANDARD_UTILS_PATH=\'\""${EPREFIX}"/bin:"${EPREFIX}"/usr/bin:"${EPREFIX}"/sbin:"${EPREFIX}"/usr/sbin\"\' \
|
||||
-DSYS_BASHRC=\'\""${EPREFIX}"/etc/bash/bashrc\"\' \
|
||||
-DSYS_BASH_LOGOUT=\'\""${EPREFIX}"/etc/bash/bash_logout\"\' \
|
||||
-DNON_INTERACTIVE_LOGIN_SHELLS \
|
||||
-DSSH_SOURCE_BASHRC \
|
||||
$(use bashlogger && echo -DSYSLOG_HISTORY)
|
||||
|
||||
use nls || myconf+=( --disable-nls )
|
||||
|
||||
if (( PLEVEL >= 0 )); then
|
||||
# Historically, we always used the builtin readline, but since
|
||||
# our handling of SONAME upgrades has gotten much more stable
|
||||
# in the PM (and the readline ebuild itself preserves the old
|
||||
# libs during upgrades), linking against the system copy should
|
||||
# be safe.
|
||||
# Exact cached version here doesn't really matter as long as it
|
||||
# is at least what's in the DEPEND up above.
|
||||
export ac_cv_rl_version=${READLINE_VER%%_*}
|
||||
|
||||
# Use system readline only with released versions.
|
||||
myconf+=( --with-installed-readline=. )
|
||||
fi
|
||||
|
||||
if use plugins; then
|
||||
append-ldflags "-Wl,-rpath,${EPREFIX}/usr/$(get_libdir)/bash"
|
||||
else
|
||||
# Disable the plugins logic by hand since bash doesn't provide
|
||||
# a way of doing it.
|
||||
export ac_cv_func_dl{close,open,sym}=no \
|
||||
ac_cv_lib_dl_dlopen=no ac_cv_header_dlfcn_h=no
|
||||
|
||||
sed -i -e '/LOCAL_LDFLAGS=/s:-rdynamic::' configure || die
|
||||
fi
|
||||
|
||||
# bug #444070
|
||||
tc-export AR
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local -a pgo_generate_flags pgo_use_flags
|
||||
local flag
|
||||
|
||||
# -fprofile-partial-training because upstream notes the test suite isn't
|
||||
# super comprehensive.
|
||||
# https://documentation.suse.com/sbp/all/html/SBP-GCC-10/index.html#sec-gcc10-pgo
|
||||
if use pgo; then
|
||||
pgo_generate_flags=(
|
||||
-fprofile-update=atomic
|
||||
-fprofile-dir="${T}"/pgo
|
||||
-fprofile-generate="${T}"/pgo
|
||||
)
|
||||
pgo_use_flags=(
|
||||
-fprofile-use="${T}"/pgo
|
||||
-fprofile-dir="${T}"/pgo
|
||||
)
|
||||
if flag=$(test-flags-CC -fprofile-partial-training); then
|
||||
pgo_generate_flags+=( "${flag}" )
|
||||
pgo_use_flags+=( "${flag}" )
|
||||
fi
|
||||
fi
|
||||
|
||||
emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}"
|
||||
use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" all others
|
||||
|
||||
# Build Bash and run its tests to generate profiles.
|
||||
if (( ${#pgo_generate_flags[@]} )); then
|
||||
# Used in test suite.
|
||||
unset -v A
|
||||
|
||||
emake CFLAGS="${CFLAGS} ${pgo_generate_flags[*]}" -k check
|
||||
|
||||
if tc-is-clang; then
|
||||
llvm-profdata merge "${T}"/pgo --output="${T}"/pgo/default.profdata || die
|
||||
fi
|
||||
|
||||
# Rebuild Bash using the profiling data we just generated.
|
||||
emake clean
|
||||
emake CFLAGS="${CFLAGS} ${pgo_use_flags[*]}"
|
||||
use plugins && emake -C examples/loadables CFLAGS="${CFLAGS} ${pgo_use_flags[*]}" all others
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Used in test suite.
|
||||
unset -v A
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d f
|
||||
|
||||
default
|
||||
|
||||
my_prefixify() {
|
||||
while read -r; do
|
||||
if [[ $REPLY == *$1* ]]; then
|
||||
REPLY=${REPLY/"/etc/"/"${EPREFIX}/etc/"}
|
||||
fi
|
||||
printf '%s\n' "${REPLY}" || ! break
|
||||
done < "$2" || die
|
||||
}
|
||||
|
||||
dodir /bin
|
||||
mv -- "${ED}"/usr/bin/bash "${ED}"/bin/ || die
|
||||
dosym bash /bin/rbash
|
||||
|
||||
insinto /etc/bash
|
||||
doins "${FILESDIR}"/bash_logout
|
||||
my_prefixify bashrc.d "${FILESDIR}"/bashrc-r1 | newins - bashrc
|
||||
|
||||
insinto /etc/bash/bashrc.d
|
||||
my_prefixify DIR_COLORS "${FILESDIR}"/bashrc.d/10-gentoo-color.bash | newins - 10-gentoo-color.bash
|
||||
newins "${FILESDIR}"/bashrc.d/10-gentoo-title-r1.bash 10-gentoo-title.bash
|
||||
if [[ ! ${EPREFIX} ]]; then
|
||||
doins "${FILESDIR}"/bashrc.d/15-gentoo-bashrc-check.bash
|
||||
fi
|
||||
|
||||
insinto /etc/skel
|
||||
for f in bash{_logout,_profile,rc}; do
|
||||
newins "${FILESDIR}/dot-${f}" ".${f}"
|
||||
done
|
||||
|
||||
if use plugins; then
|
||||
exeinto "/usr/$(get_libdir)/bash"
|
||||
set -- examples/loadables/*.o
|
||||
doexe "${@%.o}"
|
||||
|
||||
insinto /usr/include/bash-plugins
|
||||
doins *.h builtins/*.h include/*.h lib/{glob/glob.h,tilde/tilde.h}
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
for d in examples/{functions,misc,scripts,startup-files}; do
|
||||
exeinto "/usr/share/doc/${PF}/${d}"
|
||||
docinto "${d}"
|
||||
for f in "${d}"/*; do
|
||||
if [[ ${f##*/} != @(PERMISSION|*README) ]]; then
|
||||
doexe "${f}"
|
||||
else
|
||||
dodoc "${f}"
|
||||
fi
|
||||
done
|
||||
done
|
||||
fi
|
||||
|
||||
# Install bash_builtins.1 and rbash.1.
|
||||
emake -C doc DESTDIR="${D}" install_builtins
|
||||
sed 's:bash\.1:man1/&:' doc/rbash.1 > "${T}"/rbash.1 || die
|
||||
doman "${T}"/rbash.1
|
||||
|
||||
newdoc CWRU/changelog ChangeLog
|
||||
dosym bash.info /usr/share/info/bashref.info
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -e ${EROOT}/etc/bashrc ]] && [[ ! -d ${EROOT}/etc/bash ]]; then
|
||||
mkdir -p -- "${EROOT}"/etc/bash \
|
||||
&& mv -f -- "${EROOT}"/etc/bashrc "${EROOT}"/etc/bash/ \
|
||||
|| die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local old_ver
|
||||
|
||||
# If /bin/sh does not exist, provide it.
|
||||
if [[ ! -e ${EROOT}/bin/sh ]]; then
|
||||
ln -sf -- bash "${EROOT}"/bin/sh || die
|
||||
fi
|
||||
|
||||
read -r old_ver <<<"${REPLACING_VERSIONS}"
|
||||
if [[ ! $old_ver ]]; then
|
||||
:
|
||||
elif ver_test "$old_ver" -ge "5.2" && ver_test "$old_ver" -ge "5.2_p26-r8"; then
|
||||
return
|
||||
fi
|
||||
|
||||
while read -r; do ewarn "${REPLY}"; done <<'EOF'
|
||||
Files under /etc/bash/bashrc.d must now have a suffix of .sh or .bash.
|
||||
|
||||
Gentoo now defaults to defining PROMPT_COMMAND as an array. Depending on the
|
||||
characteristics of the operating environment, it may contain a command to set
|
||||
the terminal's window title. Those who were already choosing to customise the
|
||||
PROMPT_COMMAND variable are now advised to append their commands like so:
|
||||
|
||||
PROMPT_COMMAND+=('custom command goes here')
|
||||
|
||||
Gentoo no longer defaults to having bash set the window title in the case
|
||||
that the terminal is controlled by sshd(8), unless screen is launched on the
|
||||
remote side or the terminal reliably supports saving and restoring the title
|
||||
(as alacritty, foot and tmux do). Those wanting for the title to be set
|
||||
regardless may adjust ~/.bashrc - or create a custom /etc/bash/bashrc.d
|
||||
drop-in - to set PROMPT_COMMMAND like so:
|
||||
|
||||
PROMPT_COMMAND=(genfun_set_win_title)
|
||||
|
||||
Those who would prefer for bash never to interfere with the window title may
|
||||
now opt out of the default title setting behaviour, either with the "unset -v
|
||||
PROMPT_COMMAND" command or by re-defining PROMPT_COMMAND as desired.
|
||||
EOF
|
||||
}
|
Binary file not shown.
|
@ -17,7 +17,7 @@ SRC_URI="https://github.com/asciidoc-py/asciidoc-py/releases/download/${PV}/${P}
|
|||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
|
|
95
app-text/dblatex/dblatex-0.3.12-r4.ebuild
Normal file
95
app-text/dblatex/dblatex-0.3.12-r4.ebuild
Normal file
|
@ -0,0 +1,95 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Transform DocBook using TeX macros"
|
||||
HOMEPAGE="https://dblatex.sourceforge.net/"
|
||||
SRC_URI="https://downloads.sourceforge.net/project/dblatex/dblatex/${P}/${PN}3-${PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}3-${PV}"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="inkscape test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
app-text/docbook-xml-dtd:4.5
|
||||
dev-libs/kpathsea
|
||||
dev-libs/libxslt
|
||||
dev-texlive/texlive-fontutils
|
||||
dev-texlive/texlive-latex
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-latexrecommended
|
||||
dev-texlive/texlive-mathscience
|
||||
dev-texlive/texlive-pictures
|
||||
dev-texlive/texlive-xetex
|
||||
gnome-base/librsvg
|
||||
virtual/imagemagick-tools
|
||||
>=media-gfx/fig2dev-3.2.9-r1
|
||||
inkscape? ( media-gfx/inkscape )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? ( ~${CATEGORY}/${P}[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.3.11-path-logging.patch"
|
||||
"${FILESDIR}/${PN}-0.3.11-setup.patch"
|
||||
"${FILESDIR}/${PN}-0.3.11-encode.patch"
|
||||
"${FILESDIR}/${P}-replace-imp-by-importlib.patch"
|
||||
"${FILESDIR}/${P}-adjust-submodule-imports.patch"
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# Manual page is precomressed, but we will use our own compression later.
|
||||
gunzip docs/manpage/dblatex.1.gz || die
|
||||
if use inkscape; then
|
||||
# If we use inscape we want to make dblatex compatible with v1.0
|
||||
eapply "${FILESDIR}/${PN}-0.3.11-inkscape-1.0.patch"
|
||||
else
|
||||
# If we don't have inkscape we need to use an alternative SVG converter
|
||||
eapply "${FILESDIR}/${PN}-0.3.11-no-inkscape-dependency.patch"
|
||||
fi
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
# After migrating to PEP517 setuptool's distutils behaves a bit differently.
|
||||
# Rather than rewriting the entire build setup we follow Debian's path with
|
||||
# a predefined script.
|
||||
python_newscript - dblatex <<-EOF
|
||||
#!${EPREFIX}/usr/bin/python
|
||||
import sys
|
||||
import os
|
||||
|
||||
package_base = r"${EPREFIX}/usr/share/dblatex"
|
||||
|
||||
from dbtexmf.dblatex import dblatex
|
||||
dblatex.main(base=package_base)
|
||||
EOF
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# Move package documentation to a folder name containing version number
|
||||
mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
emake -C tests/mathml
|
||||
}
|
|
@ -11,7 +11,7 @@ SRC_URI="https://github.com/rrthomas/libpaper/releases/download/v${PV}/${P}.tar.
|
|||
# paperspecs is public-domain
|
||||
LICENSE="LGPL-2.1+ GPL-3+ public-domain"
|
||||
SLOT="0/$(ver_cut 1)"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
# Gnulib false positives #898346
|
||||
|
|
Binary file not shown.
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=8
|
||||
|
||||
ADA_COMPAT=( gcc_12 gcc_13 )
|
||||
ADA_COMPAT=( gcc_12 gcc_13 gcc_14 )
|
||||
inherit ada multiprocessing
|
||||
|
||||
DESCRIPTION="A high level string and text processing library"
|
Binary file not shown.
|
@ -10,9 +10,9 @@ DIST meson-1.5.1.tar.gz 2257106 BLAKE2B 3368b209444d0873217bafee2339b395dca9fa43
|
|||
DIST meson-1.5.1.tar.gz.asc 833 BLAKE2B c099720b102b8fff581f2043000454f5cb3593352a8b69c681cda73dae7172fb7d892dc0500e29fffe4ba7828cdcba418acea230563dc26a7a89139ab526b231 SHA512 f8210dd309a104b4169bc2eae9ff370f3ced6fe2c5dfc8f3477c9fbbed983dd6636ea05822d9345d7570e88bfe7789c6cc075e5a91d578a8376666d16ad550a3
|
||||
DIST meson-1.5.2.tar.gz 2265788 BLAKE2B bda0742cf053cb235833b347e66b8706983815fda5d62815aa6455980837e061fb0db2f7472966e6e09a199b0850477a3b448b6ad3b7db717da6b43906cbe2ac SHA512 9f601bdadaf2dae312ff02caa9dcd3fe13659a101e601417bdb908d8b91cdd4a12302433b00c188c1562287a06ada656044d79821d0beb0e0e41c63ab5d48112
|
||||
DIST meson-1.5.2.tar.gz.asc 833 BLAKE2B 0ea6af017430568b2834081a60d0153cc80cb55d835b1f570e27ae6220a163aff9f4607654fe87841df112c78763b4d45dabd45072e398cdf901762095ce52e7 SHA512 7b7c0ee2b872c83d98954079fc27665b3a9ec5464aa8decc5919ff4e1c4134d7006494bd64b901dc2ade408131ea512eefef9416f3c57d1460c9308cb6683fc8
|
||||
DIST meson-1.6.0rc1.tar.gz 2275126 BLAKE2B 0b0ff79ed21fa7b65829730dee3d246ca5012c3ef6185e58b7e4eb22aa7ea24741a7d0e1df56d32488761e504862350a505f043360695472a24a602ee6959dee SHA512 36d6015a353cefdcb26c442e78b9a3d8d69c1c505c84522c0422b956254cf5fe83dfc427442daf9999a874b378e571a2a28cbfe2fb0eb748c38a08cd24c07665
|
||||
DIST meson-1.6.0rc1.tar.gz.asc 833 BLAKE2B 06beb3d168519b6ba3adeb41eb81320b10db8684f7f8768306b96cc1ecd9cff1c8e07d489825160e4a8a493b760da60a944ea3b465529b2a860f780f6d65e8ef SHA512 cbb579d4231aeeb9aa56540dd8068a22a06e3fef82207c9860da861e319920154c4286a991efadad235ecd006041c38a3122b3850d6ce0bbaa0c8250c43d6291
|
||||
DIST meson-1.6.0rc2.tar.gz 2275281 BLAKE2B 696719ed4e713ba2b927a169eb8946d485d4e5190ded5c6918e760100dc744b7abe863f1f51086851da15feb9ce936b543be5001088e6235d72293c7be55ef14 SHA512 6cd327386002cbb6b1214b4d1a2d9420453efaee0e36e41597b318d1b64a65d12ed40cef0cd811b2a66d7f38c42e6621e8075e11fe9c77894a1de71611cade98
|
||||
DIST meson-1.6.0rc2.tar.gz.asc 833 BLAKE2B 0ae8231abab083b63eb64e9b18012ec950aeb5685e5211b6048ed3fc7bba0a0a40311d83f11464932d2f4f0f1b94da2f2de414a47a41550924a7ac6b3326e1a0 SHA512 91fbea7467dd74f7451478428334850f98d05ec0717d44ce5e8c009c2e1de0e462ec7963c6f33f276db5f758c28ad5e516ee63d55d102a5078ad164fbe0c3d47
|
||||
DIST meson-reference-1.4.2.3 339324 BLAKE2B 1a4fbd8c27a8cfba773777eabd2ebaa0f76ec0c61dcfe1c7b4483737b348ff9528d68f26e68d7d40b2e1875611eed5b9a31c1cf55fed8eabb42fc1e31d9ef14b SHA512 8b8ec43e812599203ec44c08805eb6818485805c45b9c69802261eaa35efc97846a96f6472c6b1ef5f6c703e7153fd957df7b805f173ca3400a2030dfbe002ca
|
||||
DIST meson-reference-1.5.1.3 341110 BLAKE2B 5267c2eea1b1281f87e63eb08aa928257dd98088b4d5c27c2785d2d8066c2c28536f7f56bf804ffe37d2f51552c91f31ff7e2729f3b2485d594a9e44a0df9ab1 SHA512 2d36e87e9bc2de0b958f4b20544b0bd9f2b0ffb646768e68fefcd5dfb8f09c24db40f27208b5f2d1f6ba02e7465f68a538ea72be118670c76e0959e090a42cf3
|
||||
DIST meson-reference-1.5.2.3 341110 BLAKE2B 0d588b796f7f2da2dcb0e7822acde6a9a461930da4bfead3cf9148fa0fac18cd0ccbc6e891f555c973836f1c16b4eae299908a838a0b6843293de8815d30fc23 SHA512 64715ce2113e362e7d67179fe13566bc8f84ce7f4e6d795b836f42455a871173fee06e3e969e2996022d7e6c9b4b5379587a4c0c3d97b4bca527fb8902d3547f
|
||||
DIST meson-reference-1.6.0rc1.3 343734 BLAKE2B 6d10d99158e2905140a7a318e780e19f5e589103657194b5b669bb48e83c4ed28e152ae9cd8dd2d65b643572012f215a339df9ca530e075c6d88d383ccd2d29e SHA512 4e298dedb829f630ed47854325c24f2c1948db91627f7e8067bf81483f33e714a9439713ce170f42dd66ee07314d7b0ad032a46241898c7e981546c772c4a26c
|
||||
DIST meson-reference-1.6.0rc2.3 343734 BLAKE2B af9e1e7b2737ef70f22c4676cd53b6a9d0d05cac7ccbb321f0511cb4e43f183212a9e2cc53a98ade71bb265c17f80a0464886cee1a6f92d68e8245f1f2e5f232 SHA512 62fe1b45d80534bf4439b450866ee1160614b8db0e93f36fe1f374c9d71851f66fc9ef0e8b1f117c962bd9da238d6ee72a6cd4ed0ba345b323615289787c6d5a
|
||||
|
|
|
@ -1,12 +1,4 @@
|
|||
DIST SCons-4.7.0.tar.gz 3220744 BLAKE2B 0fe8cdbaef46ca6571de35fb6544afe992e8a509cf52a8078133584e3af63919d2e0fb83ad646e042290fc47ca5a8932435946df9d40a099ccb2105b54bfd5cd SHA512 d08fba3e7f058eb2eeee4a129d10b55affada6b192932f069271fcbc28fd8216b2bf7e94285d9c448235a3965a789d3a91db9ebae1945aa73306788009dd2e77
|
||||
DIST SCons-4.8.0.tar.gz 3243387 BLAKE2B 1ab4a63d14ecfd1984e41f6be11c87003413f74a0d6b03eb7d5fd7d7b66ad5cf904b1061b3cd91a33735fd6ea1ffda6aa388dbf42a7085caa900961bcf2340dd SHA512 6f1ab01b25752f1f43a1796fb68fb0508105b372cf082a57477af4685399f8b83372466d65070d5c928d81c9fd4bdf1e8ba357c72537f32c50f77121f52415fb
|
||||
DIST SCons-4.8.1.tar.gz 3244423 BLAKE2B 31441e16ca96b844b1bcc388cd430a4a087bb5f09a8951166fc44b7422611d416fc6311d79370d768b52a93ad417369682e2a77ada3fe77e82d59c81bfd7b4dd SHA512 dad76d7f16b4cc1d9e25c9d8969773604e23accbb4e94451f0fc725919bf223cf04265f5d2b64a1b7e96cc63496cba574df3a634fd6779f2eb5fb7246fded120
|
||||
DIST scons-4.7.0-user.html 1683569 BLAKE2B 6c68f34af85fbfaf70f77758321bd0bb86b4f549c5fa05f721df94af0627d030a15db89565910ee6674b514d6b4fac9e624ac0aa6e849bd1224833c0473ed4c6 SHA512 8b0320794775890d898854767cd12bc4da725f6a33ae4496dc41a7b37a6dcb5f812c23083093d17685db9799b230552e19cc5550a108c2cf6787ffd963e649d6
|
||||
DIST scons-4.7.0-user.pdf 3069908 BLAKE2B 7196a5b247802c9f42914c4de5968862c4a183e5c3ff7e5172ec7bbf58f049362f0b85fdaba47c66fc09dbed79c22ddac8195a78bff2e564eff879b0e6a4f482 SHA512 6d62def8a68c8bf3b6cc269a93272c815e82b46bd6a223d0f7f3848daf9c7212e5f9de8dcdac41d2a6f2d7d70053b97f92e0b99c11f4f5b2b3a69951d474fe3a
|
||||
DIST scons-4.7.0.gh.tar.gz 5896790 BLAKE2B 1ce9041ad1e2891da92a9bd50e07e29a5e23c7c9432adb120d6610956a2ea4a5125fb6bfa1f8b944797d589cfdbe036a1b9b1eae271ae51abb826c6ee5a3ee1c SHA512 8be4d611c375c13467a1a437e0d47873f973584d9a1be0d1cbbd345685a8f477fc19fa59ab01bca1ab7be8af0034d5cfda360090ee4b347c41f7bfea363bfe6c
|
||||
DIST scons-4.8.0-user.html 1695726 BLAKE2B 1c44141dd7d04d738cb9495aa4749f3b44275f2c0808695270bdb0642454eb3b93d599b5c0fa21fd4f1099a95b1dd90583eb2184631bbc14fbef6644faf3f633 SHA512 c69be0e682755bf74f7b9c366e56a69b60962327d2ee5f4c1928edd41e800484bfb43836c575500be4132e90ef78d39f23dda5655dedd05b42b54ca4a65f4766
|
||||
DIST scons-4.8.0-user.pdf 3091708 BLAKE2B 430e56d3f0e433eb5c24a2ad1d9cf12b4912a3be9b98682019a071964d9824c55c18147e4c5ffff326c43ce6f232f03ce14386849d112b4fc29e09d0743dfb0f SHA512 8474bfbfeb76cc915f3b8392a7a38901206a264e23d867d5ed4a610debf3c5cd68d812e6b4e730b037eea4de1523aa7afc4e41e636fb3cd315c0fc5797fdb4e9
|
||||
DIST scons-4.8.0.gh.tar.gz 5933373 BLAKE2B 6912696f5ffdfa7f54fd00210228f308468bc35be76dda56652f91c1cf301d2df1720715d88d755e1c783360efec79a708cfa7c21514983fec3111db0bb05500 SHA512 056bc7f5308e73e202a96ce6e56efee4df278cd77455dc42278d63470ff2ea05163124c2f971a87416766d098103f85cfc0a0340bd9d0aa9209d200890197af9
|
||||
DIST scons-4.8.1-user.html 1696975 BLAKE2B 5c34754daa149f49b35a06ae1ab0264649004cdd94106eb70965c0f89aef80268ee6b138aa0beaac1451222888ccd11ec34f2872006702c36460f719fc90a3c7 SHA512 dadfc79a441de6d882e18d3fbf82e668d8a7eca6fa449aaebac9d3edd518d91e208342b7203c5e74ed4651fa5cf5d2d453055e4805407a18aad5349a9e1ea92f
|
||||
DIST scons-4.8.1-user.pdf 3093300 BLAKE2B 84752a76fba302ab6ae1bbd6c960680e94144f0c9d7b1292096fb7df40a090848aede0b3c309271089ab6bbfd8ff89265496c71e970a9b2b6c5789e04ea4954e SHA512 11776a6f0ca475633a85673fb2347358f45e3c20465424aefe4c12f3037e22199ffdc2ae921d002a67f4edee204961f405aef172ca93a77452e25eb9cab33445
|
||||
DIST scons-4.8.1.gh.tar.gz 5931602 BLAKE2B 702252622bc9dd97417cb3db09caebd8732cabe3627e8539475f2177a15bf9cfa8dae9863c462796a6ebf079db2c1609089f1a6d1a0e0ffa220cc69f905beff1 SHA512 b9f39634b36876fa15e2db968a38693745ce3f0f14e838e97f69e2a6762d8f78c04e52843e2ce50900000833854c90ee2bd9d3d84bb48d9acfbf41f94af02775
|
||||
|
|
|
@ -1,158 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
MY_P="SCons-${PV}"
|
||||
DESCRIPTION="Extensible Python-based build utility"
|
||||
HOMEPAGE="
|
||||
https://www.scons.org/
|
||||
https://github.com/SCons/scons/
|
||||
https://pypi.org/project/SCons/
|
||||
"
|
||||
SRC_URI="
|
||||
https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${MY_P}.tar.gz
|
||||
doc? (
|
||||
https://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf
|
||||
-> ${P}-user.pdf
|
||||
https://www.scons.org/doc/${PV}/HTML/${PN}-user.html
|
||||
-> ${P}-user.html
|
||||
)
|
||||
test? (
|
||||
https://github.com/SCons/scons/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
# use the git directory structure, then unpack the pypi tarball
|
||||
# on top of it to make our life easier
|
||||
if use test; then
|
||||
unpack "${P}.gh.tar.gz"
|
||||
else
|
||||
mkdir -p "${P}" || die
|
||||
fi
|
||||
|
||||
tar -C "${P}" --strip-components=1 --no-same-owner \
|
||||
-xzf "${DISTDIR}/${MY_P}.tar.gz" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# TODO: rebase the patches <4.5.1-r2 is gone
|
||||
# support env passthrough for Gentoo ebuilds
|
||||
eapply -p2 "${FILESDIR}"/scons-4.1.0-env-passthrough.patch
|
||||
# respect CC, CXX, C*FLAGS, LDFLAGS by default
|
||||
eapply -p2 "${FILESDIR}"/scons-4.2.0-respect-cc-etc.patch
|
||||
|
||||
if use test; then
|
||||
local remove_tests=(
|
||||
# TODO: does not respect PATH?
|
||||
test/Clang
|
||||
# broken
|
||||
test/DVIPDF/DVIPDFFLAGS.py
|
||||
test/Java/swig-dependencies.py
|
||||
test/Java/multi-step.py
|
||||
test/TEX/newglossary.py
|
||||
test/TEX/variant_dir_newglossary.py
|
||||
test/Configure/option--config.py
|
||||
test/D/HSTeoh/sconstest-linkingProblem_gdc.py
|
||||
# broken by commas in date, sic!
|
||||
test/option/option-v.py
|
||||
test/Interactive/version.py
|
||||
# warnings from new binutils?
|
||||
test/AS/as-live.py
|
||||
test/AS/nasm.py
|
||||
# hangs
|
||||
test/KeyboardInterrupt.py
|
||||
# requires f77 executable
|
||||
test/Fortran/F77PATH.py
|
||||
test/Fortran/FORTRANPATH.py
|
||||
test/Fortran/gfortran.py
|
||||
# TODO, these seem to be caused by our patches
|
||||
test/Repository/include.py
|
||||
test/Repository/multi-dir.py
|
||||
test/Repository/variants.py
|
||||
test/virtualenv/activated/option/ignore-virtualenv.py
|
||||
# broken by CC being set? *facepalm*
|
||||
test/LINK/applelink.py
|
||||
test/ToolSurrogate.py
|
||||
# no clue but why would we care about rpm?
|
||||
test/packaging/option--package-type.py
|
||||
test/packaging/rpm/cleanup.py
|
||||
test/packaging/rpm/internationalization.py
|
||||
test/packaging/rpm/multipackage.py
|
||||
test/packaging/rpm/package.py
|
||||
test/packaging/rpm/tagging.py
|
||||
# apparently fragile to... limits?
|
||||
# https://bugs.gentoo.org/908347#c7
|
||||
test/builderrors.py
|
||||
)
|
||||
|
||||
if ! use amd64 && ! use x86 ; then
|
||||
# These tests are currently broken on arm and other non-amd64/x86 platforms
|
||||
# Work seems to be ongoing in e.g. https://github.com/SCons/scons/pull/4022 to
|
||||
# better plumb up the MSVC tests for alternative arches.
|
||||
# Try again after 4.2.0.
|
||||
# See also: https://pairlist4.pair.net/pipermail/scons-users/2020-November/008452.html
|
||||
# bug #757534
|
||||
remove_tests+=(
|
||||
test/MSVS/vs-7.0-scc-files.py
|
||||
test/MSVS/vs-7.0-scc-legacy-files.py
|
||||
test/MSVS/vs-7.1-scc-files.py
|
||||
test/MSVS/vs-7.1-scc-legacy-files.py
|
||||
test/MSVS/vs-scc-files.py
|
||||
test/MSVS/vs-scc-legacy-files.py
|
||||
)
|
||||
fi
|
||||
|
||||
rm -r "${remove_tests[@]}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x COLUMNS=80
|
||||
# set variable from escons() of scons-util.eclass to make env-passthrough patch work within test env
|
||||
local -x GENTOO_SCONS_ENV_PASSTHROUGH=1
|
||||
# unset some env variables to pass appropriate tests
|
||||
unset AR AS ASFLAGS CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||
cd "${WORKDIR}/${P}" || die
|
||||
"${EPYTHON}" runtest.py -a --passed \
|
||||
-j "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
|
||||
# runtest.py script returns "0" if all tests are passed
|
||||
# and returns "2" if there are any tests with "no result"
|
||||
# (i.e. in case if some tools are not installed or it's Windows specific tests)
|
||||
[[ ${?} == [02] ]] || die "Tests fail with ${EPYTHON}"
|
||||
|
||||
# sigh
|
||||
rm "${BUILD_DIR}/install/usr/bin/.sconsign" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
rm "${ED}"/usr/*.1 || die
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman *.1
|
||||
use doc && dodoc "${DISTDIR}/${P}"-user.{pdf,html}
|
||||
}
|
|
@ -1,157 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
MY_P="SCons-${PV}"
|
||||
DESCRIPTION="Extensible Python-based build utility"
|
||||
HOMEPAGE="
|
||||
https://www.scons.org/
|
||||
https://github.com/SCons/scons/
|
||||
https://pypi.org/project/SCons/
|
||||
"
|
||||
SRC_URI="
|
||||
https://downloads.sourceforge.net/project/${PN}/${PN}/${PV}/${MY_P}.tar.gz
|
||||
doc? (
|
||||
https://www.scons.org/doc/${PV}/PDF/${PN}-user.pdf
|
||||
-> ${P}-user.pdf
|
||||
https://www.scons.org/doc/${PV}/HTML/${PN}-user.html
|
||||
-> ${P}-user.html
|
||||
)
|
||||
test? (
|
||||
https://github.com/SCons/scons/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
src_unpack() {
|
||||
# use the git directory structure, then unpack the pypi tarball
|
||||
# on top of it to make our life easier
|
||||
if use test; then
|
||||
unpack "${P}.gh.tar.gz"
|
||||
else
|
||||
mkdir -p "${P}" || die
|
||||
fi
|
||||
|
||||
tar -C "${P}" --strip-components=1 --no-same-owner \
|
||||
-xzf "${DISTDIR}/${MY_P}.tar.gz" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# TODO: rebase the patches <4.5.1-r2 is gone
|
||||
# support env passthrough for Gentoo ebuilds
|
||||
eapply -p2 "${FILESDIR}"/scons-4.1.0-env-passthrough.patch
|
||||
# respect CC, CXX, C*FLAGS, LDFLAGS by default
|
||||
eapply -p2 "${FILESDIR}"/scons-4.2.0-respect-cc-etc.patch
|
||||
|
||||
if use test; then
|
||||
local remove_tests=(
|
||||
# TODO: does not respect PATH?
|
||||
test/Clang
|
||||
# broken
|
||||
test/DVIPDF/DVIPDFFLAGS.py
|
||||
test/Java/swig-dependencies.py
|
||||
test/Java/multi-step.py
|
||||
test/TEX/newglossary.py
|
||||
test/TEX/variant_dir_newglossary.py
|
||||
test/Configure/option--config.py
|
||||
test/D/HSTeoh/sconstest-linkingProblem_gdc.py
|
||||
# broken by commas in date, sic!
|
||||
test/option/option-v.py
|
||||
test/Interactive/version.py
|
||||
# warnings from new binutils?
|
||||
test/AS/as-live.py
|
||||
test/AS/nasm.py
|
||||
# hangs
|
||||
test/KeyboardInterrupt.py
|
||||
# requires f77 executable
|
||||
test/Fortran/F77PATH.py
|
||||
test/Fortran/FORTRANPATH.py
|
||||
test/Fortran/gfortran.py
|
||||
# TODO, these seem to be caused by our patches
|
||||
test/Repository/include.py
|
||||
test/Repository/multi-dir.py
|
||||
test/Repository/variants.py
|
||||
test/virtualenv/activated/option/ignore-virtualenv.py
|
||||
# broken by CC being set? *facepalm*
|
||||
test/LINK/applelink.py
|
||||
test/ToolSurrogate.py
|
||||
# no clue but why would we care about rpm?
|
||||
test/packaging/option--package-type.py
|
||||
test/packaging/rpm/cleanup.py
|
||||
test/packaging/rpm/internationalization.py
|
||||
test/packaging/rpm/multipackage.py
|
||||
test/packaging/rpm/package.py
|
||||
test/packaging/rpm/tagging.py
|
||||
# apparently fragile to... limits?
|
||||
# https://bugs.gentoo.org/908347#c7
|
||||
test/builderrors.py
|
||||
)
|
||||
|
||||
if ! use amd64 && ! use x86 ; then
|
||||
# These tests are currently broken on arm and other non-amd64/x86 platforms
|
||||
# Work seems to be ongoing in e.g. https://github.com/SCons/scons/pull/4022 to
|
||||
# better plumb up the MSVC tests for alternative arches.
|
||||
# Try again after 4.2.0.
|
||||
# See also: https://pairlist4.pair.net/pipermail/scons-users/2020-November/008452.html
|
||||
# bug #757534
|
||||
remove_tests+=(
|
||||
test/MSVS/vs-7.0-scc-files.py
|
||||
test/MSVS/vs-7.0-scc-legacy-files.py
|
||||
test/MSVS/vs-7.1-scc-files.py
|
||||
test/MSVS/vs-7.1-scc-legacy-files.py
|
||||
test/MSVS/vs-scc-files.py
|
||||
test/MSVS/vs-scc-legacy-files.py
|
||||
)
|
||||
fi
|
||||
|
||||
rm -r "${remove_tests[@]}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local -x COLUMNS=80
|
||||
# set variable from escons() of scons-util.eclass to make env-passthrough patch work within test env
|
||||
local -x GENTOO_SCONS_ENV_PASSTHROUGH=1
|
||||
# unset some env variables to pass appropriate tests
|
||||
unset AR AS ASFLAGS CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS
|
||||
cd "${WORKDIR}/${P}" || die
|
||||
"${EPYTHON}" runtest.py -a --passed \
|
||||
-j "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
|
||||
# runtest.py script returns "0" if all tests are passed
|
||||
# and returns "2" if there are any tests with "no result"
|
||||
# (i.e. in case if some tools are not installed or it's Windows specific tests)
|
||||
[[ ${?} == [02] ]] || die "Tests fail with ${EPYTHON}"
|
||||
|
||||
# sigh
|
||||
rm "${BUILD_DIR}/install/usr/bin/.sconsign" || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
doman *.1
|
||||
use doc && dodoc "${DISTDIR}/${P}"-user.{pdf,html}
|
||||
}
|
|
@ -32,7 +32,7 @@ SRC_URI="
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,2 +1,2 @@
|
|||
DIST gtest-1.13.0.tar.gz 862871 BLAKE2B d2768332c233d62f7a5f5332b63dc587c96c24765b2eeaa4f4caf5d421b175aa850d81cec4f50eeef9e06d4b86cb959555b4c2862a197ce3cb86d61fcb51f5d1 SHA512 70c0cfb1b4147bdecb467ecb22ae5b5529eec0abc085763213a796b7cdbd81d1761d12b342060539b936fa54f345d33f060601544874d6213fdde79111fa813e
|
||||
DIST gtest-1.14.0.tar.gz 867764 BLAKE2B c457f55ac572b9fb1553eee3df7eeeaf1e7dd2c3d747dd5e90dd279038fa5c71bb7b7d9ba1cf7e6143898b2a1d24d100584bd2a48ded41a426870c4825eec1b2 SHA512 765c326ccc1b87a01027385e69238266e356361cd4ee3e18e3c9d137a5d11fa5d657c164d02dd1be8fe693c8e10f2b580588dbfa57d27f070e2750f50d3e662c
|
||||
DIST gtest-1.15.2.tar.gz 872667 BLAKE2B 2525d7a8572364cc2c2c129197201fc31e3cb4aadf4be37a995447a9b8e393205628e666dd190dca9a169b693883a5a2a5cafd6432cc3d1263a0c834ff8cf121 SHA512 9046841044a2bf7edfd96854ad9c44ffae4fcb9fb59a075b367507c0762a98eb32cb6968d46663228272e26321e96f4dd287c95baa22c6af9bad902b8b6ede4e
|
||||
|
|
17
dev-cpp/gtest/files/gtest-1.15.2-fix-gtest_help_test.patch
Normal file
17
dev-cpp/gtest/files/gtest-1.15.2-fix-gtest_help_test.patch
Normal file
|
@ -0,0 +1,17 @@
|
|||
Similar to the bazel build, gtest is supposed to pass --has_absl_flags to
|
||||
gtest_help_test if building with abseil support but neglects to.
|
||||
|
||||
--- a/googletest/CMakeLists.txt
|
||||
+++ b/googletest/CMakeLists.txt
|
||||
@@ -293,7 +293,11 @@
|
||||
py_test(googletest-filter-unittest)
|
||||
|
||||
cxx_executable(gtest_help_test_ test gtest_main)
|
||||
+ if(NOT GTEST_HAS_ABSL)
|
||||
py_test(gtest_help_test)
|
||||
+ else()
|
||||
+ py_test(gtest_help_test --has_absl_flags)
|
||||
+ endif()
|
||||
|
||||
cxx_executable(googletest-list-tests-unittest_ test gtest)
|
||||
py_test(googletest-list-tests-unittest)
|
32
dev-cpp/gtest/files/gtest-find-re2-with-pkgconfig.patch
Normal file
32
dev-cpp/gtest/files/gtest-find-re2-with-pkgconfig.patch
Normal file
|
@ -0,0 +1,32 @@
|
|||
dev-libs/re2 is built with a Makefile which doesn't install any cmake modules.
|
||||
For now, use pkgconfig.
|
||||
|
||||
Bug: https://bugs.gentoo.org/940734
|
||||
Signed-off-by: Peter Levine <plevine457@gmail.com>
|
||||
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -25,7 +25,9 @@
|
||||
find_package(absl REQUIRED)
|
||||
endif()
|
||||
if(NOT TARGET re2::re2)
|
||||
- find_package(re2 REQUIRED)
|
||||
+ find_package(PkgConfig REQUIRED)
|
||||
+ pkg_check_modules(re2 REQUIRED IMPORTED_TARGET re2)
|
||||
+ add_library(re2::re2 ALIAS PkgConfig::re2)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
--- a/googletest/cmake/Config.cmake.in
|
||||
+++ b/googletest/cmake/Config.cmake.in
|
||||
@@ -6,7 +6,9 @@
|
||||
endif()
|
||||
if (@GTEST_HAS_ABSL@)
|
||||
find_dependency(absl)
|
||||
- find_dependency(re2)
|
||||
+ find_package(PkgConfig)
|
||||
+ pkg_check_modules(re2 IMPORTED_TARGET re2)
|
||||
+ add_library(re2::re2 ALIAS PkgConfig::re2)
|
||||
endif()
|
||||
|
||||
include("${CMAKE_CURRENT_LIST_DIR}/@targets_export_name@.cmake")
|
|
@ -1,78 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Python is required for tests and some build tasks.
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit cmake-multilib python-any-r1
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/google/googletest"
|
||||
else
|
||||
if [[ -z ${GOOGLETEST_COMMIT} ]]; then
|
||||
SRC_URI="https://github.com/google/googletest/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/googletest-${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/google/googletest/archive/${GOOGLETEST_COMMIT}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT}
|
||||
fi
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Google C++ Testing Framework"
|
||||
HOMEPAGE="https://github.com/google/googletest"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
sed -i -e '/set(cxx_base_flags /s:-Werror::' \
|
||||
googletest/cmake/internal_utils.cmake || die "sed failed!"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GMOCK=ON
|
||||
-DINSTALL_GTEST=ON
|
||||
|
||||
# tests
|
||||
-Dgmock_build_tests=$(usex test)
|
||||
-Dgtest_build_tests=$(usex test)
|
||||
-DPYTHON_EXECUTABLE="${PYTHON}"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# Exclude tests that fail with FEATURES="usersandbox"
|
||||
cmake_src_test -E "googletest-(death-test|port)-test"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
newdoc googletest/README.md README.googletest.md
|
||||
newdoc googlemock/README.md README.googlemock.md
|
||||
|
||||
use doc && dodoc -r docs/.
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc googletest/samples/*.{cc,h}
|
||||
fi
|
||||
}
|
|
@ -6,7 +6,7 @@ EAPI=8
|
|||
# Python is required for tests and some build tasks.
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
inherit cmake-multilib python-any-r1
|
||||
inherit cmake-multilib flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
inherit git-r3
|
||||
|
@ -21,7 +21,7 @@ else
|
|||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT}
|
||||
fi
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Google C++ Testing Framework"
|
||||
|
@ -29,34 +29,51 @@ HOMEPAGE="https://github.com/google/googletest"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
IUSE="abseil doc examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="abseil? (
|
||||
dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]
|
||||
dev-libs/re2:=[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Exclude tests that fail with FEATURES="usersandbox"
|
||||
CMAKE_SKIP_TESTS=( "googletest-(death-test|port)-test" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/gtest-find-re2-with-pkgconfig.patch
|
||||
"${FILESDIR}"/gtest-1.15.2-fix-gtest_help_test.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if use arm && [[ $(tc-is-softfloat) =~ (softfp)|(no) ]]; then
|
||||
replace-flags -O* -O1 # bug #925093
|
||||
fi
|
||||
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GMOCK=ON
|
||||
-DINSTALL_GTEST=ON
|
||||
-DGTEST_HAS_ABSL=$(usex abseil)
|
||||
|
||||
# tests
|
||||
-Dgmock_build_tests=$(usex test)
|
||||
-Dgtest_build_tests=$(usex test)
|
||||
)
|
||||
use test && mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
|
||||
if use test; then
|
||||
if use x86 || use x86-linux; then
|
||||
append-cxxflags -ffloat-store # bug #905007
|
||||
fi
|
||||
mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# Exclude tests that fail with FEATURES="usersandbox"
|
||||
cmake_src_test -E "googletest-(death-test|port)-test"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
|
@ -21,7 +21,7 @@ else
|
|||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/googletest-${GOOGLETEST_COMMIT}
|
||||
fi
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Google C++ Testing Framework"
|
||||
|
@ -29,10 +29,22 @@ HOMEPAGE="https://github.com/google/googletest"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="doc examples test"
|
||||
IUSE="abseil doc examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="abseil? (
|
||||
dev-cpp/abseil-cpp:=[${MULTILIB_USEDEP}]
|
||||
dev-libs/re2:=[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
# Exclude tests that fail with FEATURES="usersandbox"
|
||||
CMAKE_SKIP_TESTS=( "googletest-(death-test|port)-test" )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/gtest-find-re2-with-pkgconfig.patch
|
||||
"${FILESDIR}"/gtest-1.15.2-fix-gtest_help_test.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
|
@ -46,6 +58,7 @@ multilib_src_configure() {
|
|||
local mycmakeargs=(
|
||||
-DBUILD_GMOCK=ON
|
||||
-DINSTALL_GTEST=ON
|
||||
-DGTEST_HAS_ABSL=$(usex abseil)
|
||||
|
||||
# tests
|
||||
-Dgmock_build_tests=$(usex test)
|
||||
|
@ -61,11 +74,6 @@ multilib_src_configure() {
|
|||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# Exclude tests that fail with FEATURES="usersandbox"
|
||||
cmake_src_test -E "googletest-(death-test|port)-test"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="abseil">
|
||||
Build with functionality provided by <pkg>dev-cpp/abseil-cpp</pkg> and <pkg>dev-libs/re2</pkg>
|
||||
</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<doc lang="en">https://github.com/google/googletest/tree/HEAD/docs</doc>
|
||||
<remote-id type="github">google/googletest</remote-id>
|
||||
|
|
Binary file not shown.
|
@ -11,7 +11,7 @@ SRC_URI="https://dbmx.net/kyotocabinet/pkg/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="debug doc examples +lzma +lzo static-libs"
|
||||
|
||||
DEPEND="sys-libs/zlib[static-libs?]
|
||||
|
|
Binary file not shown.
|
@ -74,7 +74,7 @@ LICENSE="GPL-3+ LGPL-2.1+"
|
|||
SLOT="0"
|
||||
IUSE="cet debuginfod guile lzma multitarget nls +python +server sim source-highlight test vanilla xml xxhash zstd"
|
||||
if [[ -n ${REGULAR_RELEASE} ]] ; then
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
|
||||
fi
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
|
|
@ -9,6 +9,5 @@ DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffe
|
|||
DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b
|
||||
DIST llvm-project-19.1.1.src.tar.xz 141244648 BLAKE2B 7c9250f99c8e5ae2097e89269ebf5bfdfb0fba8f67ab934377d24030c985013fe5475d0c9bd6d60a679e169772ad1723bc6e44ff9e4c7aed5627b9f1f1a2477a SHA512 84adab40ffb9ec236dbf203d86c08a0c2c651f98278a9d0936490c7901159eb26eabd3db9316013886b549426d4acb43b75d866f7dc670ab299bf93ba35b1891
|
||||
DIST llvm-project-19.1.1.src.tar.xz.sig 438 BLAKE2B 6967194abf6939291abc716f862a46ea7c5e195b98eebc26928a57dbd5034f82a8ecb5b7cc1b7c2428168309308b19df1c7db828703e80d3f7bf578e3542874d SHA512 07bb7bffb2b035417d702ca47be9d5759250f1a2cd57606855027d458ceb972a293b45d3d93bcda195588986acbb5eace60524f4aecdc0da7aeb3a8414c37c31
|
||||
DIST llvm-project-b837c9e289dab93c7f8a06876e3f70b6864f40ab.tar.gz 219631219 BLAKE2B d8a5d7de537ad91e94fc85dc0f624eba92f31cab2a345706250a66ad424fff151d5b86c430d993a35fd938095774411080cee4cab47a8258af348743dc145b56 SHA512 fe23f72b73553e3755af335a2a2a2225eafdcf2ed93191c9f4ac7bcf7b5b5391f73c2dccbb082279e0c7389a8f12b889a8d061389785cf9219ca861a8d4b41cc
|
||||
DIST llvm-project-cde7b30268a85a3e7900a31534a97e7eb4de9236.tar.gz 219048549 BLAKE2B 53bdfea814b2cdf60bfdd27f6135b9f9d5156bdc78d22a361214399c5101b6fafaaefb9109377c1d977c67ebcb1feed69d6aaee0f2e38881480d68ac8be9b3d9 SHA512 0def6da5c2443753f37ba40a893b41dd5c7676b7be57102a5a6e820fe4fe235cad1da9a1c0eff1abc4c4ed5cc188522cae23afeddeee1876ea8ffde5c4f33b9f
|
||||
DIST llvm-project-9aef0fd52a0b2bf31cf3bae8a0693d6df8db6e04.tar.gz 219987707 BLAKE2B a3f0acd0fd3b66c3a826ac6760653fa6ea893ffba7587cf4a14f472026a9d9d8bf6b63c26d8bc39e83936afe6b735496bd88ce6c00d16abe1d0ccd1f9a644302 SHA512 5104669d78930363afeba045dc27a4c36ca8bb7537d432c765e023cbd91155b248c3a60d4768e1f8690c88e82d4ff95a44fb73f26d25d6646dddc857992485ba
|
||||
DIST llvm-project-fb2960aad93f6c02e0ea8de0568c0aef8896eee8.tar.gz 219704020 BLAKE2B 91f7226d7c6dcfa82c6b892ec0a80b47b5abd435c39996d8a6e0611355d434a86eb42bd5dce849dcc9a2f0ed2ae9844e5672f45283984ad10c7c12c62c82d47b SHA512 f0b56a4ab532aaf4bb841aac4e2faf63f213f3cd71d24555b46805406502805e6cc46cb0aae0fbf5f49ddec99da801ab8e54410a9bd8a7bcb0e9fb13619c30bf
|
||||
|
|
|
@ -1,110 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit cmake flag-o-matic llvm.org llvm-utils python-single-r1
|
||||
|
||||
DESCRIPTION="The LLVM debugger"
|
||||
HOMEPAGE="https://llvm.org/"
|
||||
|
||||
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
|
||||
SLOT="0/${LLVM_SOABI}"
|
||||
IUSE="+debug debuginfod +libedit lzma ncurses +python test +xml"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
DEPEND="
|
||||
debuginfod? (
|
||||
net-misc/curl:=
|
||||
dev-cpp/cpp-httplib:=
|
||||
)
|
||||
libedit? ( dev-libs/libedit:0= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
ncurses? ( >=sys-libs/ncurses-5.9-r3:0= )
|
||||
xml? ( dev-libs/libxml2:= )
|
||||
~sys-devel/clang-${PV}
|
||||
~sys-devel/llvm-${PV}[debuginfod=]
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
python? (
|
||||
${PYTHON_DEPS}
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
python? (
|
||||
>=dev-lang/swig-3.0.11
|
||||
)
|
||||
test? (
|
||||
$(python_gen_cond_dep "
|
||||
~dev-python/lit-${PV}[\${PYTHON_USEDEP}]
|
||||
dev-python/psutil[\${PYTHON_USEDEP}]
|
||||
")
|
||||
sys-devel/lld
|
||||
)
|
||||
"
|
||||
|
||||
LLVM_COMPONENTS=( lldb cmake llvm/utils )
|
||||
LLVM_TEST_COMPONENTS=( llvm/lib/Testing/Support third-party )
|
||||
llvm.org_set_globals
|
||||
|
||||
src_configure() {
|
||||
llvm_prepend_path "${LLVM_MAJOR}"
|
||||
|
||||
# bug #858389 (https://github.com/llvm/llvm-project/issues/83636)
|
||||
filter-lto
|
||||
|
||||
# LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844
|
||||
use debug || local -x CPPFLAGS="${CPPFLAGS} -DNDEBUG"
|
||||
|
||||
local mycmakeargs=(
|
||||
-DLLDB_ENABLE_CURSES=$(usex ncurses)
|
||||
-DLLDB_ENABLE_LIBEDIT=$(usex libedit)
|
||||
-DLLDB_ENABLE_PYTHON=$(usex python)
|
||||
-DLLDB_ENABLE_LUA=OFF
|
||||
-DLLDB_ENABLE_LZMA=$(usex lzma)
|
||||
-DLLDB_ENABLE_LIBXML2=$(usex xml)
|
||||
-DLLVM_ENABLE_TERMINFO=$(usex ncurses)
|
||||
|
||||
-DLLDB_INCLUDE_TESTS=$(usex test)
|
||||
|
||||
-DCLANG_LINK_CLANG_DYLIB=ON
|
||||
# TODO: fix upstream to detect this properly
|
||||
-DHAVE_LIBDL=ON
|
||||
-DHAVE_LIBPTHREAD=ON
|
||||
|
||||
# normally we'd have to set LLVM_ENABLE_TERMINFO, HAVE_TERMINFO
|
||||
# and TERMINFO_LIBS... so just force FindCurses.cmake to use
|
||||
# ncurses with complete library set (including autodetection
|
||||
# of -ltinfo)
|
||||
-DCURSES_NEED_NCURSES=ON
|
||||
|
||||
-DCLANG_RESOURCE_DIR="../../../clang/${LLVM_MAJOR}"
|
||||
|
||||
-DLLVM_MAIN_SRC_DIR="${WORKDIR}/llvm"
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
)
|
||||
use test && mycmakeargs+=(
|
||||
-DLLVM_EXTERNAL_LIT="${EPREFIX}/usr/bin/lit"
|
||||
-DLLVM_LIT_ARGS="$(get_lit_flags)"
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x LIT_PRESERVES_TMP=1
|
||||
cmake_build check-lldb-{shell,unit}
|
||||
# failures + hangs
|
||||
#use python && cmake_build check-lldb-api
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
find "${D}" -name '*.a' -delete || die
|
||||
|
||||
use python && python_optimize
|
||||
}
|
Binary file not shown.
|
@ -2,3 +2,5 @@ DIST rpi-eeprom_15.0-1.debian.tar.xz 10720 BLAKE2B c8915ebf859ebb1ea3a48af807753
|
|||
DIST rpi-eeprom_15.0.orig.tar.gz 29800286 BLAKE2B ceda9bdc412a32443d0cb3fa444d1091f0f53215a5be6c546384a11f7fa28592d43bdf23f04a33925601b5e76e510b054b214d262904f03aafa2b959fcb5fc1e SHA512 eddea0c8057e13991e3a6493146c8785607162342321d48048ba5760ecc7f1c6687a03edffcd0be4a5549c333cdbb20e88d407c4212334e18178fb86cc6cd0a4
|
||||
DIST rpi-eeprom_21.0-1.debian.tar.xz 11876 BLAKE2B 5615237244e259a269f62951402ecf54bf947ff22efee157f664ddc49d4c053081544e05960dd934246fdccdf079d62d1932428718e8ad5ade09d0675af58ff5 SHA512 af347630ea8e3fffb5e86539067ca1005e71aea48b43e009bd6b50c602696e08e27ca931efbbc66f26c9bf30c98abd3853a221e067888597cad01078a1335b26
|
||||
DIST rpi-eeprom_21.0.orig.tar.gz 41026148 BLAKE2B 5398cf2087b0f5e0d3a2d9f113dbc788f82ff281b36ecbbd1689408db9368083ce77ff88e62a7eaa12dc524debe2f0724f6f00cc23bfb61160ae557bacfae57a SHA512 fc237efa8932a04e44bd47ad6837e5aed7547e3a9e0e03e196df801c83e95618290c04de7ee3458e6465bb273171084c664d6daaa49515e1dcbcd05cb3022f2d
|
||||
DIST rpi-eeprom_26.0-1.debian.tar.xz 13208 BLAKE2B 976828f564794379fe907cbab22f77d214c0dbb4bfbd6257e3315b1444fa47035be9c2dfaee79dc7c8123b3b267409d99d8142b649a2163670baa9b8871790ea SHA512 1fdb538b17d75ce2d79b1a000954073233279dd19ee28ad42fcb8238009583f1a5a0a9cb511ab60c7ed978696f203e466fe1bb5f0ca7a736cf90781d66e9c6b3
|
||||
DIST rpi-eeprom_26.0.orig.tar.gz 58406186 BLAKE2B ea16e4deb4b331c2f3401731df548f2b11ca9c113da5de3fe5aaeba098a8b0d1d39420261c5d32e04c10a5d38b955ef80133bff585e7d9305cd70261626101d8 SHA512 14dbca5a1e5f3d6d117a0a3978ff2aa14fbf29363b501351d618b6c36f7feb32c6fe1d99952b72286d0a5f8962432ba1056d4d5d758a5e978c4738deab47ddbe
|
||||
|
|
100
dev-embedded/rpi-eeprom/rpi-eeprom-26.0_p1.ebuild
Normal file
100
dev-embedded/rpi-eeprom/rpi-eeprom-26.0_p1.ebuild
Normal file
|
@ -0,0 +1,100 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..13} )
|
||||
|
||||
inherit python-r1 systemd
|
||||
|
||||
MY_P="${PN}-$(ver_cut 1-2)"
|
||||
MY_BASE_URL="https://archive.raspberrypi.org/debian/pool/main/r/${PN}/${PN}_$(ver_cut 1-2)"
|
||||
DESCRIPTION="Updater for Raspberry Pi 4/5 bootloader and the VL805 USB controller"
|
||||
HOMEPAGE="https://github.com/raspberrypi/rpi-eeprom/"
|
||||
SRC_URI="${MY_BASE_URL}-$(ver_cut 4).debian.tar.xz
|
||||
${MY_BASE_URL}.orig.tar.gz"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="BSD rpi-eeprom"
|
||||
SLOT="0"
|
||||
KEYWORDS="~arm ~arm64"
|
||||
IUSE="pi4 pi5"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
^^ ( pi4 pi5 )
|
||||
"
|
||||
|
||||
BDEPEND="sys-apps/help2man"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-embedded/raspberrypi-utils
|
||||
sys-apps/flashrom
|
||||
sys-apps/pciutils"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e 's:/etc/default/rpi-eeprom-update:/etc/conf.d/rpi-eeprom-update:' \
|
||||
"${MY_P}/rpi-eeprom-update" || die "Failed sed on rpi-eeprom-update"
|
||||
sed -i \
|
||||
-e 's:/usr/bin/rpi-eeprom-update:/usr/sbin/rpi-eeprom-update:' \
|
||||
"debian/rpi-eeprom.rpi-eeprom-update.service" || die "Failed sed on rpi-eeprom.rpi-eeprom-update.service"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use pi4 && export BROADCOM=2711
|
||||
use pi5 && export BROADCOM=2712
|
||||
}
|
||||
|
||||
src_install() {
|
||||
pushd "${MY_P}" 1>/dev/null || die "Cannot change into directory ${MY_P}"
|
||||
|
||||
python_scriptinto /usr/sbin
|
||||
python_foreach_impl python_newscript rpi-eeprom-config rpi-eeprom-config
|
||||
|
||||
dosbin rpi-eeprom-update rpi-eeprom-digest
|
||||
keepdir /var/lib/raspberrypi/bootloader/backup
|
||||
|
||||
for dir in default latest critical stable beta; do
|
||||
insinto /lib/firmware/raspberrypi/bootloader
|
||||
doins -r firmware-$BROADCOM/${dir}
|
||||
done
|
||||
|
||||
dodoc firmware-$BROADCOM/release-notes.md
|
||||
|
||||
help2man -N \
|
||||
--version-string="${PV}" --help-option="-h" \
|
||||
--name="Bootloader EEPROM configuration tool for the Raspberry Pi 4B" \
|
||||
--output=rpi-eeprom-config.1 ./rpi-eeprom-config || die "Failed to create manpage for rpi-eeprom-config"
|
||||
|
||||
help2man -N \
|
||||
--version-string="${PV}" --help-option="-h" \
|
||||
--name="Checks whether the Raspberry Pi bootloader EEPROM is \
|
||||
up-to-date and updates the EEPROM" \
|
||||
--output=rpi-eeprom-update.1 ./rpi-eeprom-update || die "Failed to create manpage for rpi-eeprom-update"
|
||||
|
||||
doman rpi-eeprom-update.1 rpi-eeprom-config.1
|
||||
|
||||
newconfd rpi-eeprom-update-default rpi-eeprom-update
|
||||
|
||||
popd 1>/dev/null || die
|
||||
|
||||
pushd debian 1>/dev/null || die "Cannot change into directory debian"
|
||||
|
||||
systemd_newunit rpi-eeprom.rpi-eeprom-update.service rpi-eeprom-update.service
|
||||
newdoc changelog changelog.Debian
|
||||
|
||||
popd 1>/dev/null || die
|
||||
|
||||
newinitd "${FILESDIR}/init.d_rpi-eeprom-update-1" "rpi-eeprom-update"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog 'To have rpi-eeprom-update run at each startup, enable and start either'
|
||||
elog '/etc/init.d/rpi-eeprom-update (for openrc users)'
|
||||
elog 'or'
|
||||
elog 'rpi-eeprom-update.service (for systemd users)'
|
||||
elog '/etc/conf.d/rpi-eeprom-update contains the configuration.'
|
||||
elog 'FIRMWARE_RELEASE_STATUS="critical|stable|beta" determines'
|
||||
elog 'which release track you get. "critical" is recommended and the default.'
|
||||
}
|
Binary file not shown.
|
@ -1,3 +1,2 @@
|
|||
DIST commons-cli-1.5.0-src.tar.gz 156731 BLAKE2B b3bc3c7426f4564187f6b2fecf2977a8d307277cb244bb51064f32e6d2fc0ddb08c539b3bae68bba5ccc2319d0e483f01f6765ae3e86ebfe99eb775564fd7c8f SHA512 aa2165695177c3e4561f68585cafb5434758138d8a863f3db1860477f660cf78664d2afb07cc3bc767bc8fa87befc7eaa5bdead423ee8b883c62ff00aec7cdda
|
||||
DIST commons-cli-1.9.0-src.tar.gz 187533 BLAKE2B d38f6602e065059521a052e2a9bfe7b05f9cd7da26537b3237868e583d7ca904e36cd58ffe04b9ea5feae81594cdc2bcbab7c16d2c95f2888f5ffd35c78c485c SHA512 d20df809e8e0ebed79c57af9c9b447b0068347ba0edfcdec3652cb00bd9575b24fc77093d735e827d9d02a6fe2681bf239fd01df5f7c682ae34ade0781c53e35
|
||||
DIST commons-cli-1.9.0-src.tar.gz.asc 488 BLAKE2B 22992f7fe15617c0422061447f9bae8ff5ab5804514b48bb277cfad0483e932694048159b82f1782369bdf1f25f5a9387f63ea2d83f147ea80f9ef21d1b772c5 SHA512 27f46b143efef09c6ec84382b2c7ca3877441190f3201ed167560572e741c23d641c3c534b1c25df399445957353285bed7913f113db8489c097b2057ed70571
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="commons-cli:commons-cli:1.5.0"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A Java library for working with the command line arguments and options"
|
||||
HOMEPAGE="https://commons.apache.org/proper/commons-cli/"
|
||||
SRC_URI="mirror://apache/commons/cli/source/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="src/test/java"
|
||||
JAVA_TEST_RESOURCE_DIRS="src/test/resources"
|
||||
|
||||
# There were 62 failures:
|
||||
# 1) testSimpleLong(org.apache.commons.cli.ParserTestCase)
|
||||
# java.lang.InstantiationException
|
||||
# at java.base/jdk.internal.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:48)
|
||||
# FAILURES!!!
|
||||
# Tests run: 444, Failures: 62
|
||||
JAVA_TEST_EXCLUDES="org.apache.commons.cli.ParserTestCase"
|
||||
|
||||
src_install() {
|
||||
default
|
||||
java-pkg-simple_src_install
|
||||
}
|
|
@ -1,4 +1,2 @@
|
|||
DIST commons-daemon-1.3.4-src.tar.gz 290834 BLAKE2B be57fbf89cad23fb4108e97b8e75d8380ff5b286068edfed65cd3539971375949ec80fd5aeece50a6498642f60e26498eb37ea3778f503d7498662ae79ecd14e SHA512 bb36d88bc21a5777245012b2a73ee0e764b85715731f54cc4ff09343e95ccb18fc6c68b3ae9c680fb45a60c7ef5ed0f9e40991c2c03246dd7f8dd65031eddf24
|
||||
DIST commons-daemon-1.3.4-src.tar.gz.asc 873 BLAKE2B f7886e67e2cfb0211d3271d79c251d07e5b0d7f7819566891e838619021ab9e3f468e3647f2f901d41a6d00f12b30adfa2d16f828ac5ce526666caab30ab8001 SHA512 eae6b01844bf5c49a95a60f4b59e0b989488728edb209252779f83e33ea3eeb53900a5fdeee5d953b231b241ba14a27c77967bdd3fe5acf2d9c6da50c225c79b
|
||||
DIST commons-daemon-1.4.0-src.tar.gz 291610 BLAKE2B 3a13a00e209ad501a34ebef32a5e5bf9bd25de309434249d81a5ba96bad2e922a6cdae42624a7a8da64555838c9bb12cb54de4da59193f16d91f4869ff72a9eb SHA512 285f33ce36e2591f49b6067da16612ec1b49b23a8637d077618aefaae4452993dc2a31660665551ea761857390d940100e162e205fe7c0fad9c72374f2d15bb8
|
||||
DIST commons-daemon-1.4.0-src.tar.gz.asc 833 BLAKE2B ac97dd01c02b4a52e2c3cdf4047504cc10b7b4bbfe70f86d442e301af48520c51513f2dae37eaa08648ac9a29e6212abb153b2e36cf85baf03245d8e528166b8 SHA512 8144068c97e76ca358850455d7b867ae106f04083223b43229cc1e05f21c99150c6734174e1b77e89eee93f94ec198831df57f3f53217f3416584509ca289fe1
|
||||
|
|
|
@ -1,55 +0,0 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="commons-daemon:commons-daemon:${PV}"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple toolchain-funcs verify-sig
|
||||
|
||||
DESCRIPTION="Tools to allow Java programs to run as UNIX daemons"
|
||||
HOMEPAGE="https://commons.apache.org/proper/commons-daemon/"
|
||||
SRC_URI="mirror://apache/commons/daemon/source/${P}-src.tar.gz
|
||||
verify-sig? ( https://downloads.apache.org/commons/daemon/source/${P}-src.tar.gz.asc )"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
RESTRICT="test" #839681
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
|
||||
DEPEND=">=virtual/jdk-1.8:*
|
||||
test? ( dev-java/junit:5[migration-support] )"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( {CONTRIBUTING,README}.md {HOWTO-RELEASE,NOTICE,RELEASE-NOTES}.txt )
|
||||
HTML_DOCS=( PROPOSAL.html )
|
||||
PATCHES=( "${FILESDIR}/commons-daemon-1.3.1-Make.patch" )
|
||||
|
||||
JAVA_ENCODING="iso-8859-1"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4 junit-5"
|
||||
JAVA_TEST_SRC_DIR="src/test/java"
|
||||
|
||||
src_prepare() {
|
||||
default #780585
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
|
||||
pushd src/native/unix || die
|
||||
./configure
|
||||
emake AR="$(tc-getAR)"
|
||||
popd
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
dobin src/native/unix/jsvc
|
||||
}
|
|
@ -1,5 +1,3 @@
|
|||
DIST commons-io-2.15.1-src.tar.gz 618534 BLAKE2B 6fc539f28ce610e9947bf529154c79f6924d74872d6f03561d477feba6013e48d74cb5097c851173b690b27052d59c38a9ca4048c1ed54736d29d962746182d6 SHA512 809c7aa66354f2e35fd23f295c4e2f325596ee7f842b7f63f6acc3bd9377c17d4dd276ce62c477fff8d51d0d660e9addbc068270a876097cbecfe3e64f57f385
|
||||
DIST commons-io-2.15.1-src.tar.gz.asc 488 BLAKE2B 5fb3128a63d2fbc74cd96bf00919cca0fbf7b0a2cbd48287c8495c0fdb78c9df53dcc06a443b626b52ff3f9c32c55425ba619a4f61de542f3dd912916f3b2469 SHA512 1d358d3acd88816fb4d95746d8e4bd4351062cf35caad8c6f4d2da42c7974a4a583db4f7d98d8768ca7fcb4900172b869c6d6f714b8df71bb214634f83c7a55a
|
||||
DIST commons-io-2.16.1-src.tar.gz 634766 BLAKE2B 5bdc09ec07666ae513944040aae730a8bd5fe4fe65f05aa1f8295b6687f99c588ac4071113b5fa3bdc8f2e4fe0d8b40677c3afba18f332e283f28b5270d5f41c SHA512 07298e3af85726f2ec07a660fbb743f82cd88f8043a57e2e1063b758c81429dfafd77a024e2cdd48efe5d403299c20e898f5b3dd729f52bd55b8a6fb50c9a13a
|
||||
DIST commons-io-2.16.1-src.tar.gz.asc 488 BLAKE2B e42af1fe9cbb50371c981737e7899b30d99b8e7045485562614a72307068942b433614e4a1c3cdb17261917a1a5382c5828e290e50f3f3a12a3ed297be53cace SHA512 74e22fd7bf5daf58611537f6c21bd41e10942e3051785e13d771e5fd50e5403144a8d2ed9472de13263da5cbf579911a1aafaa7e43dea9f99fe6ad4011ecb74a
|
||||
DIST commons-io-2.17.0-src.tar.gz 652908 BLAKE2B c87f10584d7933215aa24e8bde1037eced0738098149e9423371a1fef0255e36e38a6c92cdafd75eecbf56d13c4c38d479fe2706afc86224900fcaf7cae5e5f5 SHA512 5681b7bab9e34e9051e4f7a48925ecdf5d8814894c2626298dfca7aa0566c2dc46c15843850e3e14a3e05613ae9ef9fd08077042931e2fe552057f9c1bee6b69
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# No tests, #839681
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="commons-io:commons-io:${PV}"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Utility classes, stream implementations, file filters, and much more"
|
||||
HOMEPAGE="https://commons.apache.org/proper/commons-io/"
|
||||
SRC_URI="mirror://apache/commons/io/source/${P}-src.tar.gz
|
||||
verify-sig? ( https://archive.apache.org/dist/commons/io/source/${P}-src.tar.gz.asc )"
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="1"
|
||||
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
RESTRICT="test" #839681
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.io"
|
||||
JAVA_ENCODING="iso-8859-1"
|
||||
JAVA_SRC_DIR="src/main/java"
|
|
@ -1,4 +1,2 @@
|
|||
DIST commons-lang-3.14.0-src.tar.gz 1153353 BLAKE2B 78d116864e488baf5c0c241b2304244f207c7b56b2f72006648de217d407d7c577a43ed89d78b0c868a2842eb1985c842e214078cc8e55bc5d93fac5553fa2ed SHA512 1ee4176c3588c11594a79f416a1f34b063cddb10c2124a37640fee48e5d8135091573002b6bf1eda5a60a324c1125665dadc93f9bfda32c9270c35113b6e1bea
|
||||
DIST commons-lang-3.14.0-src.tar.gz.asc 488 BLAKE2B 3ef9b7529a1681e2687f533bf8d45a8394f6633e0a56e8e17ae63b2f8631f94c854b35e50b0f780908ffdcd0f8a8d99d8132aaa1ade5e932ee1ff56181b1ce77 SHA512 025673c12587970de5ebb62aad0d2d34cdbd57c575ebb6c83359b975b3d1ec50ff3caa544395ad04aecd59df454a12a769025635aa55d860195e39086ddcf47e
|
||||
DIST commons-lang-3.17.0-src.tar.gz 1195408 BLAKE2B 1f612b8e5ef3ecc820ae040090633fd1a145298f0abdcc404e344adf9fb8c3632d144d1ee1cea4009ec32932b5b49a767abf77c45ff110129b98bdb0a7ba4557 SHA512 e633b0caeb9556c68384c2bf20e374fbac910b9979b25774c632e50c1bec41e97c14362978dc092c8b5859291e54fe51e76ad7a61c9b2efbe1e4538f46c1e3ee
|
||||
DIST commons-lang-3.17.0-src.tar.gz.asc 488 BLAKE2B ad6bbd5658a4fcdd56f830d55abef4a387fc8f42f4e3cc19d4700033acef8b02e30df4d6774014ae2b0a4f6811bdcc97a5c1a0c154705aa37724325850218beb SHA512 34f48ab6080c5730821bbf32f3715672c9f916d69985940f1dd17f9ab2c2ec04d1907426ee1dac1bd3654f7f50c65730042ebbffde1c12aa758f9a1e5634fcd0
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# No tests because of missing eclass support of junit-jupiter, #902723
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.commons:commons-lang3:${PV}"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Commons components to manipulate core java classes"
|
||||
HOMEPAGE="https://commons.apache.org/proper/commons-lang/"
|
||||
SRC_URI="https://archive.apache.org/dist/commons/lang/source/${PN}3-${PV}-src.tar.gz -> ${P}-src.tar.gz
|
||||
verify-sig? ( https://archive.apache.org/dist/commons/lang/source/${PN}3-${PV}-src.tar.gz.asc -> ${P}-src.tar.gz.asc )"
|
||||
S="${WORKDIR}/${PN}3-${PV}-src"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.6"
|
||||
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.lang3"
|
||||
JAVA_ENCODING="ISO-8859-1"
|
||||
JAVA_SRC_DIR="src/main/java"
|
|
@ -1,4 +1,2 @@
|
|||
DIST commons-net-3.10.0-src.tar.gz 450082 BLAKE2B 0df46b21ca298393500494e41d918b3fc6e700485c4d9dfb2bab61d8f834a4f44dd881c464c4008731deec9fc82ca36e0442022f0942b3e59e384a2b44329660 SHA512 d9d80255feddfb434d3baa629aa9e6d8feffd530c5e3172106fec55bbc986f6423a46dc9e737a1bb7020c62447229e6b83d0b7f9582d041e1def423536cc92dd
|
||||
DIST commons-net-3.10.0-src.tar.gz.asc 488 BLAKE2B 31a15e952c55079e595f33be1730126b85c669b481c649e401cb4617a5489fc3e3025e8c172f8193b190b16fe55d9c78c171d16d4adf7fa1a8e71648e295bc77 SHA512 ab27b1fa2c02d79eff26f93697fafc54f22a7368db631bb6f7173b8702cda10836ac8b656df987135fe5c1d39a557840fefb0355d8d52f0e4815808d4938de18
|
||||
DIST commons-net-3.11.1-src.tar.gz 460104 BLAKE2B 5542a7d9d3d8f2f07a90b3ab21e4e8a66bceecfef8f1ae8ec378003e4c3906414435b095cc0c0016f24d3e174a5e16da52cf4c5503209c08d5e550ef25a7bbdc SHA512 0999067cc73cb0e0ab4940302180a0afa998b37c51f93c1c744bf1d346d14c89283166a665283d98200e98f0b8c39854f17493890d49ddad5769c4deb49de37e
|
||||
DIST commons-net-3.11.1-src.tar.gz.asc 488 BLAKE2B ea6ba15b7b6800b1c249cb82d784057f701fb13775fc9838e5247e1e8ead9360a7c5381083fa0c0e2b783e339b6e4ebb8ff66cb8c8924b3c00c9b28ee696e7a3 SHA512 c9e4c896d2f514996aa50c8af20bab6564d574db4fef69832fe2391beefabfed74a727faf7fe9227b037e943cdba5b2ac143164d5c0df3140b9b7c44ca316e53
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# No tests because of missing eclass support of junit-jupiter, #902723
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
MAVEN_ID="commons-net:commons-net:${PV}"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Client-oriented Java library to implement many Internet protocols"
|
||||
HOMEPAGE="https://commons.apache.org/proper/commons-net/"
|
||||
SRC_URI="mirror://apache/commons/net/source/commons-net-${PV}-src.tar.gz
|
||||
verify-sig? ( https://downloads.apache.org/commons/net/source/commons-net-${PV}-src.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-apache-commons )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/commons.apache.org.asc"
|
||||
|
||||
DOCS=(
|
||||
CONTRIBUTING.md
|
||||
NOTICE.txt
|
||||
README.md
|
||||
RELEASE-NOTES.txt
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${P}-src"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="org.apache.commons.net"
|
||||
JAVA_ENCODING="iso-8859-1"
|
||||
JAVA_RESOURCE_DIRS="src/main/resources"
|
||||
JAVA_SRC_DIR="src/main/java"
|
|
@ -16,7 +16,7 @@ S="${WORKDIR}/JCTools-${PV}/jctools-core"
|
|||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
KEYWORDS="amd64 ~arm64 ppc64 x86"
|
||||
|
||||
DEPEND="
|
||||
dev-java/osgi-annotation:0
|
||||
|
|
|
@ -26,7 +26,7 @@ S="${WORKDIR}/mysql-connector-j-${PV}"
|
|||
|
||||
LICENSE="GPL-2-with-MySQL-FLOSS-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
KEYWORDS="amd64 ~ppc64 ~x86"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/c3p0:0
|
||||
|
|
|
@ -22,7 +22,7 @@ S="${WORKDIR}/protobuf-${MY_PV}"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="system-protoc"
|
||||
|
||||
BDEPEND="
|
||||
|
|
|
@ -24,7 +24,7 @@ S="${WORKDIR}/protobuf-${MY_PV}"
|
|||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="system-protoc"
|
||||
|
||||
BDEPEND="
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
DIST xz-java-1.10.zip 179204 BLAKE2B ffe19ed1de7370879bb5c3c3f777e367fff9868c5113a2920c02409e7ab7a325cd03d30ddd2bcc95e1509d2f38723e51eaf21b4aa767792e7a3c9850cd658e36 SHA512 be293545b9510906334ecbc092834599b36abe7498836ab111726a195fd4fc8731d2cb57109b51ac0de7d14da8b59fea7a48aaa2f5c61075b4b16c0e1d4f5579
|
||||
DIST xz-java-1.10.zip.sig 566 BLAKE2B 4a0e146f9a8ccffbf62d775b6d7c647611464fbf23fe0f0d9fa0f768487c642c1a9277b820af9ebdaeb9cefb3f5bf399a226000622838c81c02747b31158441b SHA512 e9bfe7eb28a6f9d8f7eb4c7620fc1598fe70c08a03fd2bfc5a1183110b0f8539704921f6224de352080cb3b6affb33163fd739503f4e8f279e06533445ebe8a6
|
||||
DIST xz-java-1.9.zip 155868 BLAKE2B e1e355e75b3d14cae9a12dd00105ff38e25ab9c270cecafc83f27a7a03b36aa7a33647b40b7458b3592319a2b574e10cef9786413f0a12af585199a8f00731de SHA512 743f81ac715d7ac2760af8cee4c62d8fbeef156c0d3e0e85e4605ae08d6a71d1e6f6675e0558e7906a92d5fb3ca1feab9db015a1d42b5df73de2dec770a339cb
|
||||
DIST xz-java-1.9.zip.sig 566 BLAKE2B 9702fa3021c4274aacc74ef84903429ed5301eac11cae6bf79014a5bad590c51b169c35f64add85c964cb815129acf920a014e5601acfcd075147f5fb8e9df1e SHA512 5f511260da0f5a9338106ac56511b7a105996852103a3f40cc4a44a7e4e03dc39a645bb0a57ae99bcde8267d5a2d514a7c956a8bfe226c0472e1fa3c7d28e3d5
|
||||
|
|
58
dev-java/xz-java/xz-java-1.10.ebuild
Normal file
58
dev-java/xz-java/xz-java-1.10.ebuild
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
MAVEN_ID="org.tukaani:xz:1.10"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Implementation of xz data compression in pure java"
|
||||
HOMEPAGE="https://tukaani.org/xz/java.html"
|
||||
SRC_URI="https://tukaani.org/xz/${P}.zip
|
||||
verify-sig? ( https://tukaani.org/xz/${P}.zip.sig )"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-11:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
verify-sig? ( sec-keys/openpgp-keys-lassecollin )
|
||||
"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/lassecollin.asc"
|
||||
|
||||
JAVA_SRC_DIR="src"
|
||||
|
||||
DOCS=( {AUTHORS,NEWS,README,THANKS}.md )
|
||||
|
||||
src_compile() {
|
||||
local JAVA_MODULE_NAME="org.tukaani.xz"
|
||||
JAVA_JAR_FILENAME="${JAVA_MODULE_NAME}.jar"
|
||||
java-pkg-simple_src_compile # creates a legacy jar file without module-info
|
||||
|
||||
# compile module-info.java
|
||||
ejavac \
|
||||
-source 9 -target 9 \
|
||||
--patch-module "${JAVA_MODULE_NAME}"="${JAVA_MODULE_NAME}.jar" \
|
||||
-d target/versions/9 \
|
||||
-sourcepath src9 \
|
||||
$(find src9 -type f -name '*.java')
|
||||
|
||||
# package
|
||||
JAVA_JAR_FILENAME="${PN}.jar"
|
||||
jar cvf "${JAVA_JAR_FILENAME}" \
|
||||
-C target/classes . \
|
||||
--release 9 -C target/versions/9 . || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
use examples && java-pkg_doexamples src/*Demo.java
|
||||
}
|
Binary file not shown.
|
@ -1,3 +1,3 @@
|
|||
DIST algol68g-3.5.4.tar.gz 664208 BLAKE2B b8e2bcc53cf3cc7254da37f1d5655ddc4f79564c51608fea374da25bc828c34056284f2a48e4ada92202f866c38326c1323aa9803bbbb0be22d3a682767c24fa SHA512 0cedce2c2cb4c8d7de91ef022ade38c2040d8fcd02c747226721a016f1c5ae9a9249314370ac6466be2fdba34f7602ab0954e05dbf20d7af1e68a04059270a5c
|
||||
DIST algol68g-3.5.5.tar.gz 664205 BLAKE2B 1ac99c1723e45ff69a72592c0209716409c35ce208e79682ed77a972b08cab49b78b735f1b585640c9a8b5d59853cafb601d8a049bc33bfa42f6a37c93848285 SHA512 5c671e1b7f90a6a0197afd0efdae737d409d0db98b4f62e2a958ecbec5d731cb68896e8c14e975d4d569e399a79ee12be3269c6ab2e9c6a34f2cb6d9a1e5a273
|
||||
DIST algol68g-3.5.7.tar.gz 664353 BLAKE2B 109a94c6e8996d71634187bafaf33ce6be40c054dcd62a5cb40a5197ad645a3f8769b3596504206aeccd4769aa80af263ad763b115171db73e3255b5e64347a8 SHA512 05a3d51cffb918d0e61d8692da83905190d3c52079acb3bcad2c49e8fa9dcc9ab433a830486db337ff28c540b128795d5af876d70ad778c72426549c1a6116d9
|
||||
DIST algol68g-3.5.8.tar.gz 664310 BLAKE2B f086b8d4930735e186761aea65f2599cb1a6234b43162ec2aad9e3292485a363f536c9226ecff460af5a99ed66bb1f6842d5f928e9d04e2149b7adcf08751101 SHA512 99fcd5719edda5726ef8c65a3d577ae02159f660a9d261d247553cd1ad7a0f323dc8f59739507e644306c03902e6a2327f617c82fc7052e3e9f59e98aca9fdbe
|
||||
|
|
|
@ -9,7 +9,7 @@ SRC_URI="https://jmvdveer.home.xs4all.nl/${P}.tar.gz"
|
|||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+curl +gsl +mpfr +ncurses plotutils postgres +readline"
|
||||
|
||||
RDEPEND="
|
|
@ -2,6 +2,7 @@ DIST boogie-3.2.4.tar.gz 2067404 BLAKE2B 3c7edfa3c78335f587e9b3216599c2ffef639ba
|
|||
DIST boogie-3.2.5.tar.gz 2067333 BLAKE2B 2014351c53fa9a7fcea6cc11f8d236b398b9f44acf0ff388e45a9e3b3e306963b939c45619c4227d398100ab52d6deebaeb5a5d668047cd6d5e631b058f89a07 SHA512 92896489f82ee158b851b3579b363e43dc69c3490815e9f1ba17da115fd6f6f7264e4fcf8388b5dd1891c8ff63514df6ec037454029fb80c5db71381c4d4e8a9
|
||||
DIST boogie-3.3.0.tar.gz 2072702 BLAKE2B 1731c4e32ddbc3d311f3eea5d12946008060fb7fa99b16b40699e0126417b18d6bc9f66343d8870b699a39a7dd9f7fca10d7e1660c5d154193a7d87206c6fc95 SHA512 4c9c19c7b7188a0ff39bb9fd56625d5b3ef97d857e5686fc850ea060470aaef3fafc5bf50e1eb8cde13b6b1d01a2e3450db38c77bd79ca48f663e42464c1bad1
|
||||
DIST boogie-3.3.2.tar.gz 2071625 BLAKE2B 2a9dda5e44c283279b3affe97963ba00434a9fcc235e375b8ddfaafa31c2ee2d81a3f0226155ef1759f368a45c72102b62f8cc6389040df21acce9f50d7751d4 SHA512 15023fedad93750d03b15a5baeca3374d8ad711a5020933e9c4217840c851cc1710ca1c77476afe1487521f02eebc5c5bd12e6044aaa369636c3d4ccffb816df
|
||||
DIST boogie-3.3.3.tar.gz 2067837 BLAKE2B 36e004327cccf74326e650aff8f9d059b285510a7be0d426a9baf9a49e585ffd720fc03d7716c848ad7024971195d99de2203a7c87d88edcbdc7fc76afa50c66 SHA512 b50154b880063df408694e59d21887d82a6885fc124971e9cf5194cd82ef6c9384e6579aff38d524663c3b504f7bea20fc216de6ee4bfdff17b41e5d7a78e47a
|
||||
DIST microsoft.bcl.asyncinterfaces.6.0.0.nupkg 76354 BLAKE2B aca3f5db71e4037dbdd604aeaebcd0962ccc171915b77b4c409ab744bf0a469c7d588f9504fc7fa49e3863e9593b66b4083235cb49e812d1f87b3dadb32e6003 SHA512 221a05a0c910f7a87b620d8f3831ed392b4eb95d112bee274d35f27009ad2a26445de9d7cd235fe6fb4a03f2550874bda3be3dddd96edaf9c0852a9c23d7b099
|
||||
DIST microsoft.codecoverage.16.2.0.nupkg 3133582 BLAKE2B 418cf403247d594cde0d827f8ca8690019a7631525f07993937085f4bbf8473364b4c99aea6e8b7b0020208d15fe0da63f0f4e69c273493c51ae011e8bd82667 SHA512 91f1d43fc038a20f5367d9aab669105dc7514dfbe749260b52789c09a75abcc6bdc000ee0c7f432231d4cc09e99bf5b863dd6289d813342f74d9dad23a651625
|
||||
DIST microsoft.csharp.4.0.1.nupkg 462346 BLAKE2B 209ccebc9103b803d26ea1f0232245c3cd231078b03a83a0011a2a79a1a8a324a72c5b3fda94b2686fff170932f366e165f81a36a70df590a39c45d70778e4be SHA512 c0e75a9162f28ba4c4572c8fac4fd4c8c97d6d3505a37683646ba5f7e5f6ac0da69d5200d2646054de90e8e08f893a10e514591b69b8273640842b2cf90bddec
|
||||
|
|
309
dev-lang/boogie/boogie-3.3.3.ebuild
Normal file
309
dev-lang/boogie/boogie-3.3.3.ebuild
Normal file
|
@ -0,0 +1,309 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DOTNET_PKG_COMPAT="8.0"
|
||||
NUGETS="
|
||||
microsoft.bcl.asyncinterfaces@6.0.0
|
||||
microsoft.codecoverage@16.2.0
|
||||
microsoft.csharp@4.0.1
|
||||
microsoft.dotnet.internalabstractions@1.0.0
|
||||
microsoft.net.test.sdk@16.2.0
|
||||
microsoft.netcore.platforms@1.0.1
|
||||
microsoft.netcore.platforms@1.1.0
|
||||
microsoft.netcore.targets@1.0.1
|
||||
microsoft.netcore.targets@1.1.0
|
||||
microsoft.testplatform.objectmodel@16.2.0
|
||||
microsoft.testplatform.testhost@16.2.0
|
||||
microsoft.win32.primitives@4.0.1
|
||||
microsoft.win32.primitives@4.3.0
|
||||
microsoft.win32.registry@4.0.0
|
||||
microsoft.win32.registry@4.3.0
|
||||
microsoft.win32.systemevents@6.0.0
|
||||
netstandard.library@1.6.0
|
||||
netstandard.library@2.0.0
|
||||
newtonsoft.json@9.0.1
|
||||
nunit@3.12.0
|
||||
nunit3testadapter@3.15.1
|
||||
runtime.any.system.collections@4.3.0
|
||||
runtime.any.system.diagnostics.tools@4.3.0
|
||||
runtime.any.system.diagnostics.tracing@4.3.0
|
||||
runtime.any.system.globalization.calendars@4.3.0
|
||||
runtime.any.system.globalization@4.3.0
|
||||
runtime.any.system.io@4.3.0
|
||||
runtime.any.system.reflection.extensions@4.3.0
|
||||
runtime.any.system.reflection.primitives@4.3.0
|
||||
runtime.any.system.reflection@4.3.0
|
||||
runtime.any.system.resources.resourcemanager@4.3.0
|
||||
runtime.any.system.runtime.handles@4.3.0
|
||||
runtime.any.system.runtime.interopservices@4.3.0
|
||||
runtime.any.system.runtime@4.3.0
|
||||
runtime.any.system.text.encoding.extensions@4.3.0
|
||||
runtime.any.system.text.encoding@4.3.0
|
||||
runtime.any.system.threading.tasks@4.3.0
|
||||
runtime.any.system.threading.timer@4.3.0
|
||||
runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.native.system.io.compression@4.1.0
|
||||
runtime.native.system.net.http@4.0.1
|
||||
runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.native.system.security.cryptography@4.0.0
|
||||
runtime.native.system@4.0.0
|
||||
runtime.native.system@4.3.0
|
||||
runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl@4.3.0
|
||||
runtime.unix.microsoft.win32.primitives@4.3.0
|
||||
runtime.unix.system.console@4.3.0
|
||||
runtime.unix.system.diagnostics.debug@4.3.0
|
||||
runtime.unix.system.io.filesystem@4.3.0
|
||||
runtime.unix.system.net.primitives@4.3.0
|
||||
runtime.unix.system.net.sockets@4.3.0
|
||||
runtime.unix.system.private.uri@4.3.0
|
||||
runtime.unix.system.runtime.extensions@4.3.0
|
||||
system.appcontext@4.1.0
|
||||
system.buffers@4.0.0
|
||||
system.buffers@4.3.0
|
||||
system.collections.concurrent@4.0.12
|
||||
system.collections.immutable@1.2.0
|
||||
system.collections.nongeneric@4.0.1
|
||||
system.collections.nongeneric@4.3.0
|
||||
system.collections.specialized@4.0.1
|
||||
system.collections.specialized@4.3.0
|
||||
system.collections@4.0.11
|
||||
system.collections@4.3.0
|
||||
system.componentmodel.eventbasedasync@4.0.11
|
||||
system.componentmodel.eventbasedasync@4.3.0
|
||||
system.componentmodel.primitives@4.1.0
|
||||
system.componentmodel.primitives@4.3.0
|
||||
system.componentmodel.typeconverter@4.1.0
|
||||
system.componentmodel.typeconverter@4.3.0
|
||||
system.componentmodel@4.0.1
|
||||
system.componentmodel@4.3.0
|
||||
system.configuration.configurationmanager@6.0.0
|
||||
system.console@4.0.0
|
||||
system.diagnostics.debug@4.0.11
|
||||
system.diagnostics.debug@4.3.0
|
||||
system.diagnostics.diagnosticsource@4.0.0
|
||||
system.diagnostics.process@4.1.0
|
||||
system.diagnostics.process@4.3.0
|
||||
system.diagnostics.textwritertracelistener@4.0.0
|
||||
system.diagnostics.tools@4.0.1
|
||||
system.diagnostics.tracesource@4.0.0
|
||||
system.diagnostics.tracing@4.1.0
|
||||
system.diagnostics.tracing@4.3.0
|
||||
system.drawing.common@6.0.0
|
||||
system.dynamic.runtime@4.0.11
|
||||
system.globalization.calendars@4.0.1
|
||||
system.globalization.extensions@4.0.1
|
||||
system.globalization.extensions@4.3.0
|
||||
system.globalization@4.0.11
|
||||
system.globalization@4.3.0
|
||||
system.io.compression.zipfile@4.0.1
|
||||
system.io.compression@4.1.0
|
||||
system.io.filesystem.primitives@4.0.1
|
||||
system.io.filesystem.primitives@4.3.0
|
||||
system.io.filesystem@4.0.1
|
||||
system.io.filesystem@4.3.0
|
||||
system.io@4.1.0
|
||||
system.io@4.3.0
|
||||
system.linq.async@6.0.1
|
||||
system.linq.expressions@4.1.0
|
||||
system.linq@4.1.0
|
||||
system.linq@4.3.0
|
||||
system.net.http@4.1.0
|
||||
system.net.nameresolution@4.3.0
|
||||
system.net.primitives@4.0.11
|
||||
system.net.sockets@4.1.0
|
||||
system.objectmodel@4.0.12
|
||||
system.private.datacontractserialization@4.1.1
|
||||
system.private.uri@4.3.0
|
||||
system.reactive@4.4.1
|
||||
system.reflection.emit.ilgeneration@4.0.1
|
||||
system.reflection.emit.lightweight@4.0.1
|
||||
system.reflection.emit@4.0.1
|
||||
system.reflection.extensions@4.0.1
|
||||
system.reflection.extensions@4.3.0
|
||||
system.reflection.metadata@1.3.0
|
||||
system.reflection.primitives@4.0.1
|
||||
system.reflection.primitives@4.3.0
|
||||
system.reflection.typeextensions@4.1.0
|
||||
system.reflection.typeextensions@4.3.0
|
||||
system.reflection@4.1.0
|
||||
system.reflection@4.3.0
|
||||
system.resources.resourcemanager@4.0.1
|
||||
system.resources.resourcemanager@4.3.0
|
||||
system.runtime.caching@6.0.0
|
||||
system.runtime.extensions@4.1.0
|
||||
system.runtime.extensions@4.3.0
|
||||
system.runtime.handles@4.0.1
|
||||
system.runtime.handles@4.3.0
|
||||
system.runtime.interopservices.runtimeinformation@4.0.0
|
||||
system.runtime.interopservices.runtimeinformation@4.3.0
|
||||
system.runtime.interopservices@4.1.0
|
||||
system.runtime.interopservices@4.3.0
|
||||
system.runtime.loader@4.0.0
|
||||
system.runtime.numerics@4.0.1
|
||||
system.runtime.serialization.json@4.0.2
|
||||
system.runtime.serialization.primitives@4.1.1
|
||||
system.runtime@4.1.0
|
||||
system.runtime@4.3.0
|
||||
system.security.accesscontrol@6.0.0
|
||||
system.security.claims@4.3.0
|
||||
system.security.cryptography.algorithms@4.2.0
|
||||
system.security.cryptography.cng@4.2.0
|
||||
system.security.cryptography.csp@4.0.0
|
||||
system.security.cryptography.encoding@4.0.0
|
||||
system.security.cryptography.openssl@4.0.0
|
||||
system.security.cryptography.primitives@4.0.0
|
||||
system.security.cryptography.protecteddata@6.0.0
|
||||
system.security.cryptography.x509certificates@4.1.0
|
||||
system.security.permissions@6.0.0
|
||||
system.security.principal.windows@4.3.0
|
||||
system.security.principal@4.3.0
|
||||
system.text.encoding.extensions@4.0.11
|
||||
system.text.encoding.extensions@4.3.0
|
||||
system.text.encoding@4.0.11
|
||||
system.text.encoding@4.3.0
|
||||
system.text.regularexpressions@4.1.0
|
||||
system.text.regularexpressions@4.3.0
|
||||
system.threading.tasks.extensions@4.0.0
|
||||
system.threading.tasks.extensions@4.3.0
|
||||
system.threading.tasks@4.0.11
|
||||
system.threading.tasks@4.3.0
|
||||
system.threading.thread@4.0.0
|
||||
system.threading.thread@4.3.0
|
||||
system.threading.threadpool@4.0.10
|
||||
system.threading.threadpool@4.3.0
|
||||
system.threading.timer@4.0.1
|
||||
system.threading@4.0.11
|
||||
system.threading@4.3.0
|
||||
system.windows.extensions@6.0.0
|
||||
system.xml.readerwriter@4.0.11
|
||||
system.xml.readerwriter@4.3.0
|
||||
system.xml.xdocument@4.0.11
|
||||
system.xml.xmldocument@4.0.1
|
||||
system.xml.xmldocument@4.3.0
|
||||
system.xml.xmlserializer@4.0.11
|
||||
system.xml.xpath.xmldocument@4.0.1
|
||||
system.xml.xpath.xmldocument@4.3.0
|
||||
system.xml.xpath@4.0.1
|
||||
system.xml.xpath@4.3.0
|
||||
"
|
||||
|
||||
inherit check-reqs dotnet-pkg edo multiprocessing
|
||||
|
||||
DESCRIPTION="SMT-based program verifier"
|
||||
HOMEPAGE="https://github.com/boogie-org/boogie/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/boogie-org/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/boogie-org/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
SRC_URI+=" ${NUGET_URIS} "
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
sci-mathematics/z3
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/OutputCheck
|
||||
dev-python/lit
|
||||
dev-python/psutil
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-3.0.4-disable-analyzers.patch" )
|
||||
|
||||
CHECKREQS_DISK_BUILD="2G"
|
||||
DOTNET_PKG_PROJECTS=( Source/BoogieDriver/BoogieDriver.csproj )
|
||||
DOTNET_PKG_BUILD_EXTRA_ARGS=( -p:RollForward=Major )
|
||||
|
||||
pkg_setup() {
|
||||
check-reqs_pkg_setup
|
||||
dotnet-pkg_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
dotnet-pkg_src_unpack
|
||||
|
||||
if [[ -n "${EGIT_REPO_URI}" ]] ; then
|
||||
git-r3_src_unpack
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Remove bad tests.
|
||||
local -a bad_tests=(
|
||||
civl/inductive-sequentialization/BroadcastConsensus.bpl
|
||||
civl/inductive-sequentialization/ChangRoberts.bpl
|
||||
civl/inductive-sequentialization/PingPong.bpl
|
||||
civl/large-samples/GC.bpl
|
||||
civl/large-samples/verified-ft.bpl
|
||||
civl/paxos/is.sh
|
||||
civl/samples/reserve.bpl
|
||||
civl/samples/treiber-stack.bpl
|
||||
havoc0/MouseClassFindMorePorts.bpl
|
||||
inst/vector-generic.bpl
|
||||
inst/vector.bpl
|
||||
livevars/stack_overflow.bpl
|
||||
prover/cvc5-offline.bpl
|
||||
prover/cvc5.bpl
|
||||
prover/exitcode.bpl
|
||||
prover/z3-hard-timeout.bpl
|
||||
prover/z3mutl.bpl
|
||||
snapshots/runtest.snapshot
|
||||
test15/CaptureInlineUnroll.bpl
|
||||
test2/Timeouts0.bpl
|
||||
test2/git-issue-366.bpl
|
||||
test21/InterestingExamples4.bpl
|
||||
)
|
||||
local bad_test
|
||||
for bad_test in "${bad_tests[@]}" ; do
|
||||
rm "${S}/Test/${bad_test}" || ewarn "Failed to remove test: ${bad_test}"
|
||||
done
|
||||
|
||||
# Update the boogieBinary variable.
|
||||
sed "/^boogieBinary/s|= .*|= '${DOTNET_PKG_OUTPUT}/BoogieDriver.dll'|" \
|
||||
-i "${S}/Test/lit.site.cfg" || die "failed to update lit.site.cfg"
|
||||
|
||||
dotnet-pkg_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
einfo "Starting tests using the lit test tool."
|
||||
local -a lit_opts=(
|
||||
--order="lexical"
|
||||
--time-tests
|
||||
--timeout="1800" # Let one test take no more than half a hour.
|
||||
--verbose
|
||||
--workers="$(makeopts_jobs)"
|
||||
)
|
||||
edo lit "${lit_opts[@]}" "${S}/Test"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dotnet-pkg-base_install
|
||||
dotnet-pkg-base_dolauncher "/usr/share/${P}/BoogieDriver" "${PN}"
|
||||
|
||||
einstalldocs
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
DIST ispc-1.24.0.gh.tar.gz 19674211 BLAKE2B 246a079f03fa17f1ab4d80c55b992e92f44d5395e3f1feadee90c773771496ead4de0671b3869c70d5a93038d7c0ccaf9ed3ad5b5e40eb156d605a73150b15d9 SHA512 ad9feab1b5986471a52c775c1220ae46904ae952b33a14299f525eb03e004c6e1395dd171ddedee833892d57ad195ffddb234b26a2df42138fb1b2364b62803e
|
||||
DIST ispc-1.25.0.gh.tar.gz 19805576 BLAKE2B 02daf70f7a7a0bbaf35799620f3475da117b42f2fb09ec2799c47617108b55e68cd241321d14bbbbf8968d48de38e98bd44565f967dfa97b7a66c87c32acedfb SHA512 0d5c23ce1e57f38a7563b1d2c4813cbb5aa082f19257d3831f8cef8f6bb51d0c8b9ecce142497c13015b64731c98afb0b13ebc80663c83ded9b005e1e1608fd5
|
||||
|
|
95
dev-lang/ispc/ispc-1.25.0.ebuild
Normal file
95
dev-lang/ispc/ispc-1.25.0.ebuild
Normal file
|
@ -0,0 +1,95 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
LLVM_COMPAT=( {17..19} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit cmake llvm-r1 multiprocessing python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Intel SPMD Program Compiler"
|
||||
HOMEPAGE="
|
||||
https://ispc.github.io/
|
||||
https://github.com/ispc/ispc/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/ispc/ispc/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD BSD-2 UoI-NCSA"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE="examples gpu openmp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
$(llvm_gen_dep '
|
||||
sys-devel/clang:${LLVM_SLOT}
|
||||
')
|
||||
sys-libs/ncurses:=
|
||||
gpu? ( dev-libs/level-zero:= )
|
||||
!openmp? ( dev-cpp/tbb:= )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
app-alternatives/yacc
|
||||
app-alternatives/lex
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
|
||||
llvm-r1_pkg_setup
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# do not require bundled gtest
|
||||
mkdir -p ispcrt/tests/vendor/google/googletest || die
|
||||
cat > ispcrt/tests/vendor/google/googletest/CMakeLists.txt <<-EOF || die
|
||||
find_package(GTest)
|
||||
EOF
|
||||
# remove hacks that break unbundling
|
||||
sed -i -e '/gmock/d' -e '/install/,$d' ispcrt/tests/CMakeLists.txt || die
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DARM_ENABLED=$(usex arm)
|
||||
-DCMAKE_SKIP_RPATH=ON
|
||||
-DISPC_INCLUDE_EXAMPLES=OFF
|
||||
-DISPC_INCLUDE_TESTS=$(usex test)
|
||||
-DISPC_INCLUDE_UTILS=OFF
|
||||
-DISPCRT_BUILD_GPU=$(usex gpu)
|
||||
-DISPCRT_BUILD_TASK_MODEL=$(usex openmp OpenMP TBB)
|
||||
# prevent it from trying to find the git repo
|
||||
-DGIT_BINARY=GIT_BINARY-NOTFOUND
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Inject path to prevent using system ispc
|
||||
local -x PATH="${BUILD_DIR}/bin:${PATH}"
|
||||
"${EPYTHON}" ./scripts/run_tests.py "-j$(makeopts_jobs)" -v ||
|
||||
die "Testing failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use examples; then
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=8
|
||||
|
||||
inherit vcs-clean
|
||||
inherit flag-o-matic vcs-clean
|
||||
|
||||
PATCHSET_VER="1"
|
||||
MY_P=mercury-srcdist-${PV}
|
||||
|
@ -191,6 +191,12 @@ src_prepare() {
|
|||
}
|
||||
|
||||
src_compile() {
|
||||
# ccJwDryZ.ltrans0.ltrans.o:(.data.rel.ro.local+0x330): undefined reference to `<unification predicate for type 'align_right.squeeze'/0 mode 0>'
|
||||
# https://bugs.gentoo.org/855638
|
||||
#
|
||||
# Custom language-specific compiler infrastructure, the main mercury compiler cannot handle LTO either.
|
||||
filter-lto
|
||||
|
||||
for mercury_pkg in $(mercury_pkgs); do
|
||||
mercury_pkg_compile ${mercury_pkg}
|
||||
done
|
||||
|
|
|
@ -33,7 +33,12 @@ RDEPEND="${COMMON_DEP}
|
|||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
java? ( >=virtual/jre-1.8:* )"
|
||||
|
||||
BDEPEND="test? ( sys-libs/timezone-data )"
|
||||
# specifically verifies that you are not using generic lex/yacc
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
test? ( sys-libs/timezone-data )
|
||||
"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
|
@ -51,6 +56,11 @@ src_prepare() {
|
|||
src_configure() {
|
||||
strip-flags
|
||||
|
||||
# machdeps/x86_64_regs.h:37:25: error: global register variable follows a function definition
|
||||
# https://bugs.gentoo.org/924767
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68384
|
||||
filter-lto
|
||||
|
||||
local myconf
|
||||
myconf="--libdir=/usr/$(get_libdir) \
|
||||
$(use_enable mono csharp-grade) \
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
DIST nprolog-1.94.tar.gz 128172 BLAKE2B b3a2de8e5e247bce55fc6eabbd06dddee1d42d8d993b38a2effb505647e5a4a60f89f85f14be4e469d81b5488b4494e0a45c2672b2ba00b8f06ae0545951d08e SHA512 7db39847ecfa91b65fad1e035ddb9267856726adc9741a76fdd088c8f678ba8e98eef3890283b543d345a9441dabada4038984e12709898c6887a186a19136c9
|
||||
DIST nprolog-3.22.tar.gz 586822 BLAKE2B ac2e3e468de38c9d503c4670fd6aa5c61b93cca3f44fbd8f3668cd070563615d3567e009141f52577352a231d8f8d2713f2fc85979ff7ebd383817e8bbd0a610 SHA512 5f80d4fc9d08172d8555c57c4dd466037b0c878ff13c20b413f45859a614c1fed8ed3e4c75f68a2b9309fd09601d1ca56fb66a3f2a14d6378d194e85f8873cad
|
||||
DIST nprolog-3.30.tar.gz 593861 BLAKE2B 878082729facd8dc74e1d0c8c9c7158b40446172f449915c1799fe1061c9d812fad61fe89d9f6da4e5a51f0dd8e9fed571e8b36f3342b7906de79be34697bee4 SHA512 7837a43328b5285f8184147f93add1135331ae768ceccf6259ce9d694f6bf0f0fea9ca004ec6f7c6d3c43d3c58be61eb016dbb5834fa3fd685ebb3c600c6342d
|
||||
DIST nprolog-3.31.tar.gz 594055 BLAKE2B e83b3ef0a77851c93a5b549ef35ea1974f12ea16854c264295ac69a249a1b3c51c11902a7f94d85c829c8584e442588b78e236d10869ee1824f5f577dbe1d5c1 SHA512 5bcf5f42ccf0fdc3731f58618295bb18249012f5b4bb73612ca70f088c6f6a9bb515a8c0e3b365cc201486c2e191e0471d7b94beed055a848bad382f0c068a55
|
||||
DIST nprolog-3.32.tar.gz 595875 BLAKE2B e703cf1851cc1f1e6b07fdbb2f28e42c42f3f11cf1f64dbace2d3a264177c80454fda2457b8ba6f49af025ec05e6cfc0fa00b110cb0d70a39e820c7c621e2eb8 SHA512 21114f89e0e29cd0a08b45580f29eb490abdadbedd5ff500aeef2ee73f5ca321ec3617f27770072e72e71bf5e682db6759802d0590ed51b638e0e00c6a198ad0
|
||||
DIST nprolog-3.33.tar.gz 596505 BLAKE2B 115593f8169f9937ccc0945756c1e3d48b2325efeb011514f3b5432b7f868f9fc0421143669157be12e58ec67ebc05015a096a791c8b4fa538b70e957ada15f6 SHA512 dcc6a9c5120662b3ea0b2e1f9e8dc2bcd5b56492a30edc7577ae424d41b4377836e02cf3a5eb5a7273c84c00d876be44d623e1ac8d67b6422e65580037d8b781
|
||||
|
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Interpreter and compiler to be compatible with Arity/Prolog32"
|
||||
HOMEPAGE="https://github.com/sasagawa888/nprolog/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/sasagawa888/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/sasagawa888/nprolog/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-3.22-ncursesw.patch" )
|
||||
|
||||
DOCS=( README{,-ja}.md document )
|
||||
|
||||
src_prepare() {
|
||||
if [[ -f edlog ]] ; then
|
||||
rm edlog || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe npl
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r example library
|
||||
|
||||
einstalldocs
|
||||
}
|
|
@ -1,49 +0,0 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Interpreter and compiler to be compatible with Arity/Prolog32"
|
||||
HOMEPAGE="https://github.com/sasagawa888/nprolog/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/sasagawa888/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/sasagawa888/nprolog/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-3.22-ncursesw.patch" )
|
||||
|
||||
DOCS=( README{,-ja}.md document )
|
||||
|
||||
src_prepare() {
|
||||
if [[ -f edlog ]] ; then
|
||||
rm edlog || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/bin
|
||||
doexe npl
|
||||
|
||||
insinto "/usr/share/${PN}"
|
||||
doins -r example library
|
||||
|
||||
einstalldocs
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue