From nobody Sun Jul 09 10:36:36 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QzNps1mlSz4lljV; Sun, 9 Jul 2023 10:36:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QzNps11FJz47Lh; Sun, 9 Jul 2023 10:36:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W/GHo83xxh95g7Izh4TRxa5jTXWc9uUwvmPA8/HeHQ8=; b=GHujqIwmB+Xe7qvoRhtoxLF9eqwq3UHoNMqPeS9rJo3LXh++Xj0gdv1i/n399iRwnPiZbt r1wa3DtMEMjLm2AA4m/DDrAV4WlvXYv1s8MTpWM6o+eBsGQkkJwC8BxLQyQ8XJKFa1gzmU 4Bwwv1ygcrnVU0ZxzGtI1b07LNHOoPAK3M4+rDs+4k5W3EaqRXtainDAF1C2gKx9Bx9vvQ BAOfryCjTVkMiGRuupa20pgEHgKMz7s8MiGkBNcfMr94eBIuoko80Rq32ZNVtbXn5nyoFT L65WJjNSgcwgkdQs1zrL8+tWN8SHbPSffDql9cADUlx7KrlyqqUhHkr/H54tPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688898997; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=W/GHo83xxh95g7Izh4TRxa5jTXWc9uUwvmPA8/HeHQ8=; b=hWqeWXMWBrkjnF4hs5pfjQtTBvrkbLw57nxcxQaybU3EspxMm2oBuzXpyPxWBozFWA+1zj fWOzHE/xP0ZFQKEIFT4VoCSU0CLUaxErklcVs3fR9AZZSTqCq1Sx5v3XhKtKtLmdilEPrV GhsHCMbHi5OrdHD0K6IIWYNvW6/fKBWenHoxMFCjTP45A/xbXYw+S/052HzqRBOjnMU7Zs 2aNvNAUppemp35lzfTs3rSAigIm0MW/TxDNU0qC7CJ0365I1POicZJOA5mFIcdRZWlNgjT UzY6yAIcXVrO7XqnYSvq7EnDuA/8xSn/xKxNYTS9UeOzVgeuwqx/ChiqJQjXDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688898997; a=rsa-sha256; cv=none; b=kakutN1I5fr0EONCdDZ/Yyj+QQ4Xfg4fS3QrtWd4EIYBVDW6lUYsGKqdbEJHIpbV7v6Dy9 2Tv3th/Q0KhCLOcFBhGSgdj8viUS3DEhAVJvDwPXTVYLjL9s8hTZ3+gmWiPmDD2N5Rtnpu 9c4qoKGvxynJDMrkIXfhwuvEwMbZ88ZpiZXEqDvX8DjI95XTnfrvmwBQKriQalovFkoFmh /YDTKECsB+UW4hPtaPZO2PcSILQfgeW+wjso5dVpA+yvnBITRjtWZLKH1En7dIF7QGuLYa JgS2Zb8d/k/UzuJefivWB9AxX/zvwTD8snTYrU3Kodyco16uJWDcEXrjYj9L4Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QzNps03Z3z10Sj; Sun, 9 Jul 2023 10:36:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 369AaaRj058623; Sun, 9 Jul 2023 10:36:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 369AaaNQ058622; Sun, 9 Jul 2023 10:36:36 GMT (envelope-from git) Date: Sun, 9 Jul 2023 10:36:36 GMT Message-Id: <202307091036.369AaaNQ058622@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ce543cafaff8 - main - security/py-pyhanko: Update to 0.19.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce543cafaff856e272048795da4e2dbfd71c2d5f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce543cafaff856e272048795da4e2dbfd71c2d5f commit ce543cafaff856e272048795da4e2dbfd71c2d5f Author: Po-Chuan Hsieh AuthorDate: 2023-07-09 10:20:14 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-07-09 10:20:14 +0000 security/py-pyhanko: Update to 0.19.0 - Convert to USE_PYTHON=pep517 Changes: https://github.com/MatthiasValvekens/pyHanko/releases https://github.com/MatthiasValvekens/pyHanko/blob/master/docs/changelog.rst --- security/py-pyhanko/Makefile | 24 +++++++++++++++-------- security/py-pyhanko/distinfo | 6 +++--- security/py-pyhanko/files/patch-pyproject.toml | 27 ++++++++++++++++++++++++++ security/py-pyhanko/files/patch-setup.py | 19 ------------------ 4 files changed, 46 insertions(+), 30 deletions(-) diff --git a/security/py-pyhanko/Makefile b/security/py-pyhanko/Makefile index 8c04a1fd0503..b333a2268cc0 100644 --- a/security/py-pyhanko/Makefile +++ b/security/py-pyhanko/Makefile @@ -1,6 +1,5 @@ PORTNAME= pyhanko -PORTVERSION= 0.17.2 -PORTREVISION= 3 +PORTVERSION= 0.19.0 CATEGORIES= security python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,18 +12,19 @@ WWW= 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>=7.1.2:devel/py-click@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1:security/py-cryptography@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.20<0.21:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}pytz>=2020.1,1:devel/py-pytz@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}cryptography>=3.3.1,1:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pyhanko-certvalidator>=0.23<0.24:security/py-pyhanko-certvalidator@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}yaml>=5.3.1:devel/py-yaml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}qrcode>=6.1:textproc/py-qrcode@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}tzlocal>=2.1:devel/py-tzlocal@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}tzlocal>=4.3:devel/py-tzlocal@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -41,4 +41,12 @@ OPENTYPE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fonttools>=4.33.3:print/py-fonttool PKGCS11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-pkcs11>=0.7.0<0.8:security/py-python-pkcs11@${PY_FLAVOR} XMP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}defusedxml>=0.7.1<0.8:devel/py-defusedxml@${PY_FLAVOR} -.include +.include + +.if ${PYTHON_REL} < 30900 +# tzdata is from backports.zoneinfo[tzdata] +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}backports.zoneinfo>=0:devel/py-backports.zoneinfo@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tzdata>=0:devel/py-tzdata@${PY_FLAVOR} +.endif + +.include diff --git a/security/py-pyhanko/distinfo b/security/py-pyhanko/distinfo index 3f23f90dd60d..93d36721d962 100644 --- a/security/py-pyhanko/distinfo +++ b/security/py-pyhanko/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1681052896 -SHA256 (pyHanko-0.17.2.tar.gz) = b1f027f0f63a0c9f6c457652c8d1f5c959e6569ec79cdcdbee19cf8f9f2ad423 -SIZE (pyHanko-0.17.2.tar.gz) = 334201 +TIMESTAMP = 1688166316 +SHA256 (pyHanko-0.19.0.tar.gz) = 9cca53a633784bf7ad9ba41f2d7a8abdafca722b9f23f02add9d4150e316d6db +SIZE (pyHanko-0.19.0.tar.gz) = 352897 diff --git a/security/py-pyhanko/files/patch-pyproject.toml b/security/py-pyhanko/files/patch-pyproject.toml new file mode 100644 index 000000000000..29b84877b1e3 --- /dev/null +++ b/security/py-pyhanko/files/patch-pyproject.toml @@ -0,0 +1,27 @@ +--- pyproject.toml.orig 2023-06-18 16:39:33 UTC ++++ pyproject.toml +@@ -1,12 +1,12 @@ + [build-system] + requires = [ +- "setuptools>=67.4", +- "wheel", "pytest-runner", ++ "setuptools>=61", ++ "wheel", + ] + 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"}] +@@ -64,7 +64,7 @@ opentype = [ + "fonttools>=4.33.3", + # uharfbuzz sometimes includes breaking changes, so + # we set an explicit range +- "uharfbuzz>=0.25.0,<0.36.0", ++ "uharfbuzz>=0.25.0", + ] + image-support = [ + # Only tested systematically on 8.x, diff --git a/security/py-pyhanko/files/patch-setup.py b/security/py-pyhanko/files/patch-setup.py deleted file mode 100644 index 58679c0bc236..000000000000 --- a/security/py-pyhanko/files/patch-setup.py +++ /dev/null @@ -1,19 +0,0 @@ ---- setup.py.orig 2023-03-09 22:50:58 UTC -+++ setup.py -@@ -70,7 +70,6 @@ setup( - 'cryptography>=3.3.1' - ], - setup_requires=[ -- 'wheel', 'pytest-runner' - ], - extras_require={ - 'extra_pubkey_algs': ['oscrypto>=1.2.1'], -@@ -79,7 +78,7 @@ setup( - 'fonttools>=4.33.3', - # uharfbuzz sometimes includes breaking changes, so - # we set an explicit range -- 'uharfbuzz>=0.25.0,<0.31.0' -+ 'uharfbuzz>=0.25.0' - ], - 'image-support': [ - # Only tested systematically on 8.x,