FreeBSD ports tree (read-only mirror)
Find a file
Charlie Li f5890bd3cb
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode"
Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.

Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added,
removed, or changed between versions of Python," thus "should not
be considered to work across Python VMs or Python releases." [2]
This is important to ensuring correctness for those ports specifying
NO_ARCH.

Instead of compiling and installing bytecode at stage/package time,
there is a WIP, review D34739, that compiles and installs bytecode
at install time instead, using triggers.

The aforementioned build_fs_violations will be investigated.

This reverts commit de6965254c.

With hat:	python
Approved by:	tcberner (mentor, portmgr)
Reference:	https://wiki.freebsd.org/Python/PEP-517 [0]
		https://packaging.python.org/en/latest/specifications/binary-distribution-format/ [1]
		https://docs.python.org/3/library/dis.html [2]
2023-02-05 14:05:02 -05:00
.hooks Component: git hooks 2023-01-12 22:09:50 +01:00
accessibility KDE: Update KDE Gear to 22.12.2 2023-02-02 14:26:22 +01:00
arabic */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
archivers archivers/unrar: Update to 6.20 2023-02-05 23:47:41 +08:00
astro KDE: Update KDE Gear to 22.12.2 2023-02-02 14:26:22 +01:00
audio Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
base Remove WWW entries moved into port Makefiles 2022-09-07 23:58:51 +02:00
benchmarks benchmarks/ddosify: Update to 0.13.2 2023-02-04 19:52:56 +01:00
biology Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
cad Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
chinese */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
comms comms/grig: update grig to use latest hamlib, fixed missing distinfo 2023-02-01 17:26:29 -05:00
converters converters/osm2pgsql: update 1.7.2 → 1.8.0 2023-01-31 19:12:51 +03:00
databases databases/rubygem-mysql2: Update to 0.5.5 2023-02-05 23:50:09 +08:00
deskutils deskutils/when: Fix fetch 2023-02-05 23:47:41 +08:00
devel Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
dns Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
editors editors/retext: Update USES=python 2023-02-05 23:50:11 +08:00
emulators emulators/yuzu: update to s20230203 2023-02-04 00:28:26 +00:00
finance finance/py-finnhub-python: Update 2.4.15 → 2.4.16 2023-02-04 01:03:02 -08:00
french */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
ftp ftp/curl: Fix OPENSSL_CONFIGURE_WITH 2023-02-03 14:50:47 +01:00
games games/py-mnemosyne: Fix distinfo 2023-02-05 12:50:39 +00:00
german */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
graphics Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
hebrew */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
hungarian */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
irc KDE: Update KDE Gear to 22.12.2 2023-02-02 14:26:22 +01:00
japanese */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
java java/eclipse-pydev: update to 10.1.3 2023-02-04 10:16:19 +03:00
Keywords
korean */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
lang lang/gcc12-devel: Update to 12.2.1.s20230204 2023-02-05 15:49:06 +01:00
mail mail/rubygem-premailer: Update to 1.19.0 2023-02-05 23:50:11 +08:00
math math/gap: Fix incorrect substitution 2023-02-05 23:50:14 +08:00
misc Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
Mk Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
multimedia multimedia/totem: Add missing @${PY_FLAVOR} 2023-02-05 23:50:14 +08:00
net net/p5-Net-SIP: Update to 0.835 2023-02-05 23:50:07 +08:00
net-im net-im/signal-desktop: Update to 6.4.1 2023-02-05 16:22:43 +01:00
net-mgmt net-mgmt/netbox: Fix typo 2023-02-05 23:50:15 +08:00
net-p2p KDE: Update KDE Gear to 22.12.2 2023-02-02 14:26:22 +01:00
news news/inn-current: Update to 20230131 2023-02-03 19:59:50 -07:00
polish */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
ports-mgmt ports-mgmt/pkg_replace: update to 20230202 2023-02-04 19:51:08 +01:00
portuguese */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
print KDE: Update KDE Gear to 22.12.2 2023-02-02 14:26:22 +01:00
russian */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
science science/eccodes: Enable AEC option by default 2023-02-06 02:16:41 +08:00
security Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
shells shells/ksh-devel: Fix typo 2023-01-28 13:24:04 -08:00
sysutils Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
Templates
textproc Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
Tools Tools/scripts/add-port-to-category-makefile.sh: Add export LC_ALL=C 2023-01-30 22:03:59 -08:00
ukrainian */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
vietnamese */libreoffice*: update to 7.5.0 release (+) 2023-02-04 11:43:03 +03:00
www Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode" 2023-02-05 14:05:02 -05:00
x11 x11/xdg-desktop-portal-hyprland: update to s20230203 2023-02-04 21:45:18 +00:00
x11-clocks KDE: Update KDE Gear to 22.12.2 2023-02-02 14:26:22 +01:00
x11-drivers x11-drivers/xf86-video-intel: switch to crocus DRI after 23e4dce35c 2023-02-05 06:13:52 +00:00
x11-fm KDE: Update KDE Gear to 22.12.2 2023-02-02 14:26:22 +01:00
x11-fonts x11-fonts/py-opentypespec: Update to 1.9.1 2023-01-30 21:00:28 +08:00
x11-servers x11-servers/xwayland-devel: update to 21.0.99.1.385 2023-02-05 10:16:21 +00:00
x11-themes x11-themes/gnome-icons-elementary: update to 7.2.0 2023-01-26 19:02:00 +01:00
x11-toolkits x11-toolkits/wlroots015: backport touchscreen fixes for x11-wm/phoc 2023-02-01 18:15:42 +00:00
x11-wm x11-wm/pekwm: update to 0.3.0 2023-02-04 19:46:39 +01:00
.arcconfig
.gitignore
CHANGES python.mk: introduce USE_PYTHON=pep517 for PEP-517 support 2023-01-11 00:22:16 -05:00
CONTRIBUTING.md
COPYRIGHT Happy New Year 2023! 2023-01-01 13:54:56 +08:00
GIDs www/hedgedoc: NEW PORT web-hosted markdown doc editor 2023-01-19 10:27:18 +00:00
Makefile Makefile: Fix c3997397a0 2022-10-03 10:18:07 +08:00
MOVED audio/owntone: DAAP (iTunes), MPD (Music Player Daemon) and RSP (Roku) media server 2023-02-01 20:10:49 +01:00
README
UIDs www/hedgedoc: NEW PORT web-hosted markdown doc editor 2023-01-19 10:27:18 +00:00
UPDATING UPDATING: Fix typo 2023-01-31 07:51:44 +08:00

This is the FreeBSD Ports Collection.  For an easy to use
WEB-based interface to it, please see:

	https://www.FreeBSD.org/ports

For general information on the Ports Collection, please see the
FreeBSD Handbook ports section which is available from:

	https://docs.freebsd.org/en/books/handbook/ports/
		for the latest official version
	or:
	The ports(7) manual page (man ports).

These will explain how to use ports and packages.

If you would like to search for a port, you can do so easily by
saying (in /usr/ports):

	make search name="<name>"
	or:
	make search key="<keyword>"

which will generate a list of all ports matching <name> or <keyword>.
make search also supports wildcards, such as:

	make search name="gtk*"

For information about contributing to FreeBSD ports, please see the Porter's
Handbook, available at:

	https://docs.freebsd.org/en/books/porters-handbook/

NOTE:  This tree will GROW significantly in size during normal usage!
The distribution tar files can and do accumulate in /usr/ports/distfiles,
and the individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.  /usr/ports/distfiles can also be periodically
cleaned without ill-effect.