From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 22663158041 for ; Fri, 15 Mar 2024 06:24:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A393E29CB; Fri, 15 Mar 2024 06:24:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 27845E29CB for ; Fri, 15 Mar 2024 06:24:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 45C1D33BF3C for ; Fri, 15 Mar 2024 06:24:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A829D14A8 for ; Fri, 15 Mar 2024 06:24:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1710483853.0e12be7f01b9a372c50a380f33b92f516fddbc85.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cvise/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cvise/Manifest dev-util/cvise/cvise-2.10.0.ebuild X-VCS-Directories: dev-util/cvise/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0e12be7f01b9a372c50a380f33b92f516fddbc85 X-VCS-Branch: master Date: Fri, 15 Mar 2024 06:24:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d05a9726-20bb-4f6b-af78-c87f440bcc58 X-Archives-Hash: 6fc563a67db9a7b5fb0d94a5b6aa1f94 commit: 0e12be7f01b9a372c50a380f33b92f516fddbc85 Author: Sam James gentoo org> AuthorDate: Fri Mar 15 06:19:37 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Mar 15 06:24:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e12be7f dev-util/cvise: add 2.10.0 Signed-off-by: Sam James gentoo.org> dev-util/cvise/Manifest | 1 + dev-util/cvise/cvise-2.10.0.ebuild | 70 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-util/cvise/Manifest b/dev-util/cvise/Manifest index 1cdc6c594038..252b69a3371d 100644 --- a/dev-util/cvise/Manifest +++ b/dev-util/cvise/Manifest @@ -1,2 +1,3 @@ +DIST cvise-2.10.0.tar.gz 270839 BLAKE2B 36f54cbfe8eab0c2d64a4d2d482f558cb9e32ccce0b0c03923f62b682e33941ab37a57a1c51a4173a22e2ad9e59fec3256469e1b19baaea0446caa56877ea056 SHA512 31950f8731f7a8d6b9568be621b14d1f976a71ed0a6caef0cdcc0d31c99eca86c03913e2949f1f4e21a66fbe1618341f5daaff01da51b426b4ce0e6518479281 DIST cvise-2.8.0.tar.gz 269582 BLAKE2B fe0f0d4e63ec7c69b209b8be1f3fd160a2573b9bfc555a3bb5caec5c818c8251569103e71509d194e0effc86c09420cf523393686dd412660acde1e85ebffb67 SHA512 7e2dee2001aacb96cf5ffdb62047d229e23273fd26f34648e23ab4374bf6cae149f13db529494ce8d2d16555a0d2143487923c57f4b303b0ab1f678ffcff6f6e DIST cvise-2.9.0.tar.gz 269921 BLAKE2B d3b491316ea4ec5b623eeba0131f31edb421635508786a04868394c9bdc62c4510c34bd30095c5b034fa66ec5f8f6f78bb762e17f1c534ba137eb469544ddafe SHA512 dd3b2e5c4603e8a73594863ce5b83d0ca864fc688a7b094c84b745b7086d384173809b9a915edb51938a7df8310eabbde1ea6a997c480d19618065c0d8270c52 diff --git a/dev-util/cvise/cvise-2.10.0.ebuild b/dev-util/cvise/cvise-2.10.0.ebuild new file mode 100644 index 000000000000..1c98f566efb0 --- /dev/null +++ b/dev-util/cvise/cvise-2.10.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +LLVM_COMPAT=( {16..18} ) +inherit cmake llvm-r1 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} + +DEPEND=" + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + sys-devel/llvm:${LLVM_SLOT} + ') +" +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 + app-alternatives/lex +" +BDEPEND=" + ${PYTHON_DEPS} + app-alternatives/lex + test? ( + $(python_gen_cond_dep ' + dev-python/pebble[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + ') + ) +" + +pkg_setup() { + python-single-r1_pkg_setup + llvm-r1_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 +}