non port: lang/pypy/Makefile |
Number of commits found: 81 |
Saturday, 26 Jun 2021
|
10:57 Rene Ladan (rene)
*/*: Remove expired ports:
2020-12-31 lang/pypy3: Uses Python 2.7 which is EOLed upstream
2020-12-31 lang/pypy: Uses Python 2.7 which is EOLed upstream
2021-06-23 databases/pypy-gdbm: Uses EOL Python 2.7 via lang/pypy
2021-06-23 databases/pypy-sqlite3: Uses EOL Python 2.7 via lang/pypy
2021-06-23 x11-toolkits/pypy-tkinter: Uses EOL Python 2.7 via lang/pypy
5e1a89f |
Tuesday, 6 Apr 2021
|
14:31 Mathieu Arnold (mat)
Remove # $FreeBSD$ from Makefiles.
305f148 |
Saturday, 2 Jan 2021
|
21:48 rene
lang/pypy[3]: clean up Makefiles
PR: 245747
Submitted by: nimaje+fbz@bureaucracy.de
Reviewed by: koobs (somewhat)
Approved by: maintainer timeout (python, 6 months)
|
Wednesday, 23 Sep 2020
|
19:27 linimon
Allow test build on powerpc64le.
Approved by: portmgr (tier-2 blanket)
|
Saturday, 29 Aug 2020
|
15:06 zeising
lang/pypy3: Fix build with -fno-common
Add an upstream patch to lang/pypy and lang/pypy3 to fix the build of
lang/pypy3 with -fno-common.
MFH: 2020Q3 (implicit, -fno-common fixes, ok by joenum)
|
Tuesday, 14 Apr 2020
|
14:02 kevans
lang/pypy{,3}: Update to 7.3.0
* Reorder some variables (pet portlint)
* Use ${LOCALBASE} instead of /usr/local (pet portlint)
* Remove files/patch-rpython_rlib_rvmprof_src_shared_vmprof__unix.h
(upstreamed) [1]
* Remove files/patch-rpython_rlib_rvmprof_cintf.py (upstreamed) [2]
* Add files/patch-lib__pypy___curses__build.py to fix ncurses detection
* Add files/patch-lib__pypy___blake2___blake2__build.py to avoid creating a
useless empty directory which would also depend on WRKDIR
Changelog:
* https://doc.pypy.org/en/latest/release-v7.3.0.html#changelog
[1]
https://bitbucket.org/pypy/pypy/commits/587bebd539604208eb416ccdeb05e841db74e0aa
[2]
https://bitbucket.org/pypy/pypy/commits/24a43b6a4d733b840b7ada958fbb3b129dc28103
QA:
* portlint: OK (no new issues, fix some easy ones, rest for later cleanup)
* testport: OK (poudriere: 12.1-R, amd64/i386, default options tested)
* reverse dependencies build OK
PR: 245124
Submitted by: nimaje+fbz bureaucracy.de
Approved by: koobs (mentor)
Approved by: python (koobs)
Differential Revision: https://reviews.freebsd.org/D24261
|
Saturday, 28 Jul 2018
|
05:26 farrokhi
lang/pypy and lang/pypy3: Fix rvmprof build on FreeBSD
Originally pypy did not build on FreeBSD due to build failure in rvmprof. In
order to build it on FreeBSD (and OpenBSD) you have to disable rvmprof during
build process. This is what a previous patch [1][2] did to enable building on
FreeBSD.
This is a patch obtained from upstream [3] that actually solves the rvmprof
build problem which enables building pypy/pypy3 on FreeBSD with rvmprof enabled.
[1] https://svnweb.freebsd.org/changeset/ports/473994
[2] https://reviews.freebsd.org/D16138
[3]
https://bitbucket.org/pypy/pypy/issues/2853/build-fails-on-freebsd-11x-x64#comment-46813575
Reviewed by: koobs, miwi, dbn
Approved by: miwi, dbn
Differential Revision: https://reviews.freebsd.org/D16378
|
Sunday, 7 Jan 2018
|
19:32 krion
Set LLD_UNSAFE=yes that the port will continue to link with ld.bfd
if /usr/bin/ld is lld, until the issue can be addressed.
PR: 214864
Approved by: portmgr (LLD_UNSAFE blanket)
Sponsored by: The FreeBSD Foundation
|
Wednesday, 3 Jan 2018
|
18:42 dbn
lang/pypy(3): update to 5.10, add flavors to ancillary ports
- Consistently use DISTVERSION instead of PORTVERSION (the former is set, not
the latter)
- Only depend on libunwind on x86 arch with FreeBSD >= 11 (fixes ignored build
on arm/ppc)
- Fix python dependency with depreciation of python meta ports
- Remove PYPY_BITS from pkg-plist target, no longer used
- Remove setting of PORTVERSION, DISTVERSION is set in bsd.pypy.mk
- bsd.pypy.mk:
- Define DISTVERSION once, to ensure consistency
- PYPY_DIR: Handle versions with multiple digits
- PYPY_CFFI_VER now differs in value between pypy and pypy3
- bsd.pypy.cffi.mk:
- Add FLAVORS for pypy and pypy3 [1]
- Consistently use PYTHON_IMPL instead of the hard coded "pypy"
- PLIST_FILES: use direct substitution instead of PLIST_SUB
Approved by: portmgr (mat) [1]
Differential Revision: https://reviews.freebsd.org/D13675
|
Thursday, 30 Nov 2017
|
15:50 mat
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464
|
05:55 linimon
For ports that are marked NOT_FOR/ONLY_FOR armv6, also mark them so
on armv7.
This is part one of a multipart commit to bring armv7 ports to parity
with armv6.
Approved by: portmgr (tier-2 blanket)
|
Saturday, 4 Nov 2017
|
09:33 dbn
lang/pypy(3): update to 5.9
- add lubunwind as dependency: required by vmprof
- disable vmprof on FreeBSD 10: missing base support
- implement support for handles with ctypes.CDLL: fix dynamic loading of
shared objects
- enable various tests that were not working on FreeBSD 9
- mark get_profile_path as xfail on FreeBSD
- handle definition of char16_t and char32_t on libc++ for
__cplusplus < 201103L (libstdc++ does not do this)
- other minor fixes
ChangeLog:
- NumPy and Pandas now work on lang/pypy
- Cython 0.27.1 supports more projects with PyPy
- JSON parser improvements decrease memory by up to 50% and increase speed
by up to 15%
- CFFI updated to 1.11.1
|
Sunday, 18 Jun 2017
|
16:55 dbn
lang/pypy(3): update to 5.8
Change Log:
- supports upstream library 2.7.13 and 3.5.3
- critical bugs fixed in shadowstack
- native support for profiling frames in vmprof
- performance improvements for pack* and unpack* structs
- cffi updates to 1.10.1
- numpy 1.13.0 requires at least this version
|
Saturday, 20 May 2017
|
12:02 linimon
Mark some ports failing on power64. In cases where the error message
was a stub, provide a real one.
While here, pet portlint.
Approved by: portmgr (tier-2 blanket)
Reported by: swills
|
Monday, 1 May 2017
|
18:09 dbn
lang/pypy3: bump PORTREVISION due to commit r439901
- lang/pypy overrides lang/pypy3's PORTREVISION field
PR: 218838
|
18:00 dbn
lang/pypy3: un-conflict with pypy
- ensure pypy3's directory under $PREFIX is unique to pypy's.
- remove swap files from pkg-plist (i.e. revert r439409).
PR: 218838
Reported by: Yunchih Chen <yunchih@csie.ntu.edu.tw>
|
Friday, 14 Apr 2017
|
12:37 dbn
lang/pypy(3): unbreak build, fix shebang
- Fix shebang references to pypy(3)
- pypy3i [1]:
- Correctly set ONLY_FOR_ARCHS
- Remove '.swn' files from pkg-plist
Reported by: pkg-fallout [1]
|
Sunday, 9 Apr 2017
|
10:06 dbn
lang/pypy(3): update to 5.7.1
- add MIT/PSFL multi license
- pass LDSHARED to make environment (work-around assumption around 'gcc')
- add new dependency: pycparser (only required if python is translating)
- removed patches merged upstream
- add patch to remove '-flto' from cflags (base ld doesn't support LTO)
- pypy:
- add patch to fix bad assumption about 'gcc' (instead of 'cc')
- pypy3:
- update BUILD_WRKSRC and PYPY_CFFI_VER
- only supports AMD64
ChangeLog:
- PyPy2 updated to Python 2.7.13
- PyPy3 updated to Python 3.5.3 (beta):
- Not all tests pass
- Asyncio does work
- PyPy2 supports C-extensions: NumPy, Cython and Pandas (amongst others)
- CFFI updated to 1.10
- Many bug-fixes
|
Friday, 13 Jan 2017
|
16:54 mat
Fix ports using PREFIX in their depends instead of LOCALBASE.
With hat: portmgr
Sponsored by: Absolight
|
Tuesday, 22 Nov 2016
|
13:31 dbn
lang/pypy: unbreak with libressl
PyPy now supports libressl (aka openssl 1.1).
Submitted by: benjamin@bureaucracy.de
|
Sunday, 20 Nov 2016
|
07:12 dbn
lang/pypy: update to 5.6.0
ChangeLog:
http://doc.pypy.org/en/latest/release-pypy2.7-v5.6.0.html
|
Wednesday, 26 Oct 2016
|
05:51 dbn
lang/pypy(3): update package description.
- PyPy now implements Python 2.7.10
- PyPy3 requires a slightly different description, and implements Python 3.3.5
Reported by: marino@
|
Tuesday, 4 Oct 2016
|
19:45 marino
lang/pypy: IGNORE when building with libressl
Fails to configure with libressl:
[translation:ERROR] Exception: OpenSSL version >= 1.1 not supported yet.
This program requires OpenSSL version 1.0.x, and may also
work with LibreSSL or OpenSSL 0.9.x. OpenSSL 1.1 is quite
some work to update to; contributions are welcome. Sorry,
you need to install an older version of OpenSSL for now.
Make sure this older version is the one picked up by this
program when it runs the compiler.
Approved by: SSL blanket
|
Saturday, 10 Sep 2016
|
19:20 dbn
lang/pypy: update distinfo, upstream rerolled.
- Add an official mirror for pypy source code.
- No functional change to the source code.
|
Thursday, 8 Sep 2016
|
04:40 dbn
lang/pypy: update to 5.4.1
ChangeLog:
- Update list of contributors in documentation and LICENSE file, this was
unfortunately left out of 5.4.0.
- Allow tests run with -A to find libm.so even if it is a script not a
dynamically loadable file
- Bump sys.setrecursionlimit() when translating PyPy, for translating with
CPython
- Tweak a float comparison with 0 in backendopt.inline to avoid rounding errors
- Fix for an issue for translating the sandbox
- Fix for and issue where unicode.decode('utf8', 'custom_replace') messed up
the last byte of a unicode string
sometimes
- Update built-in cffi to version 1.8.1
- Explicitly detect that we found as-yet-unsupported OpenSSL 1.1, and crash
translation with a message asking for help
porting it
- Fix a regression where a PyBytesObject was forced (converted to a RPython
object) when not required, reported as
issue #2395
|
Tuesday, 6 Sep 2016
|
17:22 dbn
lang/pypy: update to 5.4.0
ChangeLog:
- Incremental improvements to cpyext (passing 99% of numpy's test suite)
- Update cffi to 1.8, supporting "limited API" mode for c-extensions on
CPython >= 3.2
- Improved tooling for PyPy's JIT.
- Various new features, bug fixes and performance improvements, see:
http://pypy.readthedocs.io/en/latest/release-pypy2.7-v5.4.0.html
|
Sunday, 21 Aug 2016
|
18:36 dbn
lang/pypy(3): unbreak on PowerPC.
Unbreak build by:
- correctly detecting PowerPC architecture,
- excluding PowerPC specific assembler code (as there is none), and
- fixing the JIT due to long double == double for PowerPC.
Special thanks to swills who diligently tested multiple iterations of patches
to eventually end up at a solution.
|
Thursday, 4 Aug 2016
|
08:43 dbn
lang/pypy3: update to 5.2.0-alpha1
Changes to lang/pypy3:
- "Rename" from pypy3-devel (functionaly it is a rename, technically pypy3
is a new port and pypy3-devel is deleted).
- Make lang/pypy3 a slave port of lang/pypy
Changes to lang/pypy:
- Use DISTVERSION instead of PORTVERSION (lang/pypy3 is not
PORTVERSION clean)
- Change PYPY_CFFI_VER to include the 'pypy-' prefix (lang/pypy3 has
'pypy3-' as a prefix)
- Only make PYPY_MINMEM the default is ${LOCALBASE}/lang/pypy exists
- Fix build depends for PYPY_MINMEM
- Allow slave port to have custom patch directory
- Remove conflicts (pypy does not conflict with pypy3)
- Allow slave port to override the packaging argument (lang/pypy3 has a
different syntax to exclude gdbm)
- Add ssl as a dependency (pypy picks up Port's openssl if it is installed)
- Strip all .so files in lib_pypy
- Fix where spaces were used instead of tabs
- Use PORTSNAME for binary name (fixes linking to pypy3).
Change Log:
- Python 3.3.5 support
- Missing features include space efficient strings (PEP 393)
- Known issues, including performance
- ensurepip included (only in CPython 3.4+)
|
Thursday, 21 Jul 2016
|
06:02 dbn
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)
|
Wednesday, 11 May 2016
|
11:01 robak
lang/pypy: update 5.0.1 -> 5.1.1
|
Thursday, 21 Apr 2016
|
16:43 swills
many ports: mark broken on powerpc64
|
Friday, 1 Apr 2016
|
14:08 mat
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.
With hat: portmgr
Sponsored by: Absolight
|
Sunday, 20 Mar 2016
|
17:41 dbn
lang/pypy: update to 5.0.1.
Change Log:
- Bug fix: cpyext, notably (but not only) fixing lxml.
- Bug fix: corner case of the JIT.
|
Monday, 14 Mar 2016
|
04:04 dbn
lang/pypy: unbreak build when pypy isn't installed.
When pypy isn't installed then the port needs to use python to translate
pypy, however all options are not specified since two of the three (the
pypy related options) are not valid. Overcome this by a bit of re-ordering
and abusing OPTIONS_SLAVE in the later case.
Reported by: Andrzej Tobola <ato@iem.pw.edu.pl>
|
Sunday, 13 Mar 2016
|
18:58 dbn
lang/pypy: update to 5.0.0
Changes:
- Drop local mirror
- Drop DIST_SUBDIR (distfile name no longer a generic "release-x.y.z.tar.bz2".
- Add test dependencies (all sub-ports, a la gdbm, sqlite and tkinter)
- Use gmake instead of using sed to transform the Makefile
- Use options helper variables
- Rename regression-test -> do-test
ChangeLog (see http://morepypy.blogspot.co.za/2016/03/pypy-50-released.html):
- Faster and leaner: improved JIT warmed (up to 30% faster) and improved memory
consumption (dropped by about 30%).
- C-API Upgrade: cpyext is much faster and lxml now passes all tests when
using cython compiled components.
- CFFI: ships with cffi-1.5.2.
|
Sunday, 13 Dec 2015
|
13:16 dbn
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]
|
Wednesday, 9 Dec 2015
|
06:57 dbn
lang/pypy: update to 4.0.1
Changes:
- Remove plist-sub PYPY_BITS
- Switch PYPY_VER to PYPY_CFFI_VER
Change Log:
- Highlighted features:
- Update cffi to 1.3.1.
- Update Python implementation to 2.7.10.
- New vectorisation optimisations added to the JIT. To enable add
--jit vec=1 (or --jit vec_all=1 for all vectorisation optimisations).
- Improved JIT warmup time of ~20%.
- Reduced memory consumption by ~20%.
- Numpy's ndarray and numeric dtypes are almost feature complete.
- Numpy's linalg, random and fft have been implemented as cffi modules using
the same underlying libraries as upstream.
- Bug Fixes
- Fix a bug when unrolling double loops in JITted code
- Fix multiple memory leaks in the ssl module, one of which affected CPython
as well (thanks to Alex Gaynor for pointing those out)
- Use pkg-config to find ssl headers on OS-X
- Fix a crash on non-linux when running more than 20 threads
- In cffi, ffi.new_handle() is more cpython compliant
- Accept unicode in functions inside the _curses cffi backend exactly like
cpython
- Fix a segfault in itertools.islice()
- Fix ndarray.copy() for upstream compatability when copying non-contiguous
arrays
- Fix assumption that lltype.UniChar is unsigned
- Fix a subtle bug with stacklets on shadowstack
- Improve support for the cpython capi in cpyext (our capi compatibility
layer). Fixing these issues inspired some thought about cpyext in general,
stay tuned for more improvements
- When loading dynamic libraries, in case of a certain loading error, retry
loading the library assuming it is actually a linker script, like on Arch
and Gentoo
- New features
- Internal cleanup of RPython class handling
- Support stackless and greenlets on PPC machines
- Improve debug logging in subprocesses: use PYPYLOG=jit:log.%d for example
to have all subprocesses write the JIT log to a file called ?log.%d?, with
?%d? replaced with the subprocess? PID.
- Support PyOS_double_to_string in our cpyext capi compatibility layer
- Add an optimization pass to vectorize loops using x86 SIMD intrinsics.
- Support __stdcall on Windows in CFFI
- Improve debug logging when using PYPYLOG=???
- Deal with platforms with no RAND_egd() in OpenSSL
- Numpy
- Improve support for __array_interface__
- Propagate most NAN mantissas through float16-float32-float64 conversions
- Add support for ndarray.ctypes
- Fast path for mixing numpy scalars and floats
- Add support for creating Fortran-ordered ndarrays
- Fix casting failures in linalg (by extending ufunc casting)
- Recognize and disallow (for now) pickling of ndarrays with objects embedded
in them
- Performance improvements and refactorings
- Improvements in slicing byte arrays
- Improvements in enumerate()
- Silence some warnings while translating
- Reuse hashed keys across dictionaries and sets
- Refactor JIT interals to improve warmup time by 20% or so at the cost of a
minor regression in JIT speed
- Recognize patterns of common sequences in the JIT backends and optimize
them
- Make the garbage collecter more incremental over external_malloc() calls
- Share guard resume data where possible which reduces memory usage
- Fast path for zip(list, list)
- Reduce the number of checks in the JIT for lst[a:]
- Move the non-optimizable part of callbacks outside the JIT
- Factor in field immutability when invalidating heap information
- Unroll itertools.izip_longest() with two sequences
- Minor optimizations after analyzing output from vmprof and trace logs
- Remove many class attributes in rpython classes
- Handle getfield_gc_pure* and getfield_gc_* uniformly in heap.py
- Improve simple trace function performance by lazily calling fast2locals and
locals2fast only if truly necessary
Submitted by: robak@
PR: 204743 (with modification)
|
Monday, 31 Aug 2015
|
19:38 dbn
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
|
Saturday, 22 Aug 2015
|
13:27 marino
lang/pypy: Fix obvious typo that caused make warning messages
Approved by: just-fix-it
|
Wednesday, 12 Aug 2015
|
18:13 dbn
lang/pypy: support cffi, fix and simplify.
* Mark as only for i386, amd64 and armv6 (JIT only supported on those archs)
* Move PyPy dir to pypy26 (for consistency with llvm, et al)
* Drop PYPY_ARCH (unused)
* Use shell to detect ${BUILD_WRKSRC}/Makefile [1]
* Enable CFFI for components that do not have external dependencies
* Update regression-test to align with upstreams procedures
* Complete changes for detecting cpu count via sysctl (upstreamed)
* Properly detect arm (upstreamed) [2]
* Update pkg-plist generation and regenerate
[1] When make evaluates the dependency for pre-build the variable
${BUILD_WRKSRC} is not fully defined (i.e. ${WRKSRC}) so it does not get
properly expanded causing make to never find the correct Makefile.
PR: 202159 [2]
Reviewed by: sbruno (prior version)
|
Saturday, 1 Aug 2015
|
09:07 dbn
lang/pypy: simplify port
- Use upstreams directory layout instead of FreeBSD's preferred directory
layout [1]
- Move the pypy installation into $PREFIX/pypy-x.y
- Remove the ability to build multiple instances (i.e. default to just
the JIT instance)
- Install the binary as pypy (instead of pypy-2.6 with a symlink to pypy)
- Remove the creation of cffi modules (will be outsourced to other ports,
a la cpython)
- Remove sqlite3 and gdbm dependencies (i.e. cffi modules)
PR: 183795
Differential Revision: https://reviews.freebsd.org/D3209
|
Wednesday, 10 Jun 2015
|
01:00 koobs
lang/pypy: Fix typo (PPORTREVISION)
Reported by: robak
|
Saturday, 6 Jun 2015
|
19:40 dbn
lang/pypy: unbreak port due to missing space in '@comment'.
PR: 200658
Submitted by: Ting-Wei Lan <lantw44@gmail.com>
|
Thursday, 4 Jun 2015
|
06:45 koobs
lang/pypy: Fix build. Temporarily disable CFFI modules
Temporarily disable CFFI module compilation post-build and the shared
CFFI libraries in the packaging lists to due failures finding and
linking tkinter:
Building tk bindings failed.
You can either install development headers package,
add the --without-tk option to skip packaging this
binary CFFI extension, or say --without-cffi.
Traceback (most recent call last):
File "<builtin>/app_main.py", line 75, in run_toplevel
File "/usr/ports/lang/pypy/files/compile_cffi.py", line 15, in <module>
create_cffi_import_libraries(sys.executable, Options(cffi_build_scripts),
py.path.local(basedir))
File
"/wrkdirs/usr/ports/lang/pypy/work/pypy-pypy-295ee98b6928/pypy/tool/release/package.py",
line 84, in create_cffi_import_libraries
raise MissingDependenciesError(module)
MissingDependenciesError: _tkinter/tklib_build.py
This change is being committed on behalf of and in leui of maintainer
providing a comprehensive fix, as they are currently AFK.
Reported by: hawkowl (via IRC, portsmon)
Reviewed by: dbn (maintainer)
Approved by: dbn (maintainer)
|
Monday, 1 Jun 2015
|
20:05 dbn
lang/pypy: update to 2.6.0
Changes:
* Use pypy.tool.release.package to compile cffi modules.
ChangeLog:
* Python compatibility:
* Improve support for TLS 1.1 and 1.2
* Support for the PYTHONOPTIMIZE environment variable (impacting builtin's
__debug__ property)
* 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:
* Add preliminary support for a new lightweight statistical profiler
vmprof, which has been designed to accomodate profiling JITted code
* Numpy:
* Support for object dtype via a garbage collector hook
* Support for .can_cast and .min_scalar_type as well as beginning a
refactoring of the internal casting rules
* Better support for subtypes, via the __array_interface__,
__array_priority__, and __array_wrap__ methods (still a work-in-progress)
* Better support for ndarray.flags
* Performance improvements:
* Slight improvement in frame sizes, improving some benchmarks
* Internal refactoring and cleanups leading to improved JIT performance
* Improved IO performance of zlib and bz2 modules
* We continue to improve the JIT's optimizations. Our benchmark suite is
now over 7 times faster than cpython
|
Monday, 18 May 2015
|
18:56 dbn
lang/pypy: update to 2.5.1
Changes:
* Merge pypy-devel into pypy
* Drop pypy-devel (was intended to track pypy-current but no automated
process was implemented)
* Drop upstreamed patches
PR: 199790
|
Wednesday, 14 Jan 2015
|
18:28 dbn
Backport lang/pypy-devel to lang/pypy.
Changes:
- Update memory requires (less for pypy, more for python).
|
Thursday, 13 Nov 2014
|
17:33 dbn
Update lang/pypy to 2.3.1.
This backports changes from pypy-devel. Although that port has not gone
through standard QA, there have not been any complaints in the months that
it has been available under pypy-devel.
|
Monday, 20 Oct 2014
|
17:52 mva
- Convert ports of irc/ and lang/ to new USES=python
Approved by: portmgr (implicit)
|
Friday, 27 Jun 2014
|
17:21 miwi
- Chase database/sqlite3 slib bump
Approved by: portmgr (myself)
|
Thursday, 24 Apr 2014
|
20:11 dbn
Update my ports to be compliant with new USES framework and fix other issues.
Changes:
* various: migrate USE_BZIP2 to USES=tar:bzip2
* various: migrate USE_XZ to USES=tar:xz
* multimedia/py-ffmpeg: add and prefer github (GH) as master site
* ports-mgmt/portbuilder: specify license as BSD2CLAUSE (instead of just BSD)
Most ports are updated infrequently so a single batch commit is preferred over
collating changes per port.
|
Wednesday, 2 Apr 2014
|
06:13 antoine
Do not violate stagedir
Reported by: poudriere
With hat: portmgr
|
Monday, 13 Jan 2014
|
21:00 rene
Python cleanup:
- USE_PYTHON* = 2.X -> USE_PYTHON* = 2
- USE_PYTHON* = 2.X+ -> USE_PYTHON* = yes
Reviewed by: python (mva, rm)
Approved by: portmgr-lurkers (mat)
|
Tuesday, 10 Dec 2013
|
18:48 dbn
Remove LATEST_LINK from my ports and fix CONFLICTS for lang/pypy.
|
07:57 dbn
Update lang/pypy to 2.2.1 (back-ported from lang/pypy-devel r336049).
|
Thursday, 7 Nov 2013
|
15:08 dbn
Add stage support to lang/pypy, lang/pypy-devel and lang/pypy3-devel.
Also, require a modern compiler that can handle c11. Although this is
not strictly required (just about any C compiler would do) the base GCC
compiler has a memory bug and thus cannot reasonably compile the ports.
|
Friday, 20 Sep 2013
|
19:53 bapt
Add NO_STAGE all over the place in preparation for the staging support (cat:
lang)
|
Monday, 12 Aug 2013
|
17:56 dbn
Fix the pypy ports.
Be more aggresive in cleaning up temporary directories that pypy leaves
behind in the copied directories (files and directories in __pycache__).
Only .so and .pyc should be left behind in those __pycache__ directories
and no subdirectories.
Also remove the manual requirement for building lang/pypy. Redports
successfully built lang/pypy3-devel (with leftovers) in 19 hours.
Reported by: Redports
|
Sunday, 11 Aug 2013
|
18:33 dbn
Backport and fix-up lang/pypy* ports.
pypy:
- fix sysconfig.py's include path
- bump PORTREVISION due to above fix
pypy-devel:
- remove duplicate '-e' when creating pkg-plist
- ancillary port functionality (thus no PORTREVISION bump)
pypy3-devel:
- add missing patch
- fix pkg-plist
- build fails without above patch (thus no PORTREVISION bump)
|
17:10 dbn
Add lang/pypy-devel for non-stable releases of PyPy.
pypy-devel is intended as a staging ground for beta releases and - while
no beta releases are available - snapshots of pypy default branch.
While introducing pypy-devel to build logic has been reworked to better
accomodate pypy3. The lib-python/2.7 and lib_pypy folders are not renamed
after extraction (with only symbolic links used to emulate the structure).
PyPy still expects the standard structure and the symbolic links satisfy
this change.
The devel port was requested by mva@ to better support commercial clients.
|
Saturday, 3 Aug 2013
|
16:18 dbn
Update lang/pypy to 2.1.
Changes:
- Rename the binary, include and library to pypy-2.1 (recommended by mva@).
This is in preparation to introduce PyPy3 (PyPy implementing Python 3.2)
Highlights:
* JIT support for ARM, architecture versions 6 and 7, hard- and soft-float ABI
* Stacklet support for ARM
* Support for os.statvfs and os.fstatvfs on unix systems
* Improved logging performance
* Faster sets for objects
* Interpreter improvements
* During packaging, compile the CFFI based TK extension
* Pickling of numpy arrays and dtypes
* Subarrays for numpy
* Bugfixes to numpy
* Bugfixes to cffi and ctypes
* Bugfixes to the x86 stacklet support
* Fixed issue 1533: fix an RPython-level OverflowError for
space.float_w(w_big_long_number). https://bugs.pypy.org/issue1533
* Fixed issue 1552: GreenletExit should inherit from BaseException.
https://bugs.pypy.org/issue1552
* Fixed issue 1537: numpypy __array_interface__ https://bugs.pypy.org/issue1537
* Fixed issue 1238: Writing to an SSL socket in PyPy sometimes failed with a
"bad write retry" message. https://bugs.pypy.org/issue1238
|
Thursday, 1 Aug 2013
|
18:47 dbn
Update lang/pypy to 2.1.b2.
Highlights:
* Support for os.statvfs and os.fstatvfs on unix systems.
* Fixed issue 1533: fix an RPython-level OverflowError for
space.float_w(w_big_long_number).
* Fixed issue 1552: GreenletExit should inherit from BaseException.
* Fixed issue 1537: numpypy __array_interface__
* Fixed issue 1238: Writing to an SSL socket in pypy sometimes failed with a
"bad write retry" message.
* distutils: copy CPython's implementation of customize_compiler, dont call
split on environment variables, honour CFLAGS, CPPFLAGS, LDSHARED and
LDFLAGS.
* During packaging, compile the CFFI tk extension.
|
Sunday, 28 Jul 2013
|
20:39 dbn
Fix lang/pypy (and INDEX build).
Portlint recommends "USE_GCC=yes+" however such an option breaks everything.
Ignore portlint and use "USE+GCC=4.2+" as the port will compile with just about
any valid C compiler.
|
20:10 dbn
Update lang/pypy to 2.1.b
Changes to port:
* Abstract ${BUILDDIR} for files/Makefile
* Remove MAKE_JOBS_SAFE (depreciated)
* Use "USE_GCC=yes+" as recommended by portlint
Highlights:
* Bugfixes to the ARM JIT backend, so that ARM is now an officially
supported processor architecture
* Stacklet support on ARM
* Interpreter improvements
* Various numpy improvements
* Bugfixes to cffi and ctypes
* Bugfixes to the stacklet support
* Improved logging performance
* Faster sets for objects
|
Sunday, 2 Jun 2013
|
08:03 dbn
Update lang/pypy to 2.0.2.
- Track the change in build location (s/2.0.2/2.0.x/g)
- Only tested on amd64 as this is only a point releas
- If SANDBOX fails to build, install pypy-2.0.2 and try again
ChangeLog:
* Fix crash in the JIT when calling external C functions in multithreaded
context.
Approved by: eadler,bdrewery (mentors, implicit)
|
Monday, 20 May 2013
|
21:13 dbn
Update lang/pypy to 2.0.1.
Port ChangeLog:
* Sqlite3 added as a dependency
* DIST_SUBDIR no longer used as upstream now releases with a proper tarball
* Added ability to translate with pypy running in restricted memory mode
( faster than python2.7 and uses less memory!)
* Added support for pypy modules that use cffi (_sqlite3 and _curses)
Approved by: eadler,bdrewery (mentors, implicit)
|
Saturday, 27 Apr 2013
|
11:59 mva
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here
Reviewed by: zeising
|
Wednesday, 24 Apr 2013
|
18:10 ak
- Convert USE_GETTEXT to USES (part 3)
Approved by: portmgr (bapt)
|
Sunday, 31 Mar 2013
|
15:58 eadler
pypy does not build on the pointhat configuration, but does build in other
configurations.
Approved by: portmgr (miwi)
|
08:08 miwi
- Mark Broken does not build
Reported by: pointyhat
Approved by: portmgr
|
Saturday, 23 Mar 2013
|
16:01 dbn
Update lang/pypy to 2.0.b1.
The internals of the port have been substantially reworked:
* All predefined instances can be selected via options [1]
* Optionally use options, if user does not overwrite instance list
* Make translation with pypy an option, if it is available.
* Make memory checking more refined [2]
* Add a Wiki page details lang/pypy
* Fix the test target
* Refactor build target (easier to review, edit)
* Rename patches to prevent churn
[1] Although two are broken upstream and one possibly discontinued
[2] My memory limits appear to be too conservative. Set PYPY_IGNORE_MEM for now
Reviewed by: Kuro <poyopoyo@puripuri.plala.or.jp>, rm@
Approved by: bdrewery (mentor)
|
Wednesday, 16 Jan 2013
|
20:15 dbn
- Update to my new FreeBSD address
- Trim header
- Add myself as creator of devel/svn2git (see r272261)
Approved by: eadler|bdrewery (mentor)
|
Monday, 10 Dec 2012
|
13:18 bapt
Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION= 1.5+ (part2)
|
Friday, 12 Oct 2012
|
01:04 jhale
- Remove quotes from options string
While here:
- Trim Makefile header
PR: ports/172603
Submitted by: David Naylor <naylor.b.david@gmail.com> (maintainer)
Approved by: makc, avilla (mentors, implicit)
Reported by: Riccardo Torrini
Feature safe: yes
|
Wednesday, 18 Jul 2012
|
19:36 mva
- Remove superfluous site-package patch after fixing the paths
Reported by: David Naylor <naylor.b.david@gmail.com> (maintainer)
|
Tuesday, 17 Jul 2012
|
19:08 mva
- Fix site-packages path
Discussed with: David Naylor <naylor.b.david@gmail.com>
Approved by: David Naylor <naylor.b.david@gmail.com>
Obtained from: https://github.com/DragonSA/pypy/tree/fix-1.9-2
|
Wednesday, 4 Jul 2012
|
21:41 pawel
Fix detection of i386 platforms
PR: ports/169607
Submitted by: David Naylor <naylor.b.david@gmail.com> (maintainer)
|
Friday, 29 Jun 2012
|
23:06 scheidell
- Update to 1.9 [1]
- Detection of insufficient memory [1]
- Change %% SUB vaes from fixed at python 27 to use any installed version of
python [1]
- Fix syntax of non system include "" vs <> [2]
PR: ports/168974 [1]
Submitted by: David Naylor <naylor.b.david@gmail.com> (maintainer) [1]
Reviewed by: scheidel@ (me) [2]
|
Saturday, 31 Mar 2012
|
18:41 pav
- Disallow from pointyhat, as it seems to receive SIGKILL after two hours of
building, unknown from where
Feature safe: yes
|
Sunday, 19 Feb 2012
|
10:37 lwhsu
- Update to 1.8
- Add fix for CVE-2012-0845
PR: ports/165026
Submitted by: David Naylor <naylor.b.david@gmail.com> (maintainer)
|
Tuesday, 13 Dec 2011
|
15:37 lwhsu
Add pypy 1.7, PyPy is a fast, compliant implementation of the Python language.
PR: ports/160265
Submitted by: David Naylor <naylor.b.david@gmail.com>
|
Number of commits found: 81 |