Mercurial > hgrepos > FreeBSD > ports > PyPy
comparison bsd.pypy.mk @ 61:e12dfbf0a674
Support the byte-compilation: add an extra PLIST_SUB variable
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Wed, 10 Jan 2024 18:47:48 +0100 |
| parents | 4a2bf3c9eb24 |
| children | 3ff956f569d6 |
comparison
equal
deleted
inserted
replaced
| 60:4a2bf3c9eb24 | 61:e12dfbf0a674 |
|---|---|
| 25 .else # ${PYTHON_IMPL} == pypy3 | 25 .else # ${PYTHON_IMPL} == pypy3 |
| 26 | 26 |
| 27 DISTVERSION= 7.3.14 | 27 DISTVERSION= 7.3.14 |
| 28 PYPY_CFFI_VER= ${PYTHON_IMPL_NODOT}-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} | 28 PYPY_CFFI_VER= ${PYTHON_IMPL_NODOT}-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} |
| 29 PLIST_SUB+= PYTHON_IMPL_MINOR=${PYTHON_IMPL_MINOR} \ | 29 PLIST_SUB+= PYTHON_IMPL_MINOR=${PYTHON_IMPL_MINOR} \ |
| 30 PY_VERSION_SHORT=${PY_VERSION_SHORT} | 30 PY_VERSION_SHORT=${PY_VERSION_SHORT} \ |
| 31 PYPY_BCTAG | |
| 31 | 32 |
| 32 OPTIONS_DEFINE= BYTECOMPILE | 33 OPTIONS_DEFINE= BYTECOMPILE |
| 33 OPTIONS_DEFAULT= BYTECOMPILE | 34 OPTIONS_DEFAULT= BYTECOMPILE |
| 34 | 35 |
| 35 BYTECOMPILE_DESC= Enable to build byte-compiled Python files | 36 BYTECOMPILE_DESC= Enable to build byte-compiled Python files |
| 80 .endif | 81 .endif |
| 81 .if ${PORT_OPTIONS:MFORPYIMPL39} | 82 .if ${PORT_OPTIONS:MFORPYIMPL39} |
| 82 PY_VERSION_SHORT= 3.9 | 83 PY_VERSION_SHORT= 3.9 |
| 83 PYPY_LDLIBRARY= libpypy3.9-c.so | 84 PYPY_LDLIBRARY= libpypy3.9-c.so |
| 84 PYPY_EXECUTABLE= pypy3.9-c | 85 PYPY_EXECUTABLE= pypy3.9-c |
| 86 PYPY_BCTAG= .pypy39 | |
| 85 .endif | 87 .endif |
| 86 .if ${PORT_OPTIONS:MFORPYIMPL310} | 88 .if ${PORT_OPTIONS:MFORPYIMPL310} |
| 87 PY_VERSION_SHORT= 3.10 | 89 PY_VERSION_SHORT= 3.10 |
| 88 PYPY_LDLIBRARY= libpypy3.10-c.so | 90 PYPY_LDLIBRARY= libpypy3.10-c.so |
| 89 PYPY_EXECUTABLE= pypy3.10-c | 91 PYPY_EXECUTABLE= pypy3.10-c |
| 92 PYPY_BCTAG= .pypy310 | |
| 90 .endif | 93 .endif |
| 91 | 94 |
| 92 .include <bsd.port.pre.mk> | 95 .include <bsd.port.pre.mk> |
