diff options
Diffstat (limited to 'security/py-pyhanko-cli')
-rw-r--r-- | security/py-pyhanko-cli/Makefile | 29 | ||||
-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 |
4 files changed, 53 insertions, 0 deletions
diff --git a/security/py-pyhanko-cli/Makefile b/security/py-pyhanko-cli/Makefile new file mode 100644 index 000000000000..9072a46e37ba --- /dev/null +++ b/security/py-pyhanko-cli/Makefile @@ -0,0 +1,29 @@ +PORTNAME= pyhanko-cli +DISTNAME= pyhanko_cli-${PORTVERSION} +PORTVERSION= 0.1.2 +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. |