The NetBSD Project

CVS log for pkgsrc/lang/python/wheel.mk

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / lang / python

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.27: download - view: text, markup, annotated - select for diffs
Sun Nov 8 12:39:58 2026 UTC (7 days, 19 hours ago) by ryoon
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
lang/python: Remove an extra slash between DESTDIR and PREFIX

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu May 28 03:58:33 2026 UTC (5 months, 2 weeks ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -5 lines
python: cleanup, reviewed by @wiz

Revision 1.25: download - view: text, markup, annotated - select for diffs
Mon Apr 27 22:38:34 2026 UTC (6 months, 2 weeks ago) by gdt
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +4 -2 lines
lang/python/wheel.mk: Clarify PY_RENAME_BINARIES

Use "files" not "binaries" as this works with python scripts :-).

Don't parenthesize ("in $PREFIX}/bin") because that's a critical
definition, not a reminder.

Suggest adding ALTERNATIVES for cases when the program would be run by
humans expecting an unversioned name.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Wed Apr 1 20:40:06 2026 UTC (7 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +2 -2 lines
python: pkglint fix

Revision 1.23: download - view: text, markup, annotated - select for diffs
Wed Apr 1 20:35:38 2026 UTC (7 months, 2 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +11 -1 lines
python: add PY_RENAME_BINARIES variable

This will rename the listed binaries in ${PREFIX}/bin from "foo" to
"foo-${PYVERSSUFFIX}", e.g. "foo-3.14.

This will allow us to get rid of a lot of post-install targets in
Python packages.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Sun May 11 19:34:25 2025 UTC (18 months ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -1 lines
lang/python/wheel.mk: Explain lack of USE_PKG_RESOURCES

(This is a comment-only change.)

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Apr 11 22:07:54 2025 UTC (19 months ago) by gdt
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +3 -1 lines
lang/python: Note that py-test is the standard approach

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Feb 2 15:26:12 2025 UTC (21 months, 1 week ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2025Q1-base, pkgsrc-2025Q1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -1 lines
lang/python: Add poetry-core example also

Most packages that use poetry need only poetry-core.  Add an example,
before the poetry (full) example (which I added because of a package
that really did need the full package).

(This is a comment-only change.)

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Feb 2 10:38:01 2025 UTC (21 months, 1 week ago) by he
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -1 lines
lang/python and a number of python packages: re-do atomic64.mk issue.

Evidently, python 3.13 brought in the need to support 64-bit atomics.
This means that python extension packages built with C needs to
use mk/atomic64.mk to make -latomic available on the required 32-bit
ports.  Sadly, there is no reliable way to detect in the .mk files
whether the package is using C (or C++), so this change adds an
unconditional include of mk/atomic64.mk when the python version is
equal to or larger than 3.13 for packages using egg.mk or wheel.mk.

This undoes the individual package Makefile inclusions of mk/atomic64.mk
that I've added over the last few days.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Sat Feb 1 15:40:43 2025 UTC (21 months, 1 week ago) by gdt
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -2 lines
lang/python/wheel.mk: Give example TOOL_DEPENDS for poetry

(This is a comment-only change.)

Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jan 23 19:31:43 2025 UTC (21 months, 3 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +15 -3 lines
lang/python/wheel.mk: Support cross-builds with py-installer.

This relies on our patch to py-installer for the `--executable'
option.  The newer dependency is limited to cross-building.

No change to native builds intended -- the extra arguments passed are
empty for native builds.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Thu Jan 16 23:21:51 2025 UTC (21 months, 4 weeks ago) by gutteridge
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -5 lines
python/wheel.mk: document WHEEL_NAME

While here, touch up some grammar and make style more consistent.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Nov 14 15:08:25 2024 UTC (2 years ago) by gdt
Branches: MAIN
CVS tags: pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +14 -6 lines
lang/python: Update comment about needed build systems

Setuptools now can create wheels (per py-wheel upstream README, and
actually trying it).

Clarify discussion of PEP-518: While the default is setuptools and
wheel if pyproject.toml doesn't have a build section, the actual
default expectation is now only (non-ancient) setuptools.

Give an example of the needed TOOL_DEPENDS; the point of
lang/python/foo.mk is to be easy to use and to abstract the repetitive
details.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Tue Jan 23 19:59:25 2024 UTC (2 years, 9 months ago) by adam
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +11 -10 lines
wheel.mk: introduce PYSETUPSUBDIR

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Jan 9 22:48:13 2024 UTC (2 years, 10 months ago) by gutteridge
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +6 -1 lines
wheel.mk: explain that including this does not pull in py-wheel

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 7 17:59:17 2023 UTC (2 years, 11 months ago) by thor
Branches: MAIN
CVS tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -2 lines
lang/python/wheel.mk: add WHEEL_ARGS to influence build

This allows passing things like -Csetup-args=-Dfoo=bar which may be
needed for build configuration.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Oct 29 22:50:35 2023 UTC (3 years ago) by wiz
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +11 -1 lines
python: wheel.mk: add default test target using py-test

If you want to define your own, define a do-test or set USE_PYTEST to no

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Oct 28 19:57:10 2023 UTC (3 years ago) by wiz
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +18 -65 lines
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Jul 2 13:01:21 2023 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
lang/python/wheel.mk: Bump pip dependency version for --executable.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Jun 27 10:31:21 2023 UTC (3 years, 4 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +6 -3 lines
lang/python: Handle TOOLBASE/LOCALBASE split.

New TOOL_PYTHONBIN is for executing at build-time, old PYTHONBIN is
a path that will work at run-time and can be baked into the package.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 22 19:32:41 2022 UTC (4 years, 5 months ago) by kleink
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +4 -1 lines
wheel.mk: Also substitute PYVERSSUFFIX for FILES_SUBST.

ok wiz

Revision 1.6: download - view: text, markup, annotated - select for diffs
Mon Feb 7 15:39:35 2022 UTC (4 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1 lines
wheel.mk: also substitute PYVERSSUFFIX

Revision 1.5: download - view: text, markup, annotated - select for diffs
Tue Jan 25 21:51:41 2022 UTC (4 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -3 lines
wheel.mk: no pyo files for wheels

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Jan 25 13:21:21 2022 UTC (4 years, 9 months ago) by wiz
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +14 -1 lines
python/wheel.mk: add PLIST code for pyc/pyo

TODO: clean up/merge with extension.mk

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jan 13 21:23:25 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
wheel.mk: build: use long options for readability

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jan 13 09:49:35 2022 UTC (4 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -2 lines
wheel: use --no-cache-dir when calling pip

Avoids a warning, and we don't want to use it anyway

Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Jan 11 21:37:06 2022 UTC (4 years, 10 months ago) by nros
Branches: MAIN
Add lang/python/wheel.mk to support python packages using pep517(pyproject.toml)

support using pep517 and pep518 style building in python packages.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>