diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-07 22:21:54 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-07 22:21:54 +0000 |
commit | 06dcf64674a43718324bffee383625d2cd050b75 (patch) | |
tree | 4de58e857f3f0718fef4fc386e42577c2f4c9478 /dev-util | |
parent | 198bd0cd3c1be97f7deb5283fa00048718482de4 (diff) |
gentoo auto-resync : 07:11:2023 - 22:21:54
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/Manifest.gz | bin | 69601 -> 69611 bytes | |||
-rw-r--r-- | dev-util/cvise/Manifest | 4 | ||||
-rw-r--r-- | dev-util/cvise/cvise-2.9.0.ebuild | 78 | ||||
-rw-r--r-- | dev-util/cvise/metadata.xml | 5 | ||||
-rw-r--r-- | dev-util/patchelf/Manifest | 3 | ||||
-rw-r--r-- | dev-util/patchelf/files/patchelf-0.18.0-alpha.patch | 29 | ||||
-rw-r--r-- | dev-util/patchelf/patchelf-0.18.0.ebuild | 1 |
7 files changed, 117 insertions, 3 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz Binary files differindex 35deca9ea8b7..52df89fb460d 100644 --- a/dev-util/Manifest.gz +++ b/dev-util/Manifest.gz diff --git a/dev-util/cvise/Manifest b/dev-util/cvise/Manifest index bdff45aa11fc..e639e0fe1a41 100644 --- a/dev-util/cvise/Manifest +++ b/dev-util/cvise/Manifest @@ -1,3 +1,5 @@ DIST cvise-2.8.0.tar.gz 269582 BLAKE2B fe0f0d4e63ec7c69b209b8be1f3fd160a2573b9bfc555a3bb5caec5c818c8251569103e71509d194e0effc86c09420cf523393686dd412660acde1e85ebffb67 SHA512 7e2dee2001aacb96cf5ffdb62047d229e23273fd26f34648e23ab4374bf6cae149f13db529494ce8d2d16555a0d2143487923c57f4b303b0ab1f678ffcff6f6e +DIST cvise-2.9.0.tar.gz 269921 BLAKE2B d3b491316ea4ec5b623eeba0131f31edb421635508786a04868394c9bdc62c4510c34bd30095c5b034fa66ec5f8f6f78bb762e17f1c534ba137eb469544ddafe SHA512 dd3b2e5c4603e8a73594863ce5b83d0ca864fc688a7b094c84b745b7086d384173809b9a915edb51938a7df8310eabbde1ea6a997c480d19618065c0d8270c52 EBUILD cvise-2.8.0.ebuild 1439 BLAKE2B c20c9b5bf5915b459ef5f3d453f8d78e9ed81b876a8ad0bf4659bdd10a340cacf11939708f021f5462f382e790ad4743d2a5c55d839d84be2f9fea16eae18d74 SHA512 a8a2d77bdd5a0323ba839331490d966b9ba1ca1d3e16f10e646c6129eeb6077658eccab7c2f3d631ba6ee68d0ad5c88dd51b65340de83998a3c159f9d37c6876 -MISC metadata.xml 245 BLAKE2B 0d66c5259b8438f78cd37b49d129ab6fb8ee85e7c4a5e9e639e5c43b1820c84dacb8f78981d18ca178733cda580d0c7068510d2c2d41c012cfdb60391bc10e4b SHA512 c565241a0813c0bd0e78eb8e32cd8b75e7a023dd5e5b49849ceef3a8d50f035da89fcbd44880a8f32c9ccb05049041e80c97b62e3e396b4a6a4c8f3307ea060c +EBUILD cvise-2.9.0.ebuild 1463 BLAKE2B 436a45f2b58ea78e80145f7b2f5f5a4fb6f7a7d327f79ebe04321fe31f2fbe0d24c2356874427546a328b72d6dc78125de1c8b4a83345b3fc34c7744806df970 SHA512 620298df3c973022ec75b9e6f7bdbb68822664d1f71899b283a23f77cf67023f28f9d2ab15ac045f81b52c7d2dd60d0760431a00744bf377abfc7a8e56194f73 +MISC metadata.xml 339 BLAKE2B 20fe70be5308893c6472158a8e308de12e44b37a1167669d72e3bb1aa628000a43e4cfc9997a56b6e46e34a139fca3cf76492f4e56d1be7747f1c99eba203d2d SHA512 0f4ee363471b584714ac357ba1cb98f5a9b88f45b543dd5f64fc4be1a460a19793b5beeabd019d7a3c74abd1907f3555f6b5a2a2c8325d4ab34adc98d8bc76dd diff --git a/dev-util/cvise/cvise-2.9.0.ebuild b/dev-util/cvise/cvise-2.9.0.ebuild new file mode 100644 index 000000000000..831fbcb1a4f3 --- /dev/null +++ b/dev-util/cvise/cvise-2.9.0.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake llvm python-single-r1 + +DESCRIPTION="Super-parallel Python port of the C-Reduce" +HOMEPAGE="https://github.com/marxin/cvise/" +SRC_URI=" + https://github.com/marxin/cvise/archive/v${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="UoI-NCSA" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +LLVM_MAX_SLOT=17 +DEPEND=" + || ( + sys-devel/clang:17 + sys-devel/clang:16 + sys-devel/clang:15 + sys-devel/clang:14 + ) + <sys-devel/clang-$(( LLVM_MAX_SLOT + 1 )):= +" +RDEPEND=" + ${DEPEND} + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/chardet[${PYTHON_USEDEP}] + dev-python/pebble[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ') + dev-util/unifdef + sys-devel/flex +" +BDEPEND=" + ${PYTHON_DEPS} + sys-devel/flex + test? ( + $(python_gen_cond_dep ' + dev-python/pebble[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') + ) +" + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + python-single-r1_pkg_setup + llvm_pkg_setup +} + +src_prepare() { + sed -i -e 's:-Werror::' -e '/CMAKE_CXX_FLAGS_REL/d' CMakeLists.txt || die + cmake_src_prepare +} + +src_test() { + cd "${BUILD_DIR}" || die + epytest +} + +src_install() { + cmake_src_install + + python_fix_shebang "${ED}"/usr/bin/cvise +} diff --git a/dev-util/cvise/metadata.xml b/dev-util/cvise/metadata.xml index 3e082b31d3c8..34abec55e165 100644 --- a/dev-util/cvise/metadata.xml +++ b/dev-util/cvise/metadata.xml @@ -1,7 +1,10 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="project"> + <email>toolchain@gentoo.org</email> + <name>Gentoo Toolchain Project</name> + </maintainer> <upstream> <remote-id type="github">marxin/cvise</remote-id> </upstream> diff --git a/dev-util/patchelf/Manifest b/dev-util/patchelf/Manifest index 85317c16697c..335287f2da01 100644 --- a/dev-util/patchelf/Manifest +++ b/dev-util/patchelf/Manifest @@ -1,6 +1,7 @@ +AUX patchelf-0.18.0-alpha.patch 1067 BLAKE2B 6c77f5a3341b9ea1189b67f0d7c0e193a56d59369ddb502c7f46c20cb5733c67bf67fb1d00c03022226d9a802068e17776182a01d638a676128da249d4a686fc SHA512 cdcbab70f827d1028109bae4441a0b6c1030884abf2f04ff4ac8e86d8fdce346e68ea91d9c1b5bb8453e01d9bceff31de0ec35571160722a2f7a7658a5b0749e AUX patchelf-glibc-dt-mips-xhash.patch 250 BLAKE2B da297064604c0258ff10515e6ad55b22803ac0c8da215da782ca46433c703a67c3b91dbe573e211886aaa54b1921dfd24a35e395f73cf90935ec456e6607e14f SHA512 d76b9b137c182b5541576834f54d9c89033c4ec1cf7d08fd910eb0d091da32c3a5d8719966c5a7547b77325210bf8696b14bc17a60b2fac608d2eb62208989f6 DIST patchelf-0.17.2.tar.gz 143954 BLAKE2B 7ed684c63955a0b9cfe293fb966f7f08a90c76e8efb2b493eaf3705c57767b31b31e48ab59f39ff1d91b7a4501e6d203e32a40040625a44a7d44113b1320530c SHA512 e5545416d32248d023759457d0a5cd4841d69f39366eb0aa9cfd8a43d2ce372c6e05995bf60ba62bd85c6d98fdece2dbd1e20872e338ef5ac75f11b82ae091b3 DIST patchelf-0.18.0.tar.gz 331312 BLAKE2B e6ce4ec3bd89c280bb37230dbeb566b803f09900006e79f7dba74f138f66e17746d331baea4def6a43163024b3d86aa8dbac9b2c6545ac146298a8b84373d03b SHA512 6a917d7336b1e8c59f42d4cd1dc725df1378d77657fce13cb31547da1d4805b9df8a834a7b8408fda8aa1dbeb37d0cdca74d8698844ea2f44149f800b802dea6 EBUILD patchelf-0.17.2.ebuild 605 BLAKE2B c2700a0b30a9e6456b60dad02c385ac2766132a18c6c0594075536f41aef74f567f7e64d0ad45c09a0fa5f0589ac8ec69d4775e871387ffbfcfd5d0670fef79f SHA512 8e7773568076052a9c06f2d6ecb8efe11f8c867d1163bcabba1e15cace9117eac1dfd45c18ca1fec319f2da8da879c26b2d5431fa6fcce0ec4831d13b8fb7300 -EBUILD patchelf-0.18.0.ebuild 652 BLAKE2B 7df6cdee3a01030bf2a58b6f24fbc24e2bbc1a3181f2a81e0c3d2e6b0ffa7c861433b21fe6788b52a34b8d9b475e208d6040d134a0ffd1e6a19274b9696dd328 SHA512 e6229c8a24069700ebdfc67218a012cc7dd4f635b96f16ace8885ed4f3d8fc0bb0b2c7801485e321c91c3c3cee680a0aa5584f6c74f3265272301e413c83ac8f +EBUILD patchelf-0.18.0.ebuild 692 BLAKE2B 3c3232087baa27697aa168ed65564c39d439c8de7edfbfe279c2a13a00d765519abd266288dd3027fa5b06209612d362ec2731cc1894ceb2e62a2aa91a450cf0 SHA512 aed61cd234464f8c56d4b5f64b11f4aac976c1cc02e8961fabe43ec33d825c44d3a0046a23093fa6e8368ea1d054f6b9645ee95676986fc40754ca2808215d33 MISC metadata.xml 304 BLAKE2B f3c4f3a80192390cdeff546ea23f4a03454f17e4900799e10740420f2e158146a6fd8e02b8f77d07fe38646e23eff734d4a7a8571fa23d738e6c000fbe347ec3 SHA512 4a52dc190d6576ddf580830240cbe20c826b609228cc3ca8014f94ff1759a2b1382294b7d5a0c8e3160e7e7e26d055f82855e40076de3b7e410290e119333927 diff --git a/dev-util/patchelf/files/patchelf-0.18.0-alpha.patch b/dev-util/patchelf/files/patchelf-0.18.0-alpha.patch new file mode 100644 index 000000000000..c546a4dc2e9b --- /dev/null +++ b/dev-util/patchelf/files/patchelf-0.18.0-alpha.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/909738 +https://github.com/NixOS/patchelf/pull/529 +Note this has removed the unit test changes because it involves adding a binary +file which is not supported in portage for now, see +https://bugs.gentoo.org/835964 + +commit dbc9aeaadfd982b2d8a04eb74cbcecb83208844d +Author: matoro <matoro@users.noreply.github.com> +Date: Sat Nov 4 20:01:22 2023 -0400 + + Fix page size on Alpha + + All tests pass. + + Also explicitly specifies -no-pie for executables which should have it + disabled, to be compatible with gccs built with --enable-default-pie. + +diff --git a/src/patchelf.cc b/src/patchelf.cc +index b42111d..b4d4a7d 100644 +--- a/src/patchelf.cc ++++ b/src/patchelf.cc +@@ -367,6 +367,7 @@ unsigned int ElfFile<ElfFileParamNames>::getPageSize() const noexcept + // requirements. There is no authoritative list of these values. The + // current list is extracted from GNU gold's source code (abi_pagesize). + switch (rdi(hdr()->e_machine)) { ++ case EM_ALPHA: + case EM_IA_64: + case EM_MIPS: + case EM_PPC: diff --git a/dev-util/patchelf/patchelf-0.18.0.ebuild b/dev-util/patchelf/patchelf-0.18.0.ebuild index 19d9351a66a2..d5a6cabb6087 100644 --- a/dev-util/patchelf/patchelf-0.18.0.ebuild +++ b/dev-util/patchelf/patchelf-0.18.0.ebuild @@ -14,6 +14,7 @@ LICENSE="GPL-3" PATCHES=( "${FILESDIR}"/${PN}-glibc-dt-mips-xhash.patch + "${FILESDIR}"/${PN}-0.18.0-alpha.patch ) src_prepare() { |