diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-02-06 02:16:47 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-02-06 02:16:47 +0800 |
commit | de6965254c3a007efcf697c3d455b54d2aeb2383 (patch) | |
tree | a11140f37e080730e179fc2414c9ed5b4d65316c /textproc/py-sphinx-autoapi | |
parent | textproc/py-markups: Convert to USE_PYTHON=unittest (diff) |
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change
It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].
from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir
from installer documentation:
--compile-bytecode
Possible choices: 0, 1, 2
generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
don’t generate bytecode for installed modules
Default: False
With hat: python
Reference: https://pypa-build.readthedocs.io/en/stable/ [1]
https://installer.pypa.io/en/stable/cli/installer/ [2]
Diffstat (limited to 'textproc/py-sphinx-autoapi')
-rw-r--r-- | textproc/py-sphinx-autoapi/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/textproc/py-sphinx-autoapi/Makefile b/textproc/py-sphinx-autoapi/Makefile index 9eaac2011ef2..f69857858aa8 100644 --- a/textproc/py-sphinx-autoapi/Makefile +++ b/textproc/py-sphinx-autoapi/Makefile @@ -1,5 +1,6 @@ PORTNAME= sphinx-autoapi DISTVERSION= 2.0.1 +PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |