aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuukka Pasanen <tuukka.pasanen@ilmi.fi>2025-05-06 16:15:19 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-07-16 14:53:24 +0000
commit18f9efa45317517521289196e7bdc0a9b9b16d1a (patch)
tree44d8dd8e527fdc67387e5ff576b9bcb4f79fa1f3
parentb5444da848e3977e12c8da43895bd03325d2839f (diff)
sysutils/py-container-inspector: New port
container-inspector is a suite of analysis utilities and command line tools for Docker container images, their layers and how these relate to each other. It can also handle OCI images and Dockerfiles WWW: https://github.com/aboutcode-org/container-inspector PR: 286686 Sponsored by: The FreeBSD Foundation
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/py-container-inspector/Makefile29
-rw-r--r--sysutils/py-container-inspector/distinfo3
-rw-r--r--sysutils/py-container-inspector/pkg-descr5
4 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index f49c6590fc69..8c4dc7f4892e 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1016,6 +1016,7 @@
SUBDIR += py-blinkstick
SUBDIR += py-borgmatic
SUBDIR += py-concurrent-log-handler
+ SUBDIR += py-container-inspector
SUBDIR += py-cron-descriptor
SUBDIR += py-croniter
SUBDIR += py-croniter2
diff --git a/sysutils/py-container-inspector/Makefile b/sysutils/py-container-inspector/Makefile
new file mode 100644
index 000000000000..5ce3a8a71f83
--- /dev/null
+++ b/sysutils/py-container-inspector/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= container-inspector
+DISTVERSION= 33.0.0
+CATEGORIES= sysutils python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= container_inspector-${PORTVERSION}
+
+MAINTAINER= tuukka.pasanen@ilmi.fi
+COMMENT= Analysis utilities and command line tools for Docker container images
+WWW= https://github.com/aboutcode-org/container-inspector
+
+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}attrs>=18.1:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}commoncode>=31.2.1:devel/py-commoncode@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}dockerfile-parse>2.0:devel/py-dockerfile-parse@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517 pytest
+PYTEST_BROKEN_TESTS= test_distro_from_os_release_file
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/sysutils/py-container-inspector/distinfo b/sysutils/py-container-inspector/distinfo
new file mode 100644
index 000000000000..ced85c7b2e5b
--- /dev/null
+++ b/sysutils/py-container-inspector/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1746514249
+SHA256 (container_inspector-33.0.0.tar.gz) = 09260edb14549648da61260c1559b507e9dcb8296a6324368ba3803ca2011f7c
+SIZE (container_inspector-33.0.0.tar.gz) = 212468
diff --git a/sysutils/py-container-inspector/pkg-descr b/sysutils/py-container-inspector/pkg-descr
new file mode 100644
index 000000000000..17b12ae274fb
--- /dev/null
+++ b/sysutils/py-container-inspector/pkg-descr
@@ -0,0 +1,5 @@
+container-inspector is a suite of analysis utilities and command line tools
+for Docker images, containers, root filesystems and virtual machine images.
+
+For Docker images, it can process layers and how these relate to each
+other as well as Dockerfiles.