diff options
Diffstat (limited to 'security/py-pyhanko')
-rw-r--r-- | security/py-pyhanko/Makefile | 14 | ||||
-rw-r--r-- | security/py-pyhanko/distinfo | 6 | ||||
-rw-r--r-- | security/py-pyhanko/files/patch-pyproject.toml | 21 | ||||
-rw-r--r-- | security/py-pyhanko/pkg-descr | 7 |
4 files changed, 25 insertions, 23 deletions
diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile index 974214eb0fb3..d2474bde825d 100644 --- a/security/py-pyhanko/Makefile +++ b/security/py-pyhanko/Makefile @@ -1,5 +1,5 @@ PORTNAME= pyhanko -PORTVERSION= 0.26.0 +PORTVERSION= 0.29.1 CATEGORIES= security python MASTER_SITES= PYPI \ https://github.com/MatthiasValvekens/pyHanko/releases/download/v${PORTVERSION}/ @@ -16,9 +16,9 @@ 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}click>=8.1.3<8.2.0:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8:devel/py-defusedxml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.26.5<0.27:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.27.0<0.28:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pyyaml>=6.0:devel/py-pyyaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qrcode>=7.3.1:textproc/py-qrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.31.0:www/py-requests@${PY_FLAVOR} \ @@ -37,13 +37,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} -ETSI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xsdata>=24.4<25.0:devel/py-xsdata@${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.47.0:print/py-uharfbuzz@${PY_FLAVOR} -PKGCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.7.0<0.8:security/py-python-pkcs11@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0.25.0<0.51.0:print/py-uharfbuzz@${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 268658299c7d..8f219ecc7a0c 100644 --- a/security/py-pyhanko/distinfo +++ b/security/py-pyhanko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1742070462 -SHA256 (pyhanko-0.26.0.tar.gz) = 82e4079938967291dca397c79846f8eb800435d1548e91753249f944779bca89 -SIZE (pyhanko-0.26.0.tar.gz) = 389149 +TIMESTAMP = 1750954232 +SHA256 (pyhanko-0.29.1.tar.gz) = 4b7787fc9ff325012ce85f24b67c13b1c9507991e2570c955b23522e3a2dc3b6 +SIZE (pyhanko-0.29.1.tar.gz) = 366860 diff --git a/security/py-pyhanko/files/patch-pyproject.toml b/security/py-pyhanko/files/patch-pyproject.toml index eadfc8905bdf..f5c510df08b8 100644 --- a/security/py-pyhanko/files/patch-pyproject.toml +++ b/security/py-pyhanko/files/patch-pyproject.toml @@ -1,17 +1,20 @@ ---- pyproject.toml.orig 2024-03-07 22:13:09 UTC +--- pyproject.toml.orig 2025-05-27 21:43:28 UTC +++ pyproject.toml -@@ -1,12 +1,12 @@ requires = [ +@@ -1,14 +1,13 @@ [build-system] - requires = [ -- "setuptools>=67.4", -+ "setuptools>=61", - "wheel" - ] +-requires = ["setuptools>=80.8.0"] ++requires = ["setuptools>=61"] build-backend = "setuptools.build_meta" [project] -name = "pyHanko" +name = "pyhanko" description = "Tools for stamping and signing PDF files" - authors = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}] - maintainers = [{name = "Matthias Valvekens", email = "dev@mvalvekens.be"}] + authors = [{ name = "Matthias Valvekens", email = "dev@mvalvekens.be" }] + maintainers = [{ name = "Matthias Valvekens", email = "dev@mvalvekens.be" }] +-license = "MIT" +-license-files = ["LICENSE", "src/pyhanko/pdf_utils/LICENSE.PyPDF2"] ++license = {text = "MIT"} + keywords = [ + "signature", + "pdf", 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. |