git: 9301e914131f - main - graphics/py-jbpy: Add py-jbpy 0.6.1
Po-Chuan Hsieh <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.cvs.ports |
|---|---|
| Message-ID | <[email protected]> |
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=9301e914131ffb3d4918f3059572c680f01abba7 commit 9301e914131ffb3d4918f3059572c680f01abba7 Author: Po-Chuan Hsieh <[email protected]> AuthorDate: 2026-08-19 12:24:29 +0000 Commit: Po-Chuan Hsieh <[email protected]> CommitDate: 2026-08-19 12:55:11 +0000 graphics/py-jbpy: Add py-jbpy 0.6.1 jbpy is a library for reading and writing Joint BIIF Profile files. Including: - National Imagery Transmission Format (NITF) - North Atlantic Treaty Organisation (NATO) Secondary Imagery Format (NSIF) The Joint BIIF Profile is available from the NSG Standards Registry. --- graphics/Makefile | 1 + graphics/py-jbpy/Makefile | 24 ++++++++++++++++++++++++ graphics/py-jbpy/distinfo | 3 +++ graphics/py-jbpy/files/patch-pyproject.toml | 19 +++++++++++++++++++ graphics/py-jbpy/pkg-descr | 5 +++++ 5 files changed, 52 insertions(+) diff --git a/graphics/Makefile b/graphics/Makefile index 944cf9e37d42..07cea35f0761 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -970,6 +970,7 @@ SUBDIR += py-imagesize SUBDIR += py-img2pdf SUBDIR += py-imutils + SUBDIR += py-jbpy SUBDIR += py-kornia SUBDIR += py-kornia-rs SUBDIR += py-leather diff --git a/graphics/py-jbpy/Makefile b/graphics/py-jbpy/Makefile new file mode 100644 index 000000000000..e255674fc55a --- /dev/null +++ b/graphics/py-jbpy/Makefile @@ -0,0 +1,24 @@ +PORTNAME= jbpy +PORTVERSION= 0.6.1 +CATEGORIES= graphics python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= [email protected] +COMMENT= Library for reading and writing Joint BIIF Profile (JBP) files (NITF and NSIF) +WWW= https://jbpy.readthedocs.io/en/latest/ \ + https://github.com/ValkyrieSystems/jbpy + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/graphics/py-jbpy/distinfo b/graphics/py-jbpy/distinfo new file mode 100644 index 000000000000..cad112c8a0c9 --- /dev/null +++ b/graphics/py-jbpy/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1784005004 +SHA256 (jbpy-0.6.1.tar.gz) = 23efac30cbbae33e4318eb71f073825b0b7a6578335479e34bb61451406dc523 +SIZE (jbpy-0.6.1.tar.gz) = 59429 diff --git a/graphics/py-jbpy/files/patch-pyproject.toml b/graphics/py-jbpy/files/patch-pyproject.toml new file mode 100644 index 000000000000..b38431ea442d --- /dev/null +++ b/graphics/py-jbpy/files/patch-pyproject.toml @@ -0,0 +1,19 @@ +--- pyproject.toml.orig 2026-06-15 17:48:12 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ requires = [ + [build-system] + requires = [ +- "setuptools >= 77", ++ "setuptools >= 61", + "setuptools-scm >= 8", + ] + build-backend = "setuptools.build_meta" +@@ -41,7 +41,7 @@ readme = "README.md" + name = "jbpy" + description = "Library for reading and writing Joint BIIF Profile (JBP) files (NITF and NSIF)" + readme = "README.md" +-license = "MIT" ++license = {text = "MIT"} + authors = [ + {name = "Valkyrie Systems Corporation"}, + ] diff --git a/graphics/py-jbpy/pkg-descr b/graphics/py-jbpy/pkg-descr new file mode 100644 index 000000000000..6365d2b3ac45 --- /dev/null +++ b/graphics/py-jbpy/pkg-descr @@ -0,0 +1,5 @@ +jbpy is a library for reading and writing Joint BIIF Profile files. Including: +- National Imagery Transmission Format (NITF) +- North Atlantic Treaty Organisation (NATO) Secondary Imagery Format (NSIF) + +The Joint BIIF Profile is available from the NSG Standards Registry.