diff options
Diffstat (limited to '')
-rw-r--r-- | security/py-pyhanko-cli/Makefile | 30 | ||||
-rw-r--r-- | security/py-pyhanko-cli/distinfo | 3 | ||||
-rw-r--r-- | security/py-pyhanko-cli/files/patch-pyproject.toml | 19 | ||||
-rw-r--r-- | security/py-pyhanko-cli/pkg-descr | 2 | ||||
-rw-r--r-- | security/py-pyhanko/Makefile | 7 | ||||
-rw-r--r-- | security/py-pyhanko/distinfo | 6 | ||||
-rw-r--r-- | security/py-pyhanko/pkg-descr | 7 |
7 files changed, 64 insertions, 10 deletions
diff --git a/security/py-pyhanko-cli/Makefile b/security/py-pyhanko-cli/Makefile new file mode 100644 index 000000000000..d5834355e802 --- /dev/null +++ b/security/py-pyhanko-cli/Makefile @@ -0,0 +1,30 @@ +PORTNAME= pyhanko-cli +DISTNAME= pyhanko_cli-${PORTVERSION} +PORTVERSION= 0.1.2 +PORTREVISION= 1 +CATEGORIES= security python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= CLI tools for stamping and signing PDF files +WWW= https://pyhanko.readthedocs.io/en/latest/cli-guide/ \ + https://github.com/MatthiasValvekens/pyHanko + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.1.3:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyhanko>=0.29.1<0.30:security/py-pyhanko@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.27.0<0.28:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tzlocal>=4.3:devel/py-tzlocal@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/security/py-pyhanko-cli/distinfo b/security/py-pyhanko-cli/distinfo new file mode 100644 index 000000000000..531fc9827b55 --- /dev/null +++ b/security/py-pyhanko-cli/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1750954096 +SHA256 (pyhanko_cli-0.1.2.tar.gz) = 932c09c46a07ff070db6afc3b1475d3a61cb489ea4b0a0a3be84c70db2c41e6e +SIZE (pyhanko_cli-0.1.2.tar.gz) = 27304 diff --git a/security/py-pyhanko-cli/files/patch-pyproject.toml b/security/py-pyhanko-cli/files/patch-pyproject.toml new file mode 100644 index 000000000000..975a0994ebe7 --- /dev/null +++ b/security/py-pyhanko-cli/files/patch-pyproject.toml @@ -0,0 +1,19 @@ +--- pyproject.toml.orig 2025-06-20 20:47:42 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools>=80.8.0"] ++requires = ["setuptools>=61"] + build-backend = "setuptools.build_meta" + + [project] +@@ -7,8 +7,7 @@ maintainers = [{name = "Matthias Valvekens", email = " + description = "CLI tools for stamping and signing PDF files" + authors = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}] + maintainers = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}] +-license = "MIT" +-license-files = ["LICENSE"] ++license = {text = "MIT"} + keywords = [ + "signature", + "pdf", diff --git a/security/py-pyhanko-cli/pkg-descr b/security/py-pyhanko-cli/pkg-descr new file mode 100644 index 000000000000..79ee1fdf337a --- /dev/null +++ b/security/py-pyhanko-cli/pkg-descr @@ -0,0 +1,2 @@ +The lack of open-source CLI tooling to handle digitally signing and stamping PDF +files was bothering me, so I went ahead and rolled my own. diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile index 4c33e36d7851..15de838aa27f 100644 --- a/security/py-pyhanko/Makefile +++ b/security/py-pyhanko/Makefile @@ -1,5 +1,6 @@ PORTNAME= pyhanko -PORTVERSION= 0.29.0 +PORTVERSION= 0.29.1 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= PYPI \ https://github.com/MatthiasValvekens/pyHanko/releases/download/v${PORTVERSION}/ @@ -37,13 +38,13 @@ OPENTYPE_DESC= OpenType/TrueType support PKGCS11_DESC= PKGCS\#11 support XMP_DESC= XMP (Extensible Metadata Platform) support -ASYNC_HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9.0<3.12:www/py-aiohttp@${PY_FLAVOR} +ASYNC_HTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.9<3.13:www/py-aiohttp@${PY_FLAVOR} ETSI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xsdata>=24.4<26.0:devel/py-xsdata@${PY_FLAVOR} IMAGE_SUPPORT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>=7.2.0:graphics/py-pillow@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}python-barcode>=0.15.1<0.15.1_99:graphics/py-python-barcode@${PY_FLAVOR} OPENTYPE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=4.33.3:print/py-fonttools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0.25.0<0.51.0:print/py-uharfbuzz@${PY_FLAVOR} -PKGCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.7.0<0.8:security/py-python-pkcs11@${PY_FLAVOR} +PKGCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.8.0<0.9:security/py-python-pkcs11@${PY_FLAVOR} XMP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8:devel/py-defusedxml@${PY_FLAVOR} .include <bsd.port.mk> diff --git a/security/py-pyhanko/distinfo b/security/py-pyhanko/distinfo index 50a4af4fe76b..8f219ecc7a0c 100644 --- a/security/py-pyhanko/distinfo +++ b/security/py-pyhanko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1748495853 -SHA256 (pyhanko-0.29.0.tar.gz) = d4b7b83c51126c430fdd84bbee3399c1826b4c982b3a044644f610396f4e92e5 -SIZE (pyhanko-0.29.0.tar.gz) = 366660 +TIMESTAMP = 1750954232 +SHA256 (pyhanko-0.29.1.tar.gz) = 4b7787fc9ff325012ce85f24b67c13b1c9507991e2570c955b23522e3a2dc3b6 +SIZE (pyhanko-0.29.1.tar.gz) = 366860 diff --git a/security/py-pyhanko/pkg-descr b/security/py-pyhanko/pkg-descr index 2409be54cf91..6f865970a84b 100644 --- a/security/py-pyhanko/pkg-descr +++ b/security/py-pyhanko/pkg-descr @@ -1,5 +1,4 @@ -The lack of open-source CLI tooling to handle digitally signing and stamping PDF -files was bothering me, so I went ahead and rolled my own. +pyhanko is a library for working with signatures in PDF documents. -Note: The working title of this project (and former name of the repository on -GitHub) was pdf-stamp, which might still linger in some references. +pyHanko's CLI is no longer bundled together with the library. This functionality +is now distributed separately as pyhanko-cli. |