Commit graph

42 commits

Author SHA1 Message Date
David Naylor
644d0b322f Backport lang/pypy-devel to lang/pypy.
Changes:
 - Update memory requires (less for pypy, more for python).
2015-01-14 18:28:28 +00:00
David Naylor
cec054d64e Add missing patch from r372531. 2014-11-13 17:34:15 +00:00
David Naylor
bed88e02c7 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.
2014-11-13 17:33:29 +00:00
Baptiste Daroussin
77cba41a62 Cleanup plist 2014-10-27 15:23:30 +00:00
Marcus von Appen
734b63302e - Convert ports of irc/ and lang/ to new USES=python
Approved by:	portmgr (implicit)
2014-10-20 17:52:16 +00:00
Martin Wilke
bd48d39657 - Chase database/sqlite3 slib bump
Approved by:	portmgr (myself)
2014-06-27 17:21:06 +00:00
David Naylor
a39d5573ba 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.
2014-04-24 20:11:01 +00:00
Antoine Brodin
471c720adc Do not violate stagedir
Reported by:	poudriere
With hat:	portmgr
2014-04-02 06:13:52 +00:00
Rene Ladan
50f8eaece1 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)
2014-01-13 21:00:02 +00:00
David Naylor
69207e05fb Add missing patch (missing svn add) for lang/pypy.
Without this patch building and packaging would fail so no PORTREVISION
required.

Reported by:	bdrewery, pkg-fallout
2013-12-11 19:28:33 +00:00
David Naylor
3b6e99dce7 Remove LATEST_LINK from my ports and fix CONFLICTS for lang/pypy. 2013-12-10 18:48:22 +00:00
David Naylor
4fd7b4a24e Update lang/pypy to 2.2.1 (back-ported from lang/pypy-devel r336049). 2013-12-10 07:57:46 +00:00
David Naylor
39d5bdb3e6 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.
2013-11-07 15:08:55 +00:00
Baptiste Daroussin
888ab73a81 Add NO_STAGE all over the place in preparation for the staging support (cat: lang) 2013-09-20 19:53:09 +00:00
David Naylor
f17b68679f 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
2013-08-12 17:56:40 +00:00
David Naylor
74cc02b4ee 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)
2013-08-11 18:33:33 +00:00
David Naylor
12d034d2b9 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.
2013-08-11 17:10:41 +00:00
David Naylor
0c4899d875 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
2013-08-03 16:18:49 +00:00
David Naylor
3103c35e99 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.
2013-08-01 18:47:43 +00:00
David Naylor
38a645dfe9 Fix lang/pypy library detection.
The library detection orginally depended on sys.version however that
tends to change a lot and thus a more robust method is used based on
sys.pypy_version_info.

This fixes installation using distutils and corrects output from sysconfig.

Special thanks to Attila Nagy who reported the issue and tracked down
the root issue (allowing me to deliver a quick solution).

Reported by:	Attila Nagy <bra@fsn.hu>
2013-07-30 20:22:47 +00:00
David Naylor
715729d474 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.
2013-07-28 20:39:43 +00:00
David Naylor
9def36eeb5 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
2013-07-28 20:10:03 +00:00
David Naylor
cae4551aa5 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)
2013-06-02 08:03:12 +00:00
David Naylor
7377997f9c Fix build of lang/pypy (missing patch).
A patch that tought _sqlite3.py where to find sqlite3.h and sqlite3.so was
not added with the previous commit.

Approved by:	eadler,bdrewery (mentors, implicit)
2013-05-21 15:40:54 +00:00
David Naylor
58ecbe40fa 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)
2013-05-20 21:13:01 +00:00
Marcus von Appen
a3a0715f38 - Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig while here

Reviewed by:	zeising
2013-04-27 11:59:28 +00:00
Alex Kozlov
e159824929 - Convert USE_GETTEXT to USES (part 3)
Approved by:	portmgr (bapt)
2013-04-24 18:10:30 +00:00
Eitan Adler
1ef28d7c9a pypy does not build on the pointhat configuration, but does build in other configurations.
Approved by:	portmgr (miwi)
2013-03-31 15:58:20 +00:00
Martin Wilke
293a1b0e91 - Mark Broken does not build
Reported by:	pointyhat
Approved by:	portmgr
2013-03-31 08:08:58 +00:00
David Naylor
bba9c27d60 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)
2013-03-23 16:01:56 +00:00
David Naylor
6248a797e6 - Update to my new FreeBSD address
- Trim header
 - Add myself as creator of devel/svn2git (see r272261)

Approved by:	eadler|bdrewery (mentor)
2013-01-16 20:15:07 +00:00
Baptiste Daroussin
7c354b1913 Decommissioning java 1.5 (EOLed since October 2009):
suppress any reference to JAVA_VERSION=	1.5+ (part2)
2012-12-10 13:18:28 +00:00
Pawel Pekala
1b3302e312 Update pkg-descr
PR:		ports/173833
Submitted by:	poyopoyo@puripuri.plala.or.jp
Approved by:	maintainer
Feature safe:	yes
2012-11-28 21:44:35 +00:00
Jason E. Hale
a2d34f9f47 - 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
2012-10-12 01:04:30 +00:00
Marcus von Appen
71031bc141 - Remove superfluous site-package patch after fixing the paths
Reported by:	David Naylor <naylor.b.david@gmail.com> (maintainer)
2012-07-18 19:36:31 +00:00
Marcus von Appen
70b1768d9c - 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
2012-07-17 19:08:21 +00:00
Pawel Pekala
59c15bbfdc Fix detection of i386 platforms
PR:		ports/169607
Submitted by:	David Naylor <naylor.b.david@gmail.com> (maintainer)
2012-07-04 21:41:20 +00:00
Alex Kozlov
5c84a954be - Remove unneeded file
Approved by:	David Naylor <naylor.b.david@gmail.com> (maintainer)
2012-06-30 15:19:49 +00:00
Michael Scheidell
567ac57394 - 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]
2012-06-29 23:06:06 +00:00
Pav Lucistnik
8490e09e4b - Disallow from pointyhat, as it seems to receive SIGKILL after two hours of
building, unknown from where

Feature safe:	yes
2012-03-31 18:41:26 +00:00
Li-Wen Hsu
bb60b0ab44 - Update to 1.8
- Add fix for CVE-2012-0845

PR:		ports/165026
Submitted by:	David Naylor <naylor.b.david@gmail.com> (maintainer)
2012-02-19 10:37:02 +00:00
Li-Wen Hsu
487fb78709 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>
2011-12-13 15:37:36 +00:00