Bug 276357

Summary: security/py-pycryptodome{,x}: Update to 3.20.0
Product: Ports & Packages Reporter: John W. O'Brien <john>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: ale, john, python, vishwin
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/Legrandin/pycryptodome/releases/tag/v3.20.0
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276358
Attachments:
Description Flags
security/py-pycryptodome{,x}: Update to 3.20.0
john: maintainer-approval+
USE_PYTHON=pep517 john: maintainer-approval+

Description John W. O'Brien 2024-01-15 20:58:18 UTC
Created attachment 247688 [details]
security/py-pycryptodome{,x}: Update to 3.20.0

Changelog
=========

*   Update to 3.20.0


QA
==

portlint: OK
poudriere: OK -- testport on 13.2-RELEASE amd64 w/py38, py39, py310 (default), and py311 
SelfTest: OK -- test suite passes w/ security/py-pycryptodome-test-vectors 1.0.14, math/gmp installed, each version of Python in the ports tree


Note
====

Updating this port also updates security/py-cryptodomex
Comment 1 Charlie Li freebsd_committer freebsd_triage 2024-01-29 18:10:59 UTC
Since a pyproject.toml now exists in the source, please use USE_PYTHON=pep517 to build. The ${PKGNAMESUFFIX} hack for security/py-pycryptodomex will not work since the Python package metadata is different (and also registered separately on PyPI).
Comment 2 Charlie Li freebsd_committer freebsd_triage 2024-01-30 23:44:11 UTC
Created attachment 248084 [details]
USE_PYTHON=pep517

Here's what I have. It is always recommended to USE_PYTHON=pep517 over USE_PYTHON=distutils when the project specifies a pyproject.toml, unless it literally doesn't build or the result (bdist wheel) doesn't work properly.
Comment 3 John W. O'Brien 2024-02-06 15:29:36 UTC
Comment on attachment 248084 [details]
USE_PYTHON=pep517

Looks good to me. Thanks.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-02-15 18:44:09 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=30ede0db9a2e972730a6ca970d10528fd660a640

commit 30ede0db9a2e972730a6ca970d10528fd660a640
Author:     Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2024-01-30 05:20:44 +0000
Commit:     Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2024-02-15 18:40:54 +0000

    security/py-pycryptodome{,x}: update to 3.20.0

    - switch to USE_PYTHON=pep517
    - add math/gmp to TEST_DEPENDS to run additional GMP tests

    PR: 276357
    Approved by: John W. O'Brien <john[at]saltant[dot]com> (maintainer)

 security/py-pycryptodome/Makefile        | 13 ++++++++-----
 security/py-pycryptodome/distinfo        |  6 +++---
 security/py-pycryptodomex/Makefile       |  6 ++----
 security/py-pycryptodomex/distinfo (new) |  3 +++
 4 files changed, 16 insertions(+), 12 deletions(-)
Comment 5 Charlie Li freebsd_committer freebsd_triage 2024-02-15 18:45:43 UTC
Committed, thanks!