4 Commits

Author SHA1 Message Date
David Naylor
bce7563401 lang/pypy: update to 5.3.1.
- Fix LICENSE for databases/pypy-gdbm (GPLv2+).
 - Add support for a slave port (i.e. the upcoming pypy3):
   - Allow select variables to be overridden by slave port.
   - Allow slave port to have its own distinfo and pkg-plist files.
   - Depend on lang/pypy if translating with PYPY or PYPY_MINMEM options.
 - Strip bundled cffi .so files.

ChangeLog:
 - Highlighted changes
   - Major improvements in the C-API compatibility layer
   - Complete support for lxml
   - Passing 95%+ of numpy's test suite
   - Scipy and matplotlib builds and runs
   - cffi updated to 1.7
 - New features:
   - Merge a major expansion of the C-API support in cpyext, also expand cpyext
     tests to allow running them after translation as well as untranslated
   - Instead of ?GIL not held when a CPython C extension module calls PyXxx?, we
     now silently acquire/release the GIL. Helps with C extension modules that
     call some PyXxx() functions without holding the GIL (arguably, they are
     theoretically buggy).
   - Support command line -v to trace import statements
   - Revive traceviewer, a tool to use pygame to view traces
 - Numpy via our internal _numpypy module:
   - Implement ufunc.outer
   - Move PyPy-specific numpypy headers to a subdirectory (also changed the repo
     accordingly)
 - Performance improvements:
   - Use bitstrings to compress lists of descriptors that are attached to an
     EffectInfo
   - Remove most of the _ovf, _zer and _val operations from RPython. Kills quite
     some code internally, and allows the JIT to do better optimizations: for
     example, app-level code like x / 2 or x % 2 can now be turned into x >> 1
     or x & 1, even if x is possibly negative.
   - Rework the way registers are moved/spilled in before_call()
 - Internal refactorings:
   - Refactor code to better support Python3-compatible syntax
   - Reduce the size of generated C sources during translation by eliminating
     many many unused struct declarations (Issue #2281)
   - Reduce the size of generated code by using the same function objects in all
     generated subclasses
   - Share cpyext Py* function wrappers according to the signature, shrinking
     the translated libpypy.so by about 10% (without the JIT)
2016-07-21 06:02:04 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
David Naylor
975bf27a8f lang/pypy: unbreak build on i386 and armv6
- Add back PYPY_BITS as it is required to define the names of two files,
   depending if pypy is translated for 32 or 64 bit systems [1].
 - Change maintainership to python@ [2][3][4]

Reported by:	pkg-fallout [1]
Approved by:	koobs@ [2]
PR:		204743 [3]
Submitted by:	robak@ [4]
2015-12-13 13:16:31 +00:00
David Naylor
eeb1443b97 lang/pypy: update to 2.6.1
Changes:
 - Add external cffi ports (a la python):
   - databases/pypy-gdbm
   - databases/pypy-sqlite3
   - x11-toolkits/pypy-tkinter
 - Add bsd.pypy.mk for consistency between pypy ports.
 - Add bsd.pypy.cffi.mk for consistency with external cffi ports.
 - Switch back to using $PREFIX/pypy-X.Y (the '-' separator is required to
   differentiate between lang/pypy and lang/pypy3)
 - Remove all patches (upstreamed, see announcement below)

ChangeLog:
 - Bug Fixes
   - Revive non-SSE2 support
   - Fixes for detaching _io.Buffer*
   - Clear up contention in the garbage collector between trace-me-later and
     pinning
   - Issues reported with our previous release were resolved after reports from
     users on our issue tracker at https://bitbucket.org/pypy/pypy/issues or on
     IRC at #pypy.
 - New features:
   - cffi was updated to version 1.3
   - The python stdlib was updated to 2.7.10 from 2.7.9
   - vmprof now supports multiple threads
   - The translation process builds cffi import libraries for some stdlib
     packages, which should prevent confusion when package.py is not used
   - better support for gdb debugging
   - FreeBSD should be able to translate PyPy "out of the box" with no patches
 - Numpy:
   - Better support for record dtypes, including the align keyword
   - Implement casting and create output arrays accordingly (still missing some
     corner cases)
   - Support creation of unicode ndarrays
   - Better support ndarray.flags
   - Support axis argument in more functions
   - Refactor array indexing to support ellipses
   - Allow the docstrings of built-in numpy objects to be set at run-time
   - Support the buffered nditer creation keyword
 - Performance improvements:
   - Delay recursive calls to make them non-recursive
   - Skip loop unrolling if it compiles too much code
   - Tweak the heapcache
   - Add a list strategy for lists that store both floats and 32-bit integers.
     The latter are encoded as nonstandard NaNs. Benchmarks show that the speed
     of such lists is now very close to the speed of purely-int or purely-float
     lists.
   - Simplify implementation of ffi.gc() to avoid most weakrefs
   - Massively improve the performance of map() with more than one sequence
    argument

Differential Revision:	https://reviews.freebsd.org/D3285
2015-08-31 19:38:23 +00:00