Bug 276357 - security/py-pycryptodome{,x}: Update to 3.20.0
Summary: security/py-pycryptodome{,x}: Update to 3.20.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/Legrandin/pycrypto...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 20:58 UTC by John W. O'Brien
Modified: 2024-02-15 18:45 UTC (History)
4 users (show)

See Also:


Attachments
security/py-pycryptodome{,x}: Update to 3.20.0 (935 bytes, text/plain)
2024-01-15 20:58 UTC, John W. O'Brien
john: maintainer-approval+
Details
USE_PYTHON=pep517 (3.13 KB, patch)
2024-01-30 23:44 UTC, Charlie Li
john: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!