diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-02-05 18:16:47 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-02-05 18:16:47 +0000 |
commit | de6965254c3a007efcf697c3d455b54d2aeb2383 (patch) | |
tree | a11140f37e080730e179fc2414c9ed5b4d65316c /biology | |
parent | 973f951b648a14fa1e415a0be0b151ccdd11d6f5 (diff) | |
download | ports-de6965254c3a007efcf697c3d455b54d2aeb2383.tar.gz ports-de6965254c3a007efcf697c3d455b54d2aeb2383.zip |
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 'biology')
-rw-r--r-- | biology/py-resdk/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/biology/py-resdk/Makefile b/biology/py-resdk/Makefile index 8bab7800ba6a..26507db29a15 100644 --- a/biology/py-resdk/Makefile +++ b/biology/py-resdk/Makefile @@ -1,5 +1,6 @@ PORTNAME= resdk DISTVERSION= 16.0.0 +PORTREVISION= 1 CATEGORIES= biology python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |