diff --git a/devel/cvise/Makefile b/devel/cvise/Makefile index 61355b46f56b..d50e9dbb22d6 100644 --- a/devel/cvise/Makefile +++ b/devel/cvise/Makefile @@ -1,45 +1,39 @@ PORTNAME= cvise -PORTVERSION= 2.8.0 +PORTVERSION= 2.9.0 DISTVERSIONPREFIX= v CATEGORIES= devel python MAINTAINER= bofh@FreeBSD.org COMMENT= C-Vise is a super-parallel Python port of the C-Reduce WWW= https://github.com/marxin/cvise LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pebble>0:devel/py-pebble@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} RUN_DEPENDS= bash:shells/bash \ ${PYTHON_PKGNAMEPREFIX}pebble>0:devel/py-pebble@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}chardet>0:textproc/py-chardet@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}psutil>0:sysutils/py-psutil@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR} # gcc:lang/gcc # gcc required for tests to pass. framework errors: # Error: lang/gcc should not be depended upon. Instead, use USE_GCC. # but doesn't support gcc as a test only depends # once this is installed, all tests pass for me: # 260 passed, 1 skipped in 64.82 seconds USES= cmake compiler llvm:min=15,build,run python shebangfix USE_GITHUB= yes GH_ACCOUNT= marxin USE_PYTHON= pytest SHEBANG_FILES= cvise-delta.py cvise.py CMAKE_ARGS+= -DLLVM_DIR:PATH=${LLVM_PREFIX}/lib/cmake/llvm CMAKE_ARGS+= -DClang_DIR:PATH=${LLVM_PREFIX}/lib/cmake/clang -post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/cvise.py - -do-test: - cd ${BUILD_WRKSRC} && pytest - .include diff --git a/devel/cvise/distinfo b/devel/cvise/distinfo index 9cb2ccfaa05e..dc9e6b7d3482 100644 --- a/devel/cvise/distinfo +++ b/devel/cvise/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1682787601 -SHA256 (marxin-cvise-v2.8.0_GH0.tar.gz) = cb0bd15885b18b4e79be216c6ca7bed546defc0e9b533d6103868580c690a1a1 -SIZE (marxin-cvise-v2.8.0_GH0.tar.gz) = 269582 +TIMESTAMP = 1699382911 +SHA256 (marxin-cvise-v2.9.0_GH0.tar.gz) = e4acb8c4de9433766c4d6fc90e9dfb271a9b69a60f6118b00ae5218a8ce50366 +SIZE (marxin-cvise-v2.9.0_GH0.tar.gz) = 269921 diff --git a/devel/cvise/files/patch-cvise.py b/devel/cvise/files/patch-cvise.py deleted file mode 100644 index e63a3f8051da..000000000000 --- a/devel/cvise/files/patch-cvise.py +++ /dev/null @@ -1,11 +0,0 @@ ---- cvise.py.orig 2022-02-13 16:58:05 UTC -+++ cvise.py -@@ -283,7 +283,7 @@ if __name__ == '__main__': - script = None - if args.commands: - with tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.sh') as script: -- script.write('#!/bin/bash\n\n') -+ script.write('#!%%LOCALBASE%%/bin/bash\n\n') - script.write(args.commands + '\n') - os.chmod(script.name, 0o744) - logging.info('Using temporary interestingness test: %s' % script.name)