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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6C1201382C5 for ; Mon, 11 Jan 2021 11:40:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95AD8E09A7; Mon, 11 Jan 2021 11:40:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 214B4E09A7 for ; Mon, 11 Jan 2021 11:40:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E2B9340D7B for ; Mon, 11 Jan 2021 11:40:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DECFAB8 for ; Mon, 11 Jan 2021 11:40:45 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1610365243.58804ea9765a4ef30bd4748cd7a1779df0cac44d.mgorny@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.1.0.ebuild X-VCS-Directories: dev-util/cvise/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 58804ea9765a4ef30bd4748cd7a1779df0cac44d X-VCS-Branch: master Date: Mon, 11 Jan 2021 11:40:45 +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: 1c385883-7523-4cf4-b77e-141b3eca8a37 X-Archives-Hash: f0200dd20d2d0569f25860af55024ad2 commit: 58804ea9765a4ef30bd4748cd7a1779df0cac44d Author: Michał Górny gentoo org> AuthorDate: Mon Jan 11 11:02:54 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jan 11 11:40:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58804ea9 dev-util/cvise: Bump to 2.1.0 Signed-off-by: Michał Górny gentoo.org> dev-util/cvise/Manifest | 1 + dev-util/cvise/cvise-2.1.0.ebuild | 65 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/dev-util/cvise/Manifest b/dev-util/cvise/Manifest index 7365c118146..262ee4b4ea2 100644 --- a/dev-util/cvise/Manifest +++ b/dev-util/cvise/Manifest @@ -1,2 +1,3 @@ DIST cvise-1.9.0.tar.gz 249042 BLAKE2B 357d429afc43691e616dba31621d1de89fb1f85fcbc177847b3367aac993ccd2c3bec20226e910a319d5d6194b32d0be9704e4fa7b8fce49f23788d10a378012 SHA512 518c48b7b9d9af9b856bfc46d4fb8064bca3730735bdabf2b3aa981a3f743fa6988594b7cbe39da71ac01fbadb4a45e5212d7c79b510fa36d86055978829495b DIST cvise-2.0.0.tar.gz 249307 BLAKE2B ba1a70da71706969a35b1223ad0c0fa1a1d4caf7f70eef184adc4dbc69586be6a33bdf11d7c1b606ea4b20d4cd2bf68170aabc1764364c235fe5f67182419080 SHA512 e49ca9919ced9db67b16af4b8a7cd3c18c7d96dea5724c9ee6d60736c8f34074d68ade151be702794c93b24943d167278e1c1a6e6f67a9a1422f695f3a177e46 +DIST cvise-2.1.0.tar.gz 249215 BLAKE2B e36def48de68dfb91990fd1daced56ae5fc9a32070bae3a696e7c21980757e30ccc8ef2d4940c391a72417296968f0dad680ffe6ca3c88104f09839d86174e27 SHA512 bc239ddb207bc6bb70d1a131df7ca0c13c4a3921382613aebb319f1cb1d5f19be273e82945e4f1c9479eaeac07bbb8a9c4c7f515e0474fe6bede84afd20b560c diff --git a/dev-util/cvise/cvise-2.1.0.ebuild b/dev-util/cvise/cvise-2.1.0.ebuild new file mode 100644 index 00000000000..11c99cb7378 --- /dev/null +++ b/dev-util/cvise/cvise-2.1.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +: ${CMAKE_MAKEFILE_GENERATOR=ninja} +PYTHON_COMPAT=( python3_{6..9} ) +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 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +LLVM_MAX_SLOT=12 +DEPEND=" + || ( + sys-devel/clang:12 + sys-devel/clang:11 + sys-devel/clang:10 + ) + <=sys-devel/clang-$(( LLVM_MAX_SLOT + 1 )):=" +RDEPEND="${DEPEND} + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + 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:-n auto::' -e 's:--flake8::' setup.cfg || die + cmake_src_prepare +} + +src_test() { + cd "${BUILD_DIR}" || die + pytest -vv || die +}