security/py-pyhanko-cli: Add py-pyhanko-cli 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.
This commit is contained in:
parent
241c3d2c9c
commit
d88d4f56f7
@ -1026,6 +1026,7 @@
|
|||||||
SUBDIR += py-pyelliptic
|
SUBDIR += py-pyelliptic
|
||||||
SUBDIR += py-pyhanko
|
SUBDIR += py-pyhanko
|
||||||
SUBDIR += py-pyhanko-certvalidator
|
SUBDIR += py-pyhanko-certvalidator
|
||||||
|
SUBDIR += py-pyhanko-cli
|
||||||
SUBDIR += py-pykeepass
|
SUBDIR += py-pykeepass
|
||||||
SUBDIR += py-pykeepass-cache
|
SUBDIR += py-pykeepass-cache
|
||||||
SUBDIR += py-pylibacl
|
SUBDIR += py-pylibacl
|
||||||
|
|||||||
29
security/py-pyhanko-cli/Makefile
Normal file
29
security/py-pyhanko-cli/Makefile
Normal file
@ -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>
|
||||||
3
security/py-pyhanko-cli/distinfo
Normal file
3
security/py-pyhanko-cli/distinfo
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
TIMESTAMP = 1750954096
|
||||||
|
SHA256 (pyhanko_cli-0.1.2.tar.gz) = 932c09c46a07ff070db6afc3b1475d3a61cb489ea4b0a0a3be84c70db2c41e6e
|
||||||
|
SIZE (pyhanko_cli-0.1.2.tar.gz) = 27304
|
||||||
19
security/py-pyhanko-cli/files/patch-pyproject.toml
Normal file
19
security/py-pyhanko-cli/files/patch-pyproject.toml
Normal file
@ -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",
|
||||||
2
security/py-pyhanko-cli/pkg-descr
Normal file
2
security/py-pyhanko-cli/pkg-descr
Normal file
@ -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.
|
||||||
Loading…
x
Reference in New Issue
Block a user