Page MenuHomeFreeBSD

devel/py-setuptools: update to 75.1.0
Needs ReviewPublic

Authored by vishwin on Aug 6 2024, 2:16 PM.
Tags
None
Referenced Files
F110622060: D46236.id143395.diff
Fri, Feb 21, 1:07 AM
F110616921: D46236.id142553.diff
Thu, Feb 20, 11:21 PM
F110616296: D46236.id141857.diff
Thu, Feb 20, 11:08 PM
F110616021: D46236.id146588.diff
Thu, Feb 20, 11:02 PM
Unknown Object (File)
Thu, Feb 20, 7:46 AM
Unknown Object (File)
Wed, Feb 19, 5:06 AM
Unknown Object (File)
Thu, Feb 6, 8:07 PM
Unknown Object (File)
Sun, Feb 2, 11:24 PM

Details

Reviewers
None
Group Reviewers
Python
Summary

Convert to USE_PYTHON=pep517, at least so it can build on Python 3.12+. Remove old cruft in the process.

Since 71.0.0, dependencies can be de-vendored. Those listed under [core] that do not introduce circular dependencies are de-vendored accordingly.

Test capability to possibly return later.

Test Plan

exp-run after dependent PRs, see PR 270358

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 60628
Build 57512: arc lint + arc unit

Event Timeline

vishwin created this revision.
vishwin retitled this revision from devel/py-setuptools: update to 72.1.0 to devel/py-setuptools: update to 74.0.0.Aug 28 2024, 12:26 AM

devel/py-setuptools: update to 75.1.0

vishwin retitled this revision from devel/py-setuptools: update to 74.0.0 to devel/py-setuptools: update to 75.1.0.Sep 17 2024, 1:48 AM
  • devel/py-setuptools: update to 75.3.0

75.5.0 is the latest upstream but drops support for Python 3.8 and requires devel/packaging 24.2 starting 75.4.0

devel/py-setuptools/Makefile
2

Upstream is at 75.8.0

19

portclippy --strict, warns about Unknown variables, and recommends prefixing with an underscore.

24

portclippy --strict, suggests moving ${CPE_VENDOR} between ${USES} and ${USE_PYTHON}.

27

portfmt -U, suggests alphabetically sorting these, and to move more-itertools above packaging.

49

All this could be handled with ${EXTRACT_AFTER_ARGS}, which would the disk IO altogether too.

devel/py-setuptools/Makefile
49

avoid the disk IO

Suggestions poudriere-testport devel/py-setuptools:
main-amd64-default: Pass
main-i386-default: Pass
13_4-amd64-release: Pass
13_4-i386-release: Pass
14_1-amd64-release: Pass
14_1-i386-release: Pass
14_2-amd64-release: Pass
14_2-i386-release: Pass

Local patch has more changes, converting ${CORE_DEPENDS} to ${_CORE_DEPENDS} in the if/else/endif, and the commented blocks.

devel/py-setuptools/Makefile
19

`BUILD_DEPENDS= ${_CORE_DEPENDS}
RUN_DEPENDS= ${_CORE_DEPENDS}`

23

`

EXTRACT_AFTER_ARGS= ${_DIST_EXCLUDES:S,^,--exclude setuptools/_vendor/,}

`

27

`_CORE_DEPENDS= ${PYTHON_PKGNAMEPREFIX}more-itertools>=8.8:devel/py-more-itertools@${PY_FLAVOR} \

${PYTHON_PKGNAMEPREFIX}packaging>=24.2:devel/py-packaging@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0.43.0:devel/py-wheel@${PY_FLAVOR}

_DIST_EXCLUDES= importlib_metadata* importlib_resources* more_itertools* \

packaging* tomli* wheel* zipp*`