49 Commits

Author SHA1 Message Date
tb
89e9a397cc lang/pypy: fix build after libressl bump. Neuter API reimplementations
and do not try to redefine functions that we provide.
2021-10-31 17:16:48 +00:00
tb
09c248f3a4 lang/pypy: fix build after libressl changes
SSL_CTX became opaque, so libssl now provides SSL_CTX_get_ssl_method(3)
and unbreak build after addition of EVP_Digest{Sign,Verify}(3) to
libcrypto.

ok edd (previous version)
2021-05-10 17:26:04 +00:00
tb
f855b969df lang/pypy: SSL_OP_NO_DTLSv1{,_2} were added to libcrypto
ok edd jsing sthen
2021-03-31 17:17:25 +00:00
sthen
3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00
sthen
248932be74 switch MODPY_BIN_SUFFIX to -2 for py2 and (blank) for py3
switch ports using command-line tools from py-sphinx that don't need a
py2 version of it to py3-sphinx
2021-02-19 23:13:00 +00:00
edd
57f4f4d0b8 Update lang/pypy to version 7.3.1.
OK tb@, thanks!
2020-09-09 09:39:13 +00:00
tb
b00e353659 Ensure pypy is ready for LIBRESSL_HAS_TLS1_3
Instead of checking for LIBRESSL_HAS_TLS1_3 directly, check for
availability of TLS1_3_VERSION in case we're using LibreSSL as
requested by jsing.

ok edd
2020-09-07 09:32:18 +00:00
sthen
00d49f21cc pypy: use new bootstrap for aarch64 2020-04-18 10:15:26 +00:00
sthen
ad4e039860 lang/pypy: temporarily switch aarch64 to the no_bootstrap flavour
I'll build a new bootstrap once packages are done
2020-04-16 10:30:08 +00:00
sthen
24374e1d1c mark BROKEN-aarch64 for now, needs a new bootstrap (ABI change earlier,
resulting in "Trace/BPT trap (core dumped)" from old binaries)
2020-04-14 21:44:01 +00:00
sthen
0b4edac220 put back an ".if defined(BOOTSTRAP-${MACHINE_ARCH}) [..]" with a comment
explaining why it's needed
2019-11-19 21:45:45 +00:00
sthen
bfecb66105 update to pypy-7.2.0, adding aarch64 support.
maintainer timeout
2019-11-19 13:50:24 +00:00
sthen
8048506368 missing BDEP for FLAVOR=no_bootstrap, use https HOMEPAGE while there 2019-10-07 16:16:09 +00:00
kn
c3efcb09f4 Use find -delete and Python's -m compileall properly
Replace xargs dances with cleaner builtin options;  no PLIST change.

Input and OK sthen
2019-09-22 20:15:51 +00:00
edd
e6f7740085 Update lang/pypy to version 7.1.1.
Diff from Laurence Tratt. Tested by myself and kn@.

OK kn@, thanks all.
2019-09-22 11:37:04 +00:00
sthen
3318ced016 replace simple PERMIT_PACKAGE_CDROM=Yes with PERMIT_PACKAGE=Yes 2019-07-12 20:46:54 +00:00
edd
8f98c00539 Update lang/pypy to 6.0.0.
Thanks to David Carlier for his alloc_noexec patch.

Tested and OK'd by naddy@. Thanks

Naddy also reports that this fixes the build with lld!
2018-10-21 13:29:47 +00:00
stu
5e8fc5b809 Only one of MODULES lang/tcl or x11/tk should be used, not both.
ok sthen@
2018-07-25 14:07:48 +00:00
sthen
bae4163bae regen lang/pypy's bootstrap; the libutil symbol visibility changes resulted
in the old one no longer working:

08:59 < aja> pypy:/usr/lib/libutil.so.13.0: undefined symbol 'freezero'
08:59 < aja> pypy:/usr/lib/libutil.so.13.0: undefined symbol 'recallocarray'
2017-12-15 16:47:34 +00:00
naddy
11e3dd67b3 switch COMPILER from the old, confusing shortcuts to the more explicit format 2017-11-16 23:20:37 +00:00
espie
cc5bc426ed switch everything to new COMPILER idiom, even stuff that won't build with clang
yet, but at least that part is done.
2017-05-31 08:08:15 +00:00
espie
eec06ab36c surprisingly this builds just fine with clang 2017-05-23 20:55:13 +00:00
sthen
564c6c344a Cope with moving sqlite3 back to ports. 2016-09-23 09:16:52 +00:00
edd
dc750b461a lang/pypy: Fix build for W^X and update to 5.3.1.
Note that the W^X patch only makes the CPython-based no_bootstrap build work,
and that the PyPy JIT itself is still not W^X compliant. This will require more
work.

OK jca@, thanks.
2016-08-15 09:16:40 +00:00
edd
c4d20176e7 lang/pypy: Update to 5.3.0.
Looks OK, jca@, thanks.
2016-06-13 08:44:17 +00:00
naddy
6f714c33b8 the no_bootstrap build uses 6.5 GB of memory 2016-05-09 11:18:00 +00:00
sthen
d10171af89 - add new pypy bootstrap for TIB, prepared by naddy
- raise minimum amount of memory in the ulimit check to 5GB (the no_bootstrap
flavour uses even more, usually crashing the kernel on my 8GB workstation if
I try to build it there)
2016-05-08 09:56:01 +00:00
edd
25ee3547f9 lang/pypy: Update to 5.0.1.
Reads OK, sthen@
2016-04-19 11:14:54 +00:00
sthen
e960c1656c regenerate bootstrap 2016-03-26 12:11:51 +00:00
edd
74d450322f Update lang/pypy to 4.0.1.
OK juanfra@. Thanks.
2016-01-20 14:05:12 +00:00
sthen
97889e162c switch my distfiles mirror to https 2015-12-03 21:24:29 +00:00
edd
2ce8b1c44c Regenerate lang/pypy bootstrap.
Fixes build.

OK sthen@, thanks.
2015-10-30 16:27:06 +00:00
edd
c7e37a9a24 Update PyPy to 2.6.0.
Thanks sthen@ for hosting the bootstrap.

OK jca@
2015-08-27 14:21:32 +00:00
pascal
f0585aa4cf gcc4 bumps, reminded by aja@ 2015-05-28 10:17:22 +00:00
sthen
c544df9ebc Regenerate the pypy bootstrap for new libc/pthread, the previous one
had problems for at least naddy and myself after updating libc/pthread.
(Simple in this case; the bootstrap is just here to use pypy [i.e. JIT]
during build to save time/RAM, pypy can also be built using the normal
python interpreter). ok edd@
2015-04-09 10:34:28 +00:00
edd
8bfa832fe2 Update lang/pypy to 2.5.1.
OK sthen@, thanks.
2015-04-05 11:15:07 +00:00
edd
7006e320f9 Update to PyPy-2.4.0.
OK benoit@
2014-12-13 13:53:18 +00:00
edd
63f6833d65 Update lang/pypy to 2.3.1.
OK sthen@
2014-07-18 08:48:37 +00:00
sthen
b18e4ff3d8 handle RAND_egd removal (may require further tweaking but at least it builds now..) 2014-04-24 21:44:07 +00:00
edd
d2a6b019a4 Update to PyPy-2.2.1 and remove dependency upon libcompat.a and headers.
Tested by naddy@.

OK naddy@ and juanfra@.
2013-12-04 21:56:21 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
sthen
69b0b66c54 update to pypy 2.1, testing/help edd@ and Laurie Tratt (maintainer) 2013-09-19 08:39:30 +00:00
sthen
62b6f7ba6b regenerate bootstrap 2013-08-16 22:04:41 +00:00
sthen
5185986756 Run compileall.py to build .pyc files for the libraries and include them in
the package; this avoids them getting created if you run pypy as root, which
results in pkg_delete leaving things behind. From maintainer Laurie Tratt.
2013-06-19 13:07:38 +00:00
sthen
b14e512c44 tweak warning when datasize limit is too low. 2013-06-19 13:04:23 +00:00
sthen
f3fd87be2a don't try and add the bootstrap to DISTFILES unless 1) there is actually
a bootstrap for our arch and 2) we are actually using it (i.e. !no_bootstrap).
2013-06-16 21:17:22 +00:00
sthen
14434f88c6 oops, didn't mean to switch to gcc 4.8, spotted by Juan Francisco Cantero Hurtado 2013-06-15 21:40:16 +00:00
sthen
fd8a80fddd - switch the pypy build to using a binary bootstrap of pypy instead of
python 2.7 to run the translations; this saves ~1.3GB RAM and runs much
faster. as this is optional, a new no_bootstrap pseudo-flavour allows
rebuilding bootstraps from scratch to help with flag days.

- also check early that the datasize limit is reasonable for the build;
no point swapping for ages and then running out of ram.

discussed with Laurie Tratt (maintainer).
2013-06-15 16:47:58 +00:00
edd
09b0e0dfde Import PyPy
"A fast, compliant alternative implementation of the Python language"

From Laurence Tratt with input from sthen@ and myself.

OK sthen@: "ok sthen who says that beck should add it to torture"
2013-06-11 22:10:46 +00:00