Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: NEW: devel/py-jsonpath-ng
To:
Tobias Heider <tobias.heider@stusta.de>
Cc:
ports@openbsd.org
Date:
Sat, 13 Jul 2024 20:10:30 +0200

Download raw body.

Thread
On Sat, Jul 13, 2024 at 07:56:15PM +0200, Tobias Heider wrote:
> I'd like to update codechecker to the newest version.
> This is a dependency of sarif-tools which is now needed for codechecker.
> Please review because I have no idea what I am doing.

Needs ply at runtime (look at ${WRKSRC}/setup.py) and convention wants
lowercase first letter of COMMENT, so with this diff on top, this is

ok tb

--- Makefile.orig	Sat Jul 13 19:59:53 2024
+++ Makefile	Sat Jul 13 20:07:12 2024
@@ -1,4 +1,4 @@
-COMMENT=	 	Implementation of JSONPath for Python
+COMMENT=	 	implementation of JSONPath for Python
 
 MODPY_EGG_VERSION=	1.6.1
 DISTNAME=		jsonpath-ng-${MODPY_EGG_VERSION}
@@ -19,5 +19,7 @@ SUBST_VARS +=		MODPY_FLAVOR
 
 FLAVORS=		python3
 FLAVOR=			python3
+
+RUN_DEPENDS=		devel/py-ply${MODPY_FLAVOR}
 
 .include <bsd.port.mk>