Mercurial > hgrepos > FreeBSD > ports > PyPy
view bsd.pypy.mk @ 13:cac5ab348000
FIX: This is because this is the master port for pypy3 also: build PyPy3 for Python 3.8.
This is not beta quality any more.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 01 Oct 2022 14:14:27 +0200 |
| parents | c269f1e91387 |
| children | 3e54ae4e5d8b |
line wrap: on
line source
.if !defined(LICENSE) LICENSE= MIT PSFL LICENSE_COMB= multi .endif USES+= compiler:c11 PYTHON_IMPL?= ${PORTNAME} PYPY_DIR= ${PYTHON_IMPL}-${DISTVERSION:C|([0-9])\.([0-9]+).*|\1.\2|} PLIST_SUB+= PYPY_DIR=${PYPY_DIR} PYPY_CFFI_VER=${PYPY_CFFI_VER} .if ${PYTHON_IMPL} == pypy DISTVERSION= 7.3.9 PYPY_CFFI_VER= ${PYTHON_IMPL}-73 .else # ${PYTHON_IMPL} == pypy3 DISTVERSION= 7.3.9 PYPY_CFFI_VER= ${PYTHON_IMPL}8-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} .endif
