Bug 283668 - devel/py-p4python: update to lastest release 2024.2.2682690
Summary: devel/py-p4python: update to lastest release 2024.2.2682690
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: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-27 22:19 UTC by antonfb
Modified: 2025-01-25 17:33 UTC (History)
2 users (show)

See Also:


Attachments
diff to Makefile and distinfo (904 bytes, patch)
2024-12-27 22:21 UTC, antonfb
antonfb: maintainer-approval+
Details | Diff
revised patch - allow build with any openssl version and minor patch file diffs (4.54 KB, patch)
2024-12-30 03:09 UTC, antonfb
antonfb: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description antonfb 2024-12-27 22:19:38 UTC
Update p4 python to latest
No major changes
Comment 1 antonfb 2024-12-27 22:21:01 UTC
Created attachment 256210 [details]
diff to Makefile and distinfo

simple patch for version number and distinfo
Release notes on PyPI and ftp.perforce.com
Comment 2 Craig Leres freebsd_committer freebsd_triage 2024-12-29 18:07:26 UTC
Huh. I thought I took this PR about 10 minutes after it posted... Must have forgotten to submit or something.

The port doesn't stage with DEFAULT_VERSIONS=ssl=openssl33 and I've been working with the reporter to solve this.

    running build_ext
    Found installed SSL version OpenSSL 3.3.2 3 Sep 2024 (Library: OpenSSL 3.3.2 3 Sep 2024)

    Found installed SSL libraries /usr/local/lib
    Downloading SSL 3.3.2 source from ftp.openssl.org
    error: [Errno 8] Name does not resolve
    *** Error code 1

My build server is building for 14.2-RELEASE/amd64.
Comment 3 antonfb 2024-12-30 03:09:31 UTC
Created attachment 256288 [details]
revised patch - allow build with any openssl version and minor patch file diffs

revised patch
updates Makefile and distinfo
Updates patch files for line offsets and allow any openssl version
Also, does not attempt to download openssl from obsolete ftp.openssl.org

Changes will be passed upstream to Perforce

NOTE: Perforce does not test with openssl newer than 3.0.X but if will likely work.
Comment 4 Craig Leres freebsd_committer freebsd_triage 2024-12-31 17:51:18 UTC
The new patch builds for me with 14.2-RELEASE/amd64 with DEFAULT_VERSIONS=ssl=openssl33.
Comment 5 Craig Leres freebsd_committer freebsd_triage 2025-01-02 17:00:17 UTC
Do we think this could be committed before 2025Q1 happens? (I could take this PR and handle it if not.)
Comment 6 antonfb 2025-01-24 01:34:55 UTC
Can I get some action on this?
Either an assignee change or something?
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2025-01-24 18:41:07 UTC
I'll have look during the weekend
Comment 8 commit-hook freebsd_committer freebsd_triage 2025-01-25 17:32:58 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=59f3b797be231de7ed2800bd1f59556b9517fc43

commit 59f3b797be231de7ed2800bd1f59556b9517fc43
Author:     antonfb <antonfb@hesiod.org>
AuthorDate: 2025-01-25 17:26:37 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2025-01-25 17:31:53 +0000

    devel/py-p4python: Update to 2024.2.2682690

    Changelog: https://github.com/perforce/p4python/blob/2024.2.0/RELNOTES.txt

    PR:             283668

 devel/py-p4python/Makefile              |  2 +-
 devel/py-p4python/distinfo              |  6 +++---
 devel/py-p4python/files/patch-P4API.cpp |  6 +++---
 devel/py-p4python/files/patch-setup.py  | 28 ++++++++++++++++++++++------
 4 files changed, 29 insertions(+), 13 deletions(-)
Comment 9 Daniel Engberg freebsd_committer freebsd_triage 2025-01-25 17:33:50 UTC
Committed, thanks