git: 57204d328c2e - main - devel/py-plugincode: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Jul 2025 15:27:25 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=57204d328c2e01494f6962f45b0ce25d1ec5f808
commit 57204d328c2e01494f6962f45b0ce25d1ec5f808
Author: Tuukka Pasanen <tuukka.pasanen@ilmi.fi>
AuthorDate: 2025-05-12 14:59:26 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-07-16 14:53:22 +0000
devel/py-plugincode: New port
plugincode is a library that provides plugin functionality for
ScanCode toolkit.
WWW: https://github.com/aboutcode-org/plugincode
PR: 287494
Sponsored by: The FreeBSD Foundation
---
devel/Makefile | 1 +
devel/py-plugincode/Makefile | 28 ++++++++++++++++++++++++++++
devel/py-plugincode/distinfo | 3 +++
devel/py-plugincode/pkg-descr | 3 +++
4 files changed, 35 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 94c64e5e9be4..d2927750b432 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5483,6 +5483,7 @@
SUBDIR += py-pluggy
SUBDIR += py-pluggy0
SUBDIR += py-pluginbase
+ SUBDIR += py-plugincode
SUBDIR += py-plux
SUBDIR += py-ply
SUBDIR += py-pnio-dcp
diff --git a/devel/py-plugincode/Makefile b/devel/py-plugincode/Makefile
new file mode 100644
index 000000000000..c0495f6b3b4f
--- /dev/null
+++ b/devel/py-plugincode/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= plugincode
+DISTVERSION= 32.0.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tuukka.pasanen@ilmi.fi
+COMMENT= Plugincode is a library that provides plugin functionality
+WWW= https://github.com/aboutcode-org/plugincode
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/apache-2.0.LICENSE
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}commoncode>=31.0.0:devel/py-commoncode@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pluggy>=0.12.0:devel/py-pluggy@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}black>=0:devel/py-black@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517 pytest
+PYTEST_BROKEN_TESTS= test_skeleton_codestyle
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-plugincode/distinfo b/devel/py-plugincode/distinfo
new file mode 100644
index 000000000000..09fb7d5fbad0
--- /dev/null
+++ b/devel/py-plugincode/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1747042455
+SHA256 (plugincode-32.0.0.tar.gz) = 4132d93b1755271c6e226c9da2e2044ff62ebcb873b5e958d66a8ddde9f345fa
+SIZE (plugincode-32.0.0.tar.gz) = 71325
diff --git a/devel/py-plugincode/pkg-descr b/devel/py-plugincode/pkg-descr
new file mode 100644
index 000000000000..65f6f8026669
--- /dev/null
+++ b/devel/py-plugincode/pkg-descr
@@ -0,0 +1,3 @@
+PluginCode is a library that provides plugable functionality
+with plugins, including Click plugins. It is used by ScanCode
+toolkit and related projects