Bug 286621 - textproc/py-regex: update to 2024.11.6
Summary: textproc/py-regex: update to 2024.11.6
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/mrabarnett/mrab-re...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-06 09:20 UTC by Eero Hänninen
Modified: 2025-05-06 18:20 UTC (History)
1 user (show)

See Also:


Attachments
Update to 2024.11.6 (1.68 KB, patch)
2025-05-06 09:20 UTC, Eero Hänninen
no flags Details | Diff
textproc/py-regex update to 2024.11.6 (1.73 KB, patch)
2025-05-06 17:08 UTC, Eero Hänninen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eero Hänninen 2025-05-06 09:20:22 UTC
Created attachment 260198 [details]
Update to 2024.11.6

Changes in port:
* port update to latest PyPi version
* Moved to pep517
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-06 14:42:19 UTC
1. Why "PORTREVISION?=0"?
This is typically used in master ports whose Makefile is used by slave ports.
I haven't found any ports that use the Makefile from this port.

2. Build error:
===>  Building for py311-regex-2024.11.6
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/pyproject_hooks/_impl.py", line 402, in _call_hook
    raise BackendUnavailable(
pyproject_hooks._impl.BackendUnavailable: Cannot import 'setuptools.build_meta'

ERROR Backend 'setuptools.build_meta' is not available.
*** Error code 1

Stop.
make: stopped in /usr/ports/textproc/py-regex
Comment 2 Eero Hänninen 2025-05-06 17:08:42 UTC
Created attachment 260212 [details]
textproc/py-regex update to 2024.11.6

I apologize for the faulty patch. Here is a new and corrected version. I tested the previous patch in a non-clean environment, which is why I overlooked the missing dependency.

Changes:
* Removed PORTREVISION line to make portlint happy
* Added missing dependency setuptools
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-06 17:57:21 UTC
(In reply to Eero Hänninen from comment #2)
There are 5 newer versions - why we can't update to last one 2025.2.13?
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-06 18:03:53 UTC
Tags on github, but can't download from pypi sites.
The world of python is a mystery to me. :-D
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-05-06 18:20:28 UTC
A commit in branch main references this bug:

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

commit ad8de26b42dae4212c1053687f447442873e6732
Author:     Eero Hänninen <fax@nohik.ee>
AuthorDate: 2025-05-06 18:08:14 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-05-06 18:18:33 +0000

    textproc/py-regex: Update 2024.7.24 => 2024.11.6

    Changelog:
    https://github.com/mrabarnett/mrab-regex/blob/2024.11.6/changelog.txt

    - Update to latest PyPi version.
    - Move to pep517.

    PR:     286621

 textproc/py-regex/Makefile | 8 +++++---
 textproc/py-regex/distinfo | 6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)
Comment 6 Vladimir Druzenko freebsd_committer freebsd_triage 2025-05-06 18:20:39 UTC
Thanks.