diff options
Diffstat (limited to 'security/py-pyhanko')
-rw-r--r-- | security/py-pyhanko/Makefile | 17 | ||||
-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, 27 insertions, 24 deletions
diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile index 8541d75a1d02..0925ddb157b7 100644 --- a/security/py-pyhanko/Makefile +++ b/security/py-pyhanko/Makefile @@ -1,5 +1,5 @@ PORTNAME= pyhanko -PORTVERSION= 0.27.1 +PORTVERSION= 0.30.0 CATEGORIES= security python MASTER_SITES= PYPI \ https://github.com/MatthiasValvekens/pyHanko/releases/download/v${PORTVERSION}/ @@ -7,7 +7,7 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Tools for stamping and signing PDF files -WWW= https://pyhanko.readthedocs.io/en/latest/ \ +WWW= https://docs.pyhanko.eu/en/latest/ \ https://github.com/MatthiasValvekens/pyHanko LICENSE= MIT @@ -18,7 +18,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>=1.5.1:devel/py-asn1crypto@${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.28.0<0.29: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} \ @@ -29,21 +29,22 @@ USE_PYTHON= autoplist concurrent cryptography pep517 NO_ARCH= yes -OPTIONS_DEFINE= ASYNC_HTTP ETSI IMAGE_SUPPORT OPENTYPE PKGCS11 XMP +OPTIONS_DEFINE= ASYNC_HTTP ETSI IMAGE_SUPPORT OPENTYPE PKCS11 XMP ASYNC_HTTP_DESC=Asynchronous support ETSI_DESC= European Telecommunications Standards Institute (ETSI) IMAGE_SUPPORT_DESC= Image handling support OPENTYPE_DESC= OpenType/TrueType support -PKGCS11_DESC= PKGCS\#11 support +PKCS11_DESC= PKCS\#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<26.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} \ + ${PYTHON_PKGNAMEPREFIX}signxml>=4.2.0:security/py-signxml@${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} +PKCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.9.0<0.10: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 4cd65e8ba54c..ed1bfa659566 100644 --- a/security/py-pyhanko/distinfo +++ b/security/py-pyhanko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1747715466 -SHA256 (pyhanko-0.27.1.tar.gz) = 2378e3189591740a94d5633d772cb11d9a619dab7ed5437fa3004c95ae279de8 -SIZE (pyhanko-0.27.1.tar.gz) = 389689 +TIMESTAMP = 1757120818 +SHA256 (pyhanko-0.30.0.tar.gz) = efaa9e5401d4912fa5b2aeb4cdbe729196d98dae0671bd6d37a824dc6fde5ca4 +SIZE (pyhanko-0.30.0.tar.gz) = 405860 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. |