Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Mar 2023 13:54:22 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3885e25f6a01 - main - devel/cvise: update to 2.7.0
Message-ID:  <202303181354.32IDsMLo077010@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3885e25f6a019eaa52549deac6bb4de260a15d5f

commit 3885e25f6a019eaa52549deac6bb4de260a15d5f
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-03-04 20:20:36 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-03-18 13:54:09 +0000

    devel/cvise: update to 2.7.0
    
    This updates devel/cvise to the latest upstream release, and uses
    devel/llvm15 as dependency.
    
    PR:             269935
    Approved by:    maintainer timeout (2 weeks)
    MFH:            2023Q1
---
 devel/cvise/Makefile | 22 ++++++++++++++++++----
 devel/cvise/distinfo | 14 +++++++++++---
 2 files changed, 29 insertions(+), 7 deletions(-)

diff --git a/devel/cvise/Makefile b/devel/cvise/Makefile
index ad0cbc1a1283..5159178832b7 100644
--- a/devel/cvise/Makefile
+++ b/devel/cvise/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	cvise
-PORTVERSION=	2.4.0
+PORTVERSION=	2.7.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel python
 
@@ -29,18 +29,32 @@ TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
 # once this is installed, all tests pass for me:
 # 260 passed, 1 skipped in 64.82 seconds
 
-USES=		cmake python:3.6+ shebangfix
+USES=		cmake compiler python:3.6+ shebangfix
 CMAKE_ARGS+=	-DLLVM_DIR:PATH=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/llvm
 CMAKE_ARGS+=	-DClang_DIR:PATH=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/clang
-LLVM_VER=	13
+LLVM_VER=	15
 SHEBANG_FILES=	cvise-delta.py cvise.py
 USE_GITHUB=	yes
 GH_ACCOUNT=	marxin
 
+PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
+PATCHFILES+=	ff4e51e093a53615362f77c956d90f0f728c12e5.patch:-p1
+PATCHFILES+=	80476310943053aa97969d6410743bddb2d1c770.patch:-p1
+PATCHFILES+=	c560ef24eae3946573317d20759938209fb882fa.patch:-p1
+PATCHFILES+=	222313aa5467d22ba58d3fdc3198abdf75a07f0e.patch:-p1
+
+.include <bsd.port.pre.mk>
+
+.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} < 150
+CPP=		clang-cpp${LLVM_VER}
+CC=		clang${LLVM_VER}
+CXX=		clang++${LLVM_VER}
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/cvise.py
 
 do-test:
 	cd ${BUILD_WRKSRC} && pytest
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/devel/cvise/distinfo b/devel/cvise/distinfo
index 27e9b9ff4071..80b22f27a878 100644
--- a/devel/cvise/distinfo
+++ b/devel/cvise/distinfo
@@ -1,3 +1,11 @@
-TIMESTAMP = 1644767746
-SHA256 (marxin-cvise-v2.4.0_GH0.tar.gz) = 55ae8c39bdbaddba9a2ac1173bef7995e58387bc81f4610125dd1488c8e8b1ae
-SIZE (marxin-cvise-v2.4.0_GH0.tar.gz) = 252810
+TIMESTAMP = 1677785583
+SHA256 (marxin-cvise-v2.7.0_GH0.tar.gz) = a0468bb16b99c9bc67b7cdd6557a79d441e5e1f253fdf7d73f21c15f9dc3b444
+SIZE (marxin-cvise-v2.7.0_GH0.tar.gz) = 269155
+SHA256 (ff4e51e093a53615362f77c956d90f0f728c12e5.patch) = 260fec0128a6c5e9ff5b8a3cd767c100de38683f23bbad64ae2debeb69eb61ed
+SIZE (ff4e51e093a53615362f77c956d90f0f728c12e5.patch) = 1316
+SHA256 (80476310943053aa97969d6410743bddb2d1c770.patch) = 327a7ca6b8eccb23dc553bc509995ed5c893fd6df0d24f8f7c9dd8ae233eeea0
+SIZE (80476310943053aa97969d6410743bddb2d1c770.patch) = 1924
+SHA256 (c560ef24eae3946573317d20759938209fb882fa.patch) = 3f1b06d3cef99edda363305a189c636de09d123b3504ce7f6e71cc8db453d4bc
+SIZE (c560ef24eae3946573317d20759938209fb882fa.patch) = 837
+SHA256 (222313aa5467d22ba58d3fdc3198abdf75a07f0e.patch) = def653fe4309d4f0d1196517934e704f681e4b2295983477588fe052c4c73f3e
+SIZE (222313aa5467d22ba58d3fdc3198abdf75a07f0e.patch) = 877



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303181354.32IDsMLo077010>