aboutsummaryrefslogtreecommitdiff
path: root/lang/pypy
Commit message (Collapse)AuthorAgeFilesLines
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-062-4/+0
|
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* lang/pypy[3]: clean up MakefilesRene Ladan2021-01-021-7/+4
| | | | | | | | | | PR: 245747 Submitted by: nimaje+fbz@bureaucracy.de Reviewed by: koobs (somewhat) Approved by: maintainer timeout (python, 6 months) Notes: svn path=/head/; revision=559974
* Revert r559792 to unbreak INDEX and bulk -aAntoine Brodin2021-01-018-0/+2638
| | | | | | | | | It seems a lot of reverse dependencies were missed With hat: portmgr Notes: svn path=/head/; revision=559822
* Remove most expired ports that depend on Python 2.7:Rene Ladan2021-01-018-2638/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Exceptions are: - mail/mailman, our listservers still use it - www/chromium, solely because of popular demand, upstream is (slowly) working on porting it to Python 3 - ports that have actual patches for Python 3 against them (Cinnamon and a few unrelated other ports) - llvm70 and qt5-webengine because they seem to have a lot of dependencies which need further analysis - sysutils/uefi-edk2-bhyve because bhyve seems to use them - python2 and python27 themselves I'm sure there will be complaints, but the nice thing about a version control system is that we can revert and adjust things. 2020-12-31 audio/ardour: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 audio/mixxx21: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 audio/xmms2: Uses Python 2.7 which is EOLed upstream 2020-12-31 chinese/sunpinyin: Uses Python 2.7 which is EOLed upstream 2020-12-31 databases/arangodb32: Uses Python 2.7 which is EOLed upstream 2020-12-31 databases/arangodb33: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/bzr: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/chromium-gn: Uses deprecated version of python, use devel/gn instead 2020-12-31 devel/electron4: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron5: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron6: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/electron7: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/gnatpython: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/godot2: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 devel/godot2-tools: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 devel/libhid: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/libosmocore: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/llvm60: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/mongo-cxx-driver: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-06-30 devel/p5-Log-Any-Adapter-Callback: Use devel/p5-Log-Any (Log::Any::Adapter::Capture) instead 2020-12-31 devel/py-backports.functools_lru_cache: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-backports.os: Python 2 is EOL upstream 2020-12-31 devel/py-backports.shutil_get_terminal_size: Python 2 is EOL upstream 2020-12-31 devel/py-backports_abc: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-cheetah: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-dis3: Python 2 only, backport of Python 3 2020-12-31 devel/py-enum34: Will be removed along with python27 2020-12-31 devel/py-functools32: Python 2 only, backport of Python 3 2020-12-31 devel/py-futures: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-more-itertools5: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-pathlib: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-selectors2: Python 2 is EOL upstream 2020-12-31 devel/py-should_dsl: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-singledispatch: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-subprocess32: Python 2 only, following EOL of lang/python27 2020-12-31 devel/py-total-ordering: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/py-typing: Python 2 only, backport of Python 3 2020-12-31 devel/py-weakrefmethod: Python 2 only, backport of Python 3 2020-12-31 devel/rbtools: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/subversion-lts: Uses Python 2.7 which is EOLed upstream 2020-12-31 devel/viewvc: Uses Python 2.7 which is EOLed upstream 2020-12-31 dns/py-dns: Uses Python 2.7 which is EOLed upstream 2020-12-31 editors/atom: Uses Python 2.7 which is EOLed upstream 2020-12-31 emulators/fceux: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 emulators/gem5: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 emulators/nonpareil: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/0ad: Uses deprecated version of python 2020-12-31 games/dangerdeep: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/freera: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/glob2: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/marsnomercy: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/netpanzer: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/pingus: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 games/renpy: Uses deprecated version of python 2020-12-31 graphics/goxel: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 graphics/py-pillow6: Uses Python 2.7 which is EOLed upstream 2020-12-31 graphics/sk1libs: Uses Python 2.7 which is EOLed upstream 2020-12-31 graphics/uniconvertor: Uses deprecated version of python 2020-12-31 lang/julia10: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/pypy: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/pypy3: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey185: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey24: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey52: Uses Python 2.7 which is EOLed upstream 2020-12-31 lang/spidermonkey60: Requires python2 to build 2020-12-31 lang/tolua++: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 mail/getmail: Uses deprecated version of python 2020-12-31 math/gringo: Uses Python 2.7 which is EOLed upstream 2020-12-31 multimedia/ffmpeg2theora: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 multimedia/mimms: Uses Python 2.7 which is EOLed upstream 2020-12-31 net/py-ipaddress: Uses Python 2.7 which is EOLed upstream 2020-12-31 net-p2p/linuxdcpp: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 security/broccoli: Depends lang/python27 which is EOLed upstream 2020-12-31 security/orthrus: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 security/py-backports.ssl_match_hostname: Uses Python 2.7 which is EOLed upstream 2020-12-31 security/sandsifter: Uses deprecated version of python, see https://github.com/rigred/sandsifter/issues/10 2020-12-31 sysutils/cinnamon-control-center: Uses Python 2.7 which is EOLed upstream 2020-12-31 sysutils/ori: Uses Python 2.7 version of scons, and Python 2.7 which is EOLed upstream 2020-12-31 sysutils/osquery: Uses Python 2.7 which is EOLed upstream 2020-12-31 sysutils/py-shutilwhich: Python 2 only, backport of Python 3 2020-12-31 sysutils/uefi-edk2-bhyve-csm: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/cliqz: Uses deprecated version of python 2020-12-31 www/iridium: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/moinmoin: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/node10: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/node12: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-OhlohWidgetsMacro: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-TracGoogleAnalytics: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-accountmanager: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-advancedticketworkflow: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-autocomplete: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ccselector: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-customfieldadmin: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-datefield: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-defaultcc: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-devel: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-discussion: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-downloads: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-email2trac: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-email2trac-postfix: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-estimator: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-fivestarvote: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-fullblog: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-fullblognotification: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-graphviz: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-iniadmin: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-keywords: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-keywordsecretticket: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ldap: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ldapauthstore: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-math: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-mercurial: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-navadd: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-permredirect: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-privatetickets: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-pydotorgtheme: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-scrumburndown: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-spam-filter: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-subtickets: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tags: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-themeengine: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-ticketimport: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tickettemplate: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-timingandestimation: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tocmacro: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-tweakui: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-vote: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikigoodies: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikinotification: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikitemplates: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wikitopdf: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-wysiwyg: Uses Python 2.7 which is EOLed upstream 2020-12-31 www/trac-xmlrpc: Uses Python 2.7 which is EOLed upstream Notes: svn path=/head/; revision=559792
* Allow test build on powerpc64le.Mark Linimon2020-09-231-1/+1
| | | | | | | Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=549832
* lang/pypy3: Fix build with -fno-commonNiclas Zeising2020-08-292-1/+6
| | | | | | | | | | 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) Notes: svn path=/head/; revision=546920
* Chanse update of devel/libffiNiclas Zeising2020-07-041-0/+2
| | | | | | | | | | | | | Chase the devel/libffi update Bump portrevision of all dependent ports to chace shard library version bump in libffi. Update LIB_DEPENDS lines where needed to not require a specific version of libffi.so. PR: 247028 (for tracking) Notes: svn path=/head/; revision=541232
* lang/pypy{,3}: Update to 7.3.0Kyle Evans2020-04-147-48/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Notes: svn path=/head/; revision=531691
* onvert to UCL & cleanup pkg-message (categories l-m)Mathieu Arnold2019-08-131-4/+6
| | | | Notes: svn path=/head/; revision=508882
* lang/pypy and lang/pypy3: Fix rvmprof build on FreeBSDBabak Farrokhi2018-07-285-12/+26
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=475489
* lang/pypy: Update to 6.0.0Babak Farrokhi2018-07-066-17/+18
| | | | | | | | | Reviewed by: miwi Approved by: miwi Differential Revision: https://reviews.freebsd.org/D16138 Notes: svn path=/head/; revision=473994
* lang/pypy3: update to 5.10.1David Naylor2018-01-161-2/+2
| | | | | | | | | | | - 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 Notes: svn path=/head/; revision=459150
* Set LLD_UNSAFE=yes that the port will continue to link with ld.bfdKirill Ponomarev2018-01-071-0/+1
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=458375
* lang/pypy(3): update to 5.10, add flavors to ancillary portsDavid Naylor2018-01-0317-251/+36
| | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=457998
* Convert Python ports to FLAVORS.Mathieu Arnold2017-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=455210
* For ports that are marked NOT_FOR/ONLY_FOR armv6, also mark them soMark Linimon2017-11-301-1/+2
| | | | | | | | | | | | on armv7. This is part one of a multipart commit to bring armv7 ports to parity with armv6. Approved by: portmgr (tier-2 blanket) Notes: svn path=/head/; revision=455165
* lang/pypy(3): update to 5.9David Naylor2017-11-0417-25/+241
| | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=453445
* lang/pypy(3): update to 5.8David Naylor2017-06-186-37/+25
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=443834
* Mark some ports failing on power64. In cases where the error messageMark Linimon2017-05-201-0/+3
| | | | | | | | | | | | was a stub, provide a real one. While here, pet portlint. Approved by: portmgr (tier-2 blanket) Reported by: swills Notes: svn path=/head/; revision=441309
* bsd.pypy.cffi.mk: unbreak building of cffi portsDavid Naylor2017-05-042-2/+4
| | | | | | | | | | | | | | To fix conflicting of pypy and pypy3 the PYPY_DIR value was set using ${PORTNAME}, however the same codepath is used for cffi ports who's ${PORTNAME} is not pypy or pypy3. Fix this by using an intermediate PYTHON_IMPL variable that is conditionally set to ${PORTNAME} and explicitly set to 'pypy' for cffi ports. Reported by: pkg-fallout Notes: svn path=/head/; revision=440114
* lang/pypy3: bump PORTREVISION due to commit r439901David Naylor2017-05-011-1/+1
| | | | | | | | | - lang/pypy overrides lang/pypy3's PORTREVISION field PR: 218838 Notes: svn path=/head/; revision=439903
* lang/pypy3: un-conflict with pypyDavid Naylor2017-05-012-2/+5
| | | | | | | | | | | - 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> Notes: svn path=/head/; revision=439901
* lang/pypy(3): unbreak build, fix shebangDavid Naylor2017-04-141-4/+41
| | | | | | | | | | | | - Fix shebang references to pypy(3) - pypy3i [1]: - Correctly set ONLY_FOR_ARCHS - Remove '.swn' files from pkg-plist Reported by: pkg-fallout [1] Notes: svn path=/head/; revision=438508
* lang/pypy(3): update to 5.7.1David Naylor2017-04-096-14/+54
| | | | | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=438096
* Fix ports using PREFIX in their depends instead of LOCALBASE.Mathieu Arnold2017-01-131-3/+3
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=431402
* lang/pypy: unbreak with libresslDavid Naylor2016-11-221-4/+0
| | | | | | | | | PyPy now supports libressl (aka openssl 1.1). Submitted by: benjamin@bureaucracy.de Notes: svn path=/head/; revision=426824
* lang/pypy: update to 5.6.0David Naylor2016-11-207-48/+14
| | | | | | | | ChangeLog: http://doc.pypy.org/en/latest/release-pypy2.7-v5.6.0.html Notes: svn path=/head/; revision=426562
* lang/pypy(3): update package description.David Naylor2016-10-262-1/+3
| | | | | | | | | | - PyPy now implements Python 2.7.10 - PyPy3 requires a slightly different description, and implements Python 3.3.5 Reported by: marino@ Notes: svn path=/head/; revision=424677
* lang/pypy: IGNORE when building with libresslJohn Marino2016-10-041-2/+6
| | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=423294
* lang/pypy: update distinfo, upstream rerolled.David Naylor2016-09-102-4/+4
| | | | | | | | - Add an official mirror for pypy source code. - No functional change to the source code. Notes: svn path=/head/; revision=421729
* lang/pypy: update to 5.4.1David Naylor2016-09-083-5/+5
| | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=421529
* lang/pypy: update to 5.4.0David Naylor2016-09-065-23/+6
| | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=421448
* lang/pypy(3): unbreak on PowerPC.David Naylor2016-08-215-2/+46
| | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=420576
* lang/pypy: fix pkg-plist from r419600David Naylor2016-08-081-5/+5
| | | | | | | | | | Revision 419600 changed the meaning of PYPY_CFFI_VER but pkg-plist was not updated. Reported by: pkg-fallout Notes: svn path=/head/; revision=419839
* lang/pypy3: update to 5.2.0-alpha1David Naylor2016-08-043-20/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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+) Notes: svn path=/head/; revision=419600
* lang/pypy: update to 5.3.1.David Naylor2016-07-215-17/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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) Notes: svn path=/head/; revision=418864
* lang/pypy: update 5.0.1 -> 5.1.1Bartek Rutkowski2016-05-115-26/+15
| | | | Notes: svn path=/head/; revision=414982
* many ports: mark broken on powerpc64Steve Wills2016-04-211-0/+2
| | | | Notes: svn path=/head/; revision=413746
* Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.Mathieu Arnold2016-04-012-7/+7
| | | | | | | | With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412347
* lang/pypy: Restore build on DF (requires same ucontext fix as FBSD)John Marino2016-03-241-1/+1
| | | | | | | Approved by: Restore DF functionality blanket Notes: svn path=/head/; revision=411759
* lang/pypy: update to 5.0.1.David Naylor2016-03-203-5/+5
| | | | | | | | | Change Log: - Bug fix: cpyext, notably (but not only) fixing lxml. - Bug fix: corner case of the JIT. Notes: svn path=/head/; revision=411469
* lang/pypy: unbreak build on amd64.David Naylor2016-03-191-4/+9
| | | | | | | | The previous fix broke the build on amd64. Restore the correct behaviour for both platforms. Notes: svn path=/head/; revision=411416
* lang/pypy: fix build on i386.David Naylor2016-03-191-0/+10
| | | | | | | | | | On i386 the registery eip should be used for instruction count, however the code was using the amd64 register of rip instead. Reported by: kib@ Notes: svn path=/head/; revision=411414
* lang/pypy: unbreak build when pypy isn't installed.David Naylor2016-03-141-3/+6
| | | | | | | | | | | | 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> Notes: svn path=/head/; revision=411039
* lang/pypy: update to 5.0.0David Naylor2016-03-135-22/+24
| | | | | | | | | | | | | | | | | | | | 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. Notes: svn path=/head/; revision=411015
* lang/pypy: unbreak build on i386 and armv6David Naylor2015-12-132-4/+12
| | | | | | | | | | | | | | - 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] Notes: svn path=/head/; revision=403664
* lang/pypy: update to 4.0.1David Naylor2015-12-095-24/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) Notes: svn path=/head/; revision=403361
* lang/pypy: update to 2.6.1David Naylor2015-08-3111-122/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=395726
* lang/pypy: Fix obvious typo that caused make warning messagesJohn Marino2015-08-221-1/+1
| | | | | | | Approved by: just-fix-it Notes: svn path=/head/; revision=395030