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 6DEB6138359 for ; Mon, 3 Aug 2020 11:18:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9541DE091D; Mon, 3 Aug 2020 11:18:34 +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 76E36E091D for ; Mon, 3 Aug 2020 11:18:34 +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 270E034F007 for ; Mon, 3 Aug 2020 11:18:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 972242F3 for ; Mon, 3 Aug 2020 11:18:31 +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: <1596453509.9f9cb6384282d814e68022fe2ab03445ab1b7d32.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-1.6.0.ebuild X-VCS-Directories: dev-util/cvise/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 9f9cb6384282d814e68022fe2ab03445ab1b7d32 X-VCS-Branch: master Date: Mon, 3 Aug 2020 11:18:31 +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: 46ec9813-72da-44eb-86e0-056bf1871769 X-Archives-Hash: 7ea51c757b3c800eeffa2b7809e1f121 commit: 9f9cb6384282d814e68022fe2ab03445ab1b7d32 Author: Michał Górny gentoo org> AuthorDate: Mon Aug 3 11:15:28 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Aug 3 11:18:29 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f9cb638 dev-util/cvise: Bump to 1.6.0 Signed-off-by: Michał Górny gentoo.org> dev-util/cvise/Manifest | 1 + dev-util/cvise/cvise-1.6.0.ebuild | 59 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/dev-util/cvise/Manifest b/dev-util/cvise/Manifest index d2add3abf8e..7f952238977 100644 --- a/dev-util/cvise/Manifest +++ b/dev-util/cvise/Manifest @@ -1 +1,2 @@ DIST cvise-1.1.0.tar.gz 228867 BLAKE2B 08becb5ad00ef08a1f511c0bdb0cb649af1406dd035fe61f737ec6dfb5151215ae363272fc3676ce76e17234a88866ee1dd0664d82326f3ddb2ced2f1982aacf SHA512 66c09cb7e088fc36b0c36928e2eda19e7bef4fad4573fcedc06f2070136e74d7878f8056f406c2ade22fc465a75bf13dca9f4a1a319cd183187a2d66a441e661 +DIST cvise-1.6.0.tar.gz 243050 BLAKE2B 64c305426dbeaf2e3f3a92a902209b35fcc76b5f5a6d2e48fcc8e24d1325badc0839e70afa1381c6d1412c22a7e9dd41ca03d6ca714fa5082958378cc8863000 SHA512 9d4ee043c34748b600b49ac4f00463b853faff2809f8b581e9b07433a8f3bef4436d0e5d5a9dbff1b2d7c3a8ab1d6d4823e78787eb3e911a683808703b2e24b6 diff --git a/dev-util/cvise/cvise-1.6.0.ebuild b/dev-util/cvise/cvise-1.6.0.ebuild new file mode 100644 index 00000000000..819ee2f921e --- /dev/null +++ b/dev-util/cvise/cvise-1.6.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2020 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-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_test() { + cd "${BUILD_DIR}" || die + pytest -vv || die +}