Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 07:23:19 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 09455e7e5c6d - main - misc/netron: Use PYTHON_SUFFIX and remove unnecessary PLIST_SUB
Message-ID:  <202306300723.35U7NJxW085204@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=09455e7e5c6d01f45465b3151e7c00b1c34a9132

commit 09455e7e5c6d01f45465b3151e7c00b1c34a9132
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:08:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:08:41 +0000

    misc/netron: Use PYTHON_SUFFIX and remove unnecessary PLIST_SUB
    
    Approved by:    portmgr (blanket)
    With hat:       python
---
 misc/netron/Makefile  |  2 --
 misc/netron/pkg-plist | 12 ++++++------
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/misc/netron/Makefile b/misc/netron/Makefile
index 93bd451e5eb7..ac920049e783 100644
--- a/misc/netron/Makefile
+++ b/misc/netron/Makefile
@@ -19,8 +19,6 @@ USE_PYTHON=	distutils noflavors
 
 NO_ARCH=	yes
 
-PLIST_SUB=	PYTHON_CPYTHON=cpython-${PYTHON_VER:S/.//}
-
 post-extract:
 	@${RLN} ${WRKDIR}/node_modules ${WRKSRC}/node_modules
 
diff --git a/misc/netron/pkg-plist b/misc/netron/pkg-plist
index 24316e8f5173..c486552e30b2 100644
--- a/misc/netron/pkg-plist
+++ b/misc/netron/pkg-plist
@@ -1,11 +1,11 @@
 bin/netron
 %%PYTHON_SITELIBDIR%%/netron/__init__.py
-%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.%%PYTHON_CPYTHON%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.%%PYTHON_CPYTHON%%.pyc
-%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.%%PYTHON_CPYTHON%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.%%PYTHON_CPYTHON%%.pyc
-%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.%%PYTHON_CPYTHON%%.opt-1.pyc
-%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.%%PYTHON_CPYTHON%%.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/__version__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/netron/__pycache__/server.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/netron/__version__.py
 %%PYTHON_SITELIBDIR%%/netron/armnn-metadata.json
 %%PYTHON_SITELIBDIR%%/netron/armnn-schema.js



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