Page MenuHomeFreeBSD

devel/py-flit-core: convert to self-hosting bootstrap
ClosedPublic

Authored by vishwin on Apr 5 2022, 12:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 9:37 PM
Unknown Object (File)
Sat, Nov 9, 10:17 PM
Unknown Object (File)
Fri, Nov 8, 11:15 PM
Unknown Object (File)
Thu, Nov 7, 9:14 PM
Unknown Object (File)
Thu, Nov 7, 9:14 PM
Unknown Object (File)
Thu, Nov 7, 4:42 AM
Unknown Object (File)
Thu, Nov 7, 4:31 AM
Unknown Object (File)
Wed, Nov 6, 7:15 PM
Subscribers

Details

Summary

This part of flit explicitly supports self-hosting.

Remove all BUILD_ and RUN_DEPENDS to allow this port to bootstrap other components needed to support PEP-517 packaging. Namely, this cannot depend on setuptools as latest setuptools (> 58) itself will eventually bootstrap from this and other components, especially after distutils is removed.

Test Plan

Still a WIP, not currently seeking approval to commit. check-stagedir.sh actually fails despite everything matching, confirmed via diff.

Successfully packages, passes QA and bootstraps its consumers.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 49581
Build 46471: arc lint + arc unit

Event Timeline

write literal path into ${TMPPLIST} as PLIST_SUBs don't work

While here, standardise on ${PYTHONPREFIX_SITELIBDIR}

move to devel/py-flit_core to follow Python ports policy, use PEP-517 framework support from D36290

  • move directory back but keep PORTNAME
  • sync version
  • devel/py-flit-core: restore PORTNAME matching PYPI

Upstream prematurely normalises PORTNAME in DISTNAME

MAINTAINER to python@ as infrastructure

vishwin retitled this revision from [WIP] devel/py-flit-core: convert to self-hosting bootstrap to devel/py-flit-core: convert to self-hosting bootstrap.Jan 13 2023, 5:55 AM
vishwin edited the summary of this revision. (Show Details)
vishwin edited the test plan for this revision. (Show Details)
vishwin added reviewers: tcberner, fluffy, arrowd. vishwin added 1 blocking reviewer(s): sunpoet.
vishwin removed a subscriber: fluffy.
devel/py-flit-core/Makefile
7

This seem to contain extra space?

devel/py-flit-core/Makefile
7

This is a tab in the raw diff, perhaps the web interface renders it weird

devel/py-flit-core: switch to DISTVERSION and simplify

hopefully no more stray paths

This revision was not accepted when it landed; it landed in state Needs Review.Feb 7 2023, 1:22 AM
This revision was automatically updated to reflect the committed changes.