1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/lang/python310
Charlie Li c17ddfbf66
lang/python: add bytecode trigger
Facilitates compiling, writing and removing bytecode files (.pyc)
in site-packages after all pkg transactions have been completed.

Technical details: https://wiki.freebsd.org/Python/CompiledPackages

Fixes reports of Python port builds as root failing on filesystem
violations due to bytecode file writes where the port did not include
them in the package.

For those ports/packages that currently package bytecode, some
checksum mismatches on those files may occur. This is harmless and
will be rectified, in large as part of a USE_PYTHON=distutils
overhaul to reduce churn.

While here, implement a long-standing todo item of letting lang/python
ports use python.mk bits. Not only does this obviate duplicate
variables in each Makefile, but SUB_LIST (also added) is used for
these triggers.

Co-authored by: tcberner
Approved by: tcberner (mentor)
Differential Revision: https://reviews.freebsd.org/D34739
2023-02-15 16:35:07 -05:00
..
files lang/python: add bytecode trigger 2023-02-15 16:35:07 -05:00
distinfo lang/python310: Update to 3.10.10 2023-02-09 20:01:02 +08:00
Makefile lang/python: add bytecode trigger 2023-02-15 16:35:07 -05:00
Makefile.version lang/python310: Update to 3.10.10 2023-02-09 20:01:02 +08:00
pkg-descr Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
pkg-plist lang/python310: Update to 3.10.10 2023-02-09 20:01:02 +08:00