dev-util/cvise: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-03-10 09:46:29 +01:00
parent a9d95096d9
commit fe06a9f18c
4 changed files with 0 additions and 168 deletions

View File

@@ -1,5 +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
DIST cvise-2.2.0.tar.gz 250169 BLAKE2B ed994a288de750b8eee603cf38641614206c0c322152f061b33600c250f24156bbcb2c660c4ae92ff46f3ad2620ba6557213475b8eab0476baa289b7270e6678 SHA512 c54908784d15cb38fe58b731f65ed719a8c073a208d48d7a756acbbaa3804f052963e0ef0f74b811ba77bd3d5e900b622491c7c62c48eb2d7aef708edbec3eb2
DIST cvise-2.3.0.tar.gz 250283 BLAKE2B 361bcafd2ec9caf42c77abd2a5bbd145cd350d9693178a59720a2a2d1d726e85860d92725a00ce3dae7041e8b47b584bf4c3a5e8b5c0c0a8283a15f8117125f3 SHA512 6c65b1462b20974d76e54b76e15e592a76445da2b8627a29a98ae295417239171267ed163d04a11eeaae25d068b44548cdad0b642e7024c49a5a15f3c0894b1b

View File

@@ -1,64 +0,0 @@
# 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_{7..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=11
DEPEND="
|| (
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::' setup.cfg || die
cmake_src_prepare
}
src_test() {
cd "${BUILD_DIR}" || die
pytest -vv || die
}

View File

@@ -1,68 +0,0 @@
# 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_{7..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=11
DEPEND="
|| (
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}]
')
)"
PATCHES=(
"${FILESDIR}"/${P}-shebang.patch
)
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
}

View File

@@ -1,34 +0,0 @@
From 492d2d759d35bec39aca137906046b76151b56d1 Mon Sep 17 00:00:00 2001
From: Martin Liska <mliska@suse.cz>
Date: Sun, 15 Nov 2020 12:12:04 +0100
Subject: [PATCH] Add Leap 15 and fix shebang.
---
build_and_test.sh | 2 +-
cvise.py | 2 +-
4 files changed, 22 insertions(+), 2 deletions(-)
create mode 100644 Docker/Dockerfile-opensuselp15-llvm9
diff --git a/build_and_test.sh b/build_and_test.sh
index 95c1539..b726dd4 100755
--- a/build_and_test.sh
+++ b/build_and_test.sh
@@ -1,4 +1,4 @@
-#!/usr/bin/bash
+#!/bin/bash
BUILD_TYPE=$1
diff --git a/cvise.py b/cvise.py
index 15efaf6..7f318f2 100755
--- a/cvise.py
+++ b/cvise.py
@@ -260,7 +260,7 @@ def get_available_pass_groups():
script = None
if args.commands:
with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.sh') as script:
- script.write('#!/usr/bin/bash\n\n')
+ script.write('#!/bin/bash\n\n')
script.write(args.commands + '\n')
os.chmod(script.name, 0o744)
logging.info('Using temporary interestingness test: %s' % script.name)