diff options
author | David Naylor <dbn@FreeBSD.org> | 2015-12-09 06:57:30 +0000 |
---|---|---|
committer | David Naylor <dbn@FreeBSD.org> | 2015-12-09 06:57:30 +0000 |
commit | 250caa34dfd7a630a331694b6fb92773437a5860 (patch) | |
tree | 28413d79a4716c8d3915607f13007d9afae974d7 /lang/pypy | |
parent | 9b4e868d687665fe3de73c698777a6e2c33c4126 (diff) | |
download | ports-250caa34dfd7a630a331694b6fb92773437a5860.tar.gz ports-250caa34dfd7a630a331694b6fb92773437a5860.zip |
Notes
Diffstat (limited to 'lang/pypy')
-rw-r--r-- | lang/pypy/Makefile | 14 | ||||
-rw-r--r-- | lang/pypy/bsd.pypy.cffi.mk | 6 | ||||
-rw-r--r-- | lang/pypy/bsd.pypy.mk | 4 | ||||
-rw-r--r-- | lang/pypy/distinfo | 4 | ||||
-rw-r--r-- | lang/pypy/pkg-plist | 12 |
5 files changed, 16 insertions, 24 deletions
diff --git a/lang/pypy/Makefile b/lang/pypy/Makefile index 6aa63fa96607..4f48a4a31691 100644 --- a/lang/pypy/Makefile +++ b/lang/pypy/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= pypy -PORTVERSION= 2.6.1 +PORTVERSION= 4.0.1 # Also update bsd.pypy.cffi.mk CATEGORIES= lang python MASTER_SITES= https://bitbucket.org/pypy/pypy/get/ LOCAL/dbn/pypy DISTNAME= release-${DISTVERSION} @@ -35,7 +35,7 @@ BUILD_WRKSRC= ${WRKDIR}/build/usession-release-${DISTVERSION}-0/testing_1 MAKE_ENV+= PYPY_LOCALBASE=${LOCALBASE} USE_LDCONFIG= ${PREFIX}/${PYPY_DIR}/bin USES= gettext-runtime tar:bzip2 -WRKSRC= ${WRKDIR}/pypy-pypy-f3ad1e1e1d62 +WRKSRC= ${WRKDIR}/pypy-pypy-5f8302b8bf9f .include ".${CURDIR}/bsd.pypy.mk" .include <bsd.port.options.mk> @@ -48,13 +48,6 @@ PYTHON_CMD?= ${SETENV} PYPY_GC_MAX_DELTA=200MB ${LOCALBASE}/bin/pypy --jit loop_ USES+= python:2,build .endif -.if ${ARCH} == "i386" || ${ARCH} == "armv6" -PYPY_BITS= 32 -.elif ${ARCH} == "amd64" -PYPY_BITS= 64 -.endif -PLIST_SUB+= PYPY_BITS="${PYPY_BITS}" - pre-build: if [ ! -f ${BUILD_WRKSRC}/Makefile ]; then \ ${RM} -r ${WRKDIR}/build; \ @@ -93,8 +86,7 @@ regression-test: build pkg-plist: build ${TAR} -tf ${WRKDIR}/build/${PYPY_DIR}.tar.bz2 > ${WRKDIR}/.plist-files-gen ${REINPLACE_CMD} -e 's|^${PYPY_DIR}|%%PYPY_DIR%%|g' \ - -e 's|-${PYPY_VER}|-%%PYPY_VER%%|g' \ - -e 's|_${PYPY_BITS}_|_%%PYPY_BITS%%_|g' \ + -e 's|-${PYPY_CFFI_VER}|-%%PYPY_CFFI_VER%%|g' \ -e '/\/$$/d' \ ${WRKDIR}/.plist-files-gen ${ECHO} bin/pypy > ${WRKDIR}/pkg-plist diff --git a/lang/pypy/bsd.pypy.cffi.mk b/lang/pypy/bsd.pypy.cffi.mk index 1c699af8757f..f74c29fe13de 100644 --- a/lang/pypy/bsd.pypy.cffi.mk +++ b/lang/pypy/bsd.pypy.cffi.mk @@ -6,11 +6,11 @@ DISTFILES= BUILD_DEPENDS+= pypy:${PORTSDIR}/lang/pypy RUN_DEPENDS+= pypy:${PORTSDIR}/lang/pypy -PLIST_FILES= %%PYPY_DIR%%/lib_pypy/${CFFI_MODULE}_cffi.pypy-%%PYPY_VER%%.so +PLIST_FILES= %%PYPY_DIR%%/lib_pypy/${CFFI_MODULE}_cffi.pypy-%%PYPY_CFFI_VER%%.so CFFI_MODULE?= _${PORTNAME} -PYTHON_PORTVERSION= 2.6.1 +PYTHON_PORTVERSION= 4.0.1 PYTHON_PKGNAMEPREFIX= pypy- PYTHON_CMD= ${LOCALBASE}/bin/pypy @@ -23,4 +23,4 @@ do-build: do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/`dirname ${CFFI_MODULE}`/ - ${INSTALL_LIB} ${WRKDIR}/${CFFI_MODULE}_cffi.pypy-${PYPY_VER}.so ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/`dirname ${CFFI_MODULE}`/ + ${INSTALL_LIB} ${WRKDIR}/${CFFI_MODULE}_cffi.pypy-${PYPY_CFFI_VER}.so ${STAGEDIR}${PREFIX}/${PYPY_DIR}/lib_pypy/`dirname ${CFFI_MODULE}`/ diff --git a/lang/pypy/bsd.pypy.mk b/lang/pypy/bsd.pypy.mk index 1ce86441ee36..a723b8581a8c 100644 --- a/lang/pypy/bsd.pypy.mk +++ b/lang/pypy/bsd.pypy.mk @@ -6,5 +6,5 @@ LICENSE_COMB= multi USES+= compiler:c11 PYPY_DIR= pypy-${PORTVERSION:C|([0-9])\.([0-9]).*|\1.\2|} -PYPY_VER= ${PORTVERSION:C|([0-9])\.([0-9]).*|\1\2|} -PLIST_SUB+= PYPY_DIR=${PYPY_DIR} PYPY_VER=${PYPY_VER} +PYPY_CFFI_VER= 26 +PLIST_SUB+= PYPY_DIR=${PYPY_DIR} PYPY_CFFI_VER=${PYPY_CFFI_VER} diff --git a/lang/pypy/distinfo b/lang/pypy/distinfo index fffc8c6bb7b3..9726f9a04dd0 100644 --- a/lang/pypy/distinfo +++ b/lang/pypy/distinfo @@ -1,2 +1,2 @@ -SHA256 (pypy/release-2.6.1.tar.bz2) = cc80e04957b899fe3c5d1b0b36979a4e80b7baf98f4c660c0fca781b6f148327 -SIZE (pypy/release-2.6.1.tar.bz2) = 16828274 +SHA256 (pypy/release-4.0.1.tar.bz2) = 743928a65a3a8731a1403003729f4a5cbefeaf7841e9eb677bd2b547e98df1bc +SIZE (pypy/release-4.0.1.tar.bz2) = 17022282 diff --git a/lang/pypy/pkg-plist b/lang/pypy/pkg-plist index bf540bf0089a..e7215cc16f3e 100644 --- a/lang/pypy/pkg-plist +++ b/lang/pypy/pkg-plist @@ -2041,7 +2041,7 @@ bin/pypy %%PYPY_DIR%%/lib-python/2.7/zipfile.py %%PYPY_DIR%%/lib_pypy/__init__.py %%PYPY_DIR%%/lib_pypy/_audioop_build.py -%%PYPY_DIR%%/lib_pypy/_audioop_cffi.pypy-%%PYPY_VER%%.so +%%PYPY_DIR%%/lib_pypy/_audioop_cffi.pypy-%%PYPY_CFFI_VER%%.so %%PYPY_DIR%%/lib_pypy/_codecs_cn.py %%PYPY_DIR%%/lib_pypy/_codecs_hk.py %%PYPY_DIR%%/lib_pypy/_codecs_iso2022.py @@ -2066,7 +2066,7 @@ bin/pypy %%PYPY_DIR%%/lib_pypy/_ctypes_test.py %%PYPY_DIR%%/lib_pypy/_curses.py %%PYPY_DIR%%/lib_pypy/_curses_build.py -%%PYPY_DIR%%/lib_pypy/_curses_cffi.pypy-%%PYPY_VER%%.so +%%PYPY_DIR%%/lib_pypy/_curses_cffi.pypy-%%PYPY_CFFI_VER%%.so %%PYPY_DIR%%/lib_pypy/_curses_panel.py %%PYPY_DIR%%/lib_pypy/_elementtree.py %%PYPY_DIR%%/lib_pypy/_ffi.py @@ -2075,7 +2075,7 @@ bin/pypy %%PYPY_DIR%%/lib_pypy/_marshal.py %%PYPY_DIR%%/lib_pypy/_md5.py %%PYPY_DIR%%/lib_pypy/_pwdgrp_build.py -%%PYPY_DIR%%/lib_pypy/_pwdgrp_cffi.pypy-%%PYPY_VER%%.so +%%PYPY_DIR%%/lib_pypy/_pwdgrp_cffi.pypy-%%PYPY_CFFI_VER%%.so %%PYPY_DIR%%/lib_pypy/_pypy_interact.py %%PYPY_DIR%%/lib_pypy/_pypy_irc_topic.py %%PYPY_DIR%%/lib_pypy/_pypy_testcapi.py @@ -2089,7 +2089,7 @@ bin/pypy %%PYPY_DIR%%/lib_pypy/_structseq.py %%PYPY_DIR%%/lib_pypy/_subprocess.py %%PYPY_DIR%%/lib_pypy/_syslog_build.py -%%PYPY_DIR%%/lib_pypy/_syslog_cffi.pypy-%%PYPY_VER%%.so +%%PYPY_DIR%%/lib_pypy/_syslog_cffi.pypy-%%PYPY_CFFI_VER%%.so %%PYPY_DIR%%/lib_pypy/_testcapi.py %%PYPY_DIR%%/lib_pypy/_testcapimodule.c %%PYPY_DIR%%/lib_pypy/_tkinter/__init__.py @@ -2145,9 +2145,9 @@ bin/pypy %%PYPY_DIR%%/lib_pypy/cffi/vengine_gen.py %%PYPY_DIR%%/lib_pypy/cffi/verifier.py %%PYPY_DIR%%/lib_pypy/ctypes_config_cache/__init__.py -%%PYPY_DIR%%/lib_pypy/ctypes_config_cache/_locale_%%PYPY_BITS%%_.py +%%PYPY_DIR%%/lib_pypy/ctypes_config_cache/_locale_64_.py %%PYPY_DIR%%/lib_pypy/ctypes_config_cache/_locale_cache.py -%%PYPY_DIR%%/lib_pypy/ctypes_config_cache/_resource_%%PYPY_BITS%%_.py +%%PYPY_DIR%%/lib_pypy/ctypes_config_cache/_resource_64_.py %%PYPY_DIR%%/lib_pypy/ctypes_config_cache/_resource_cache.py %%PYPY_DIR%%/lib_pypy/ctypes_config_cache/dumpcache.py %%PYPY_DIR%%/lib_pypy/ctypes_config_cache/locale.ctc.py |