Mercurial > hgrepos > FreeBSD > ports > PyPy
diff lang/pypy2/Makefile @ 206:7f8d6a19c404
Rename port options regarding translation: they now have all a TRANS_ prefix.
This is to remove possible clashes with other PYTHON-related port options
and variables.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 14 Mar 2025 01:16:50 +0100 |
| parents | 8b567a874360 |
| children |
line wrap: on
line diff
--- a/lang/pypy2/Makefile Thu Mar 13 21:06:09 2025 +0100 +++ b/lang/pypy2/Makefile Fri Mar 14 01:16:50 2025 +0100 @@ -30,24 +30,24 @@ USES= compiler:c11 gettext-runtime gmake shebangfix ssl tar:bzip2 USE_LDCONFIG= ${PREFIX}/${PYPY_DIR}/bin -OPTIONS_DEFINE= BYTECOMPILE -OPTIONS_DEFAULT= BYTECOMPILE PYTHON -OPTIONS_SINGLE= TRANS -OPTIONS_SINGLE_TRANS= PYTHON PYPY PYPY_MINMEM -OPTIONS_SUB= yes +OPTIONS_DEFINE= BYTECOMPILE +OPTIONS_DEFAULT= BYTECOMPILE TRANS_PYTHON +OPTIONS_SINGLE= TRANS +OPTIONS_SINGLE_TRANS= TRANS_PYTHON TRANS_PYPY TRANS_PYPY_MINMEM +OPTIONS_SUB= yes BYTECOMPILE_DESC= Enable to build byte-compiled Python files -TRANS_DESC= Translation method -PYTHON_DESC= Use Python-2.7 to translate (slowest) -PYPY_DESC= Use PyPy to translate (fastest, highest memory usage) -PYPY_MINMEM_DESC= Use PyPy to translate (lowest memory usage) +TRANS_DESC= Translation method +TRANS_PYTHON_DESC= Use Python-2.7 to translate (slowest) +TRANS_PYPY_DESC= Use PyPy to translate (fastest, highest memory usage) +TRANS_PYPY_MINMEM_DESC= Use PyPy to translate (lowest memory usage) -PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:devel/py-pycparser@${PY_FLAVOR} -PYTHON_USES= python:2.7,build -PYPY_BUILD_DEPENDS= pypy2:lang/pypy2 -PYPY_VARS= PYTHON_CMD=${LOCALBASE}/bin/pypy -PYPY_MINMEM_BUILD_DEPENDS= pypy2:lang/pypy2 -PYPY_MINMEM_VARS= PYTHON_CMD="${SETENV} PYPY_GC_MAX_DELTA=200MB ${LOCALBASE}/bin/pypy --jit loop_longevity=300" +TRANS_PYTHON_USES= python:2.7,build +TRANS_PYTHON_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycparser>=2.10:devel/py-pycparser@${PY_FLAVOR} +TRANS_PYPY_BUILD_DEPENDS= pypy2:lang/pypy2 +TRANS_PYPY_VARS= PYTHON_CMD=${LOCALBASE}/bin/pypy +TRANS_PYPY_MINMEM_BUILD_DEPENDS= pypy2:lang/pypy2 +TRANS_PYPY_MINMEM_VARS= PYTHON_CMD="${SETENV} PYPY_GC_MAX_DELTA=200MB ${LOCALBASE}/bin/pypy --jit loop_longevity=300" PYPY_TAG= pypy PYPY_DIR= ${PYPY_TAG}-${DISTVERSION:C|([0-9]+)\.([0-9]+).*|\1.\2|}
