Mercurial > hgrepos > FreeBSD > ports > PyPy
diff bsd.pypy.mk @ 2:5797a1bc38cb origin
ADD: the latest easily available port of lang/pypy
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 28 Sep 2022 22:14:32 +0200 |
| parents | |
| children | c269f1e91387 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bsd.pypy.mk Wed Sep 28 22:14:32 2022 +0200 @@ -0,0 +1,22 @@ +# $FreeBSD: head/lang/pypy/bsd.pypy.mk 541232 2020-07-04 18:11:42Z zeising $ + +.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.0 +PORTREVISION= 1 +PYPY_CFFI_VER= ${PYTHON_IMPL}-73 +.else # ${PYTHON_IMPL} == pypy3 +DISTVERSION= 7.3.0 +PORTREVISION= 1 +PYPY_CFFI_VER= ${PYTHON_IMPL}6-pp${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||} +.endif
