mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
05ce062756
- bsd.pypy.mk: DISTINFO now needs to be specified based on PYTHON_IMPL - Change log: - Fix an overflow in converting int secs to nanosecs (issue 2717 ) - Using kwarg 'flag' to os.setxattr had no effect - Fix issue 2718 for the REPL
21 lines
491 B
Makefile
21 lines
491 B
Makefile
# $FreeBSD$
|
|
|
|
.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= 5.10.0
|
|
PYPY_CFFI_VER= ${PYTHON_IMPL}-41
|
|
.else # ${PYTHON_IMPL} == pypy3
|
|
DISTVERSION= 5.10.1
|
|
PYPY_CFFI_VER= ${PYTHON_IMPL}-${DISTVERSION:S|.||:C|\..*||}-${OPSYS:tl}${OSREL:C|\..*||}
|
|
.endif
|