Commit graph

74 commits

Author SHA1 Message Date
Dmitry Sivachenko
2d92e2e4e5 Allow to use OpenBLAS implementation of BLAS.
Based on the work done by Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp>,
OpenBLAS port maintainer.

Hide py-nose dependency under new TESTS option.
Convert to USES=blaslapack.

Differential Revision:	D2060
Reviewed by:	koobs, thierry
2015-03-28 19:41:43 +00:00
Dmitry Sivachenko
6cfdba09e5 Update to version 1.9.2.
This is minor bugfix release, see notes at
http://sourceforge.net/projects/numpy/files/NumPy/1.9.2/
2015-03-09 11:43:11 +00:00
Diane Bruce
3317196d90 - Tiny fix to f2py2e.py to allow it to deal with -fstack-protector flag
as without this fix, f2py will attempt to compile -fstack-protector

Submitted by:	db
Reviewed by:	wg
Approved by:	wg
2014-12-11 13:00:44 +00:00
Dmitry Sivachenko
4f7630ccd9 Update to version 1.9.1
Phabric:	D998
2014-11-03 11:14:34 +00:00
Dmitry Sivachenko
cbd6f0a16a Fix
ImportError: /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc48/libgfortran.so.3 not found
error when importing numpy module.

PR:		188114
Patch by Thierry Thomas <thierry@FreeBSD.org>
2014-09-28 10:40:54 +00:00
Gerald Pfeifer
15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00
Sunpoet Po-Chuan Hsieh
23827b8bfb - Add DOCS to OPTIONS_DEFINE
- Convert to new options helper
2014-09-04 16:25:39 +00:00
Marcus von Appen
8aeb4c225a - Convert USE_PYTHON to USES=python
- Enable math/py-numpy to be installed for different Python versions
  concurrently

Phabric:	D599
Reviewed by:	db
With hat:	python@
2014-08-18 17:23:37 +00:00
Kubilay Kocak
9d9c7ce4ef math/py-numpy: Use INSTALLS_EGGINFO, fixes pkg_resources detection
Python packages installs .egg-info metadata directories when
--single-version-externally managed is specified, as the Python ports
framework does currently for all ports when USE_PYDISTUTILS is defined.

In this case the py-numpy port does *not* currently define
PYDISTUTILS_AUTOPLIST nor INSTALLS_EGGINFO, which precludes the contents of
the add-plist-egginfo: target from being executed.

This results in an .egg-info metadata directory being built, and staged, but
not installed.

Correctly specify INSTALLS_EGGINFO to compensate.

Additionally add an "Open" Goal Wiki entry [1] to look at automatically detecting the
presence of .egg-info metadata directories, since all ports leveraging
USE_PYDISTUTILS also use the --record mechanism for generating installed
file lists, and potentially deprecating INSTALLS_EGGINFO and related variables.

[1] https://wiki.freebsd.org/Python#Goals

PR:		191865
Submitted by:	 John W. O'Brien <john at saltant dot com>
2014-07-16 13:16:17 +00:00
Dmitry Sivachenko
18ff234473 Update to version 1.8.1. 2014-05-30 14:06:38 +00:00
Diane Bruce
54d5c6006b - Fix compiler now that -Wl,B has been added to fortran link args
Submitted by:	me
2014-05-15 13:41:18 +00:00
Dmitry Sivachenko
0ca8d2f855 Replace TABs with spaces, otherwise it breaks with python-3. 2014-03-24 10:39:13 +00:00
Gerald Pfeifer
1cd277bdce Update the default version of GCC used in the Ports Collection from
GCC 4.6.4 to GCC 4.7.3.  This entails updating the lang/gcc port as
well as changing the default in Mk/bsd.default-versions.mk.

Part II, Bump PORTREVISIONs.

PR:		182136
Supported by:	Christoph Moench-Tegeder <cmt@burggraben.net> (fixing many ports)
Tested by:	bdrewery (two -exp runs)
2014-03-10 20:55:20 +00:00
Dmitry Sivachenko
0a4c54b832 Fix path. 2014-02-24 11:18:30 +00:00
Dmitry Sivachenko
ddb61b2599 Respect FFLAGS.
Submitted by:	wg
Tested by:	gerald
2014-02-24 11:15:15 +00:00
Ruslan Makhmatkhanov
765ffc98cd - this change sneaked in by accident. Reverting that. 2014-02-20 08:07:01 +00:00
Ruslan Makhmatkhanov
c8608f042f - clean-up WITH_FIXED_FENV conditional, because it is only used for
versions of FreeBSD, we not support anymore.
- remove LATEST_LINK. There is PYTHON_PKGNAMEPREFIX set and in future
  we may have this package built against different python versions.
2014-02-20 08:03:41 +00:00
Tijl Coosemans
564a799c71 Convert all USE_FORTRAN=yes to "USES=fortran, USE_GCC=yes". In most cases
USE_GCC=yes has been omitted though.

Remove USE_FORTRAN handling from bsd.port.mk and bsd.gcc.mk.

Minor cleanups in some ports like USE_GMAKE, NOPORTDOCS,...

Exp-run:	bdrewery
Approved by:	portmgr (bdrewery)
2014-02-16 17:15:31 +00:00
Ruslan Makhmatkhanov
626b5d9e93 - update to 1.8.0
- clarify LICENSE (BSD3C)
- suppor staging

while here:
- utilize PYTHON_PY3K_PLIST_HACK
- install docs uncoditionally into stage area
- convert LIB_DEPENDS to the new notation
- sort packing list

PR:		186677
Submitted by:	Johannes Jost Meixner <xmj@chaot.net>
2014-02-13 05:21:31 +00:00
Kubilay Kocak
a1c3980ac8 Reset maintainer for llwang@infor.org
Reset maintainership for llwang@infor.org due to multiple timeouts and email
address permanent failure. Return all ports to the free pool except
py-numpy, which is taken under the wing of the python@ team.

We thank you for your contribution to the FreeBSD project

Approved by:	portmgr
2013-12-18 10:38:33 +00:00
Kubilay Kocak
6e42769226 math/py-numpy: Remove Atlas WITH_STATIC notification using ECHO_MSG
Shell commands can't be used in a Makefile without a target. Remove the atlas
WITH_STATIC messaging until a more suitable mechanism can be found.

PR:		ports/184775
Reported by:	Roland Smith <rsmith@xs4all.nl>
2013-12-15 15:02:30 +00:00
Kubilay Kocak
26e4841744 math/py-numpy: Add missing ending quotation to ECHO_MSG
Add a missing ending quotation from the last ECHO_MSG command added in r336423.

PR:		ports/184775
Reported by:	Roland Smith <rsmith@xs4all.nl>
2013-12-15 13:20:00 +00:00
Kubilay Kocak
c36c2de8fd math/py-numpy: Fix static library check that assumes atlas is installed
- Use BUILD_DEPENDS to check for the atlas static library at pre-build
  time instead of checking if the file exists (False if atlas is not
  installed)

- Replace IGNORE with a message to the user notifying them that
  an atlas install WITH_STATIC is needed, and provide clues as possible
  actions without being too prescriptive.

As discussed with eadler@, a correct resolution to "ports depending on other ports with specific OPTIONS" is either an atlas slave port
(ie: atlas-static), or to modify atlas to install both shared and static
libraries.

This change is a net gain on the existing broken behaviour, by fixing
the check, while retaining the user notification.

PR:		ports/178094
Reviewed by:	jhibbits, eadler
Approved by:	maintainer timeout (7+ months)
2013-12-14 06:44:38 +00:00
Gerald Pfeifer
3be3e90f93 Update to libmpc version 1.0.1 which brings the following fixes:
- Switched to automake 1.11.6, see CVE-2012-3386.
 - #14669: Fixed extraction of CC from gmp.h.
 - Fixed case of intermediate zero real or imaginary part in mpc_fma,
   found by hydra with GMP_CHECK_RANDOMIZE=1346362345.

This is on top of the following changes from version 1.0

 - Licence change towards LGPLv3+ for the code and GFDLv1.3+ (with no
   invariant sections) for the documentation.
 - 100% of all lines are covered by tests
 - Renamed functions
   . mpc_mul_2exp to mpc_mul_2ui
   . mpc_div_2exp to mpc_div_2ui
 - 0^0, which returned (NaN,NaN) previously, now returns (1,+0).
 - Removed compatibility with K&R compilers, which was untestable due
   to lack of such compilers.
 - New functions
   . mpc_log10
   . mpc_mul_2si, mpc_div_2si
 - Speed-ups
   . mpc_fma
 - Bug fixes
   . mpc_div and mpc_norm now return a value indicating the effective
     rounding direction, as the other functions.
   . mpc_mul, mpc_sqr and mpc_norm now return correct results even if
     there are over- or underflows during the computation.
   . mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
     infinite part and equals output variable is corrected.
   . mpc_fr_sub: Wrong return value for imaginary part is corrected.

Convert to the new LIB_DEPENDS standard and remove hard-coded
.so versions from a couple of dependent ports.

Bump PORTREVISIONS of all dependent ports.

PR:		183141
Approved by:	portmgr (bdrewery)
2013-10-26 00:52:33 +00:00
Baptiste Daroussin
ce5e457020 Add NO_STAGE all over the place in preparation for the staging support (cat: math) 2013-09-20 20:55:04 +00:00
Dmitry Sivachenko
90f44e9da0 Add missing files to plist;
Fix plist (hopefully) so it fits both python33 and python2.
2013-05-21 06:44:17 +00:00
Dmitry Sivachenko
bb6f87baa4 Fix DISTFILES for docs.
Noted by:	Rainer Hurling <rhurlin@gwdg.de>
2013-05-20 07:25:48 +00:00
Dmitry Sivachenko
7730f0e5e3 Update to version 1.7.0 (and unbreak with python-3.3).
PR:		178256
Submitted by:	Roland Smith <rsmith@xs4all.nl>
Approved by:	maintainer
2013-05-20 06:20:28 +00:00
Alex Kozlov
05a9235c98 - Fix all cases of 'No newline at end of file' in ports tree
Approved by: portmgr (bapt)
2013-02-01 15:04:00 +00:00
Marcus von Appen
0c92fb8ae8 - Remove automatic dependency to SuiteSparse; use OPTIONS instead
- Change to new OPTIONS style

PR:		ports/171349
Submitted by:	Li-Lun Wang <llwang@infor.org> (maintainer)
Reported by:	A.J. Kehoe IV (Nanoman)
2012-10-07 10:24:47 +00:00
Sunpoet Po-Chuan Hsieh
ebadaab047 - Restore distinfo of fenv.c/fenv.h for older FreeBSD which were removed in the commit of 1.6.2 update
PR:		ports/170224
Submitted by:	Li-Lun Wang <llwang@infor.org>
2012-07-28 06:00:02 +00:00
Wen Heping
479ebeada9 - Update to 1.6.2
- Add LICENSE

PR:		169162
Submitted by:	koobs <koobs.freebsd@gmail.com>
Approved by:	maintainer
2012-06-22 08:23:29 +00:00
Michael Scheidell
cb766f59b1 - Support for -Wl,rpath= in f2py, now passed by bsd.gcc.mk
- Fix build for comms/wsjt

PR:		ports/164479
Submitted by:	maintainer
Approved by:	gabor (mentor)
2012-01-26 00:52:43 +00:00
Wen Heping
eac732e354 - Update to 1.6.1
PR:		162894
Submitted by:	Gereon Kaiping <kta1c10!gereon@linta.de>
Approved by:	"Li-Lun Leland Wang" <llwang@infor.org> (maintainer)
Feature safe:	yes
2011-12-09 08:01:13 +00:00
Brendan Fabeny
004a7c5ac2 adjust linking and comments in dependent ports after the math/atlas update;
math/atlas-devel will be updated to use the same constructs at a later date

PR:		162706
Approved by:	miwi (portmgr)
Feature safe:	yes
2011-11-22 11:14:10 +00:00
Rong-En Fan
9c579740c2 - Update math/py-numpy to reflect changes in math/atlas
- Bump PORTREVISION
- Fix build for science/py-scipy

PR:		ports/161400
Submitted by:	Li-Lun Wang <llwang at infor.org> (maintainer)
2011-10-09 05:54:38 +00:00
Dmitry Marakasov
6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00
Brendan Fabeny
65aefdf6e7 - Slightly simplify the fenv fix, and note that FreeBSD
7.3 and 7.4 no longer need the fix after the MFC of r203441 on
17 February 2010

- While here, remove MD5 checksums in distinfo

PR:		154742
Approved by:	makc, miwi (mentors, implicit)
		Li-Lun Wang (maintainer)
2011-02-22 18:37:57 +00:00
Beech Rintoul
fcdc71ad8e Update to 1.5.1
Fix doc checksum mismatch

PR:		ports/152715
Submitted by:	Li-Lun Wang (llwang@infor.org) (maintainer)
Approved by:	itetcu (mentor) (implicit)
2010-12-01 06:07:59 +00:00
Philip M. Gollucci
b1def338fe - Update to 1.5.0
PR:             ports/151234
Submitted by:   Li-Lun Wang (Leland Wang) <llwang@infor.org> (maintainer)
2010-10-10 05:31:08 +00:00
Wen Heping
52d0def5ca - Update to 1.4.1
PR:		ports/146007
Submitted by:	Wen Heping (myself)
Approved by:	maintainer
2010-04-26 07:15:39 +00:00
Dmitry Sivachenko
20ca895c2c Unbreak.
PR:		143529
Patch from:	MAINTAINER ("Li-Lun Wang (Leland Wang)" <llwang@infor.org>)
2010-03-12 11:39:18 +00:00
Pav Lucistnik
7e2438622c - Mark BROKEN: does not build
Reported by:	pointyhat
Feature safe:	yes
2010-03-02 23:16:25 +00:00
Li-Wen Hsu
f906706e6f - Update to 1.4.0
PR:		ports/142116
Submitted by:	wen
Approved by:	"Li-Lun Wang (Leland Wang)" <llwang AT infor.org> (maintainer)
2010-01-31 03:29:58 +00:00
Gerald Pfeifer
27ab5137ce Bump PORTREVISION for everything that sets USE_FORTRAN=yes which now
implies lang/gcc44 up from lang/gcc43.

Approved by:	portmgr
2009-09-13 00:08:01 +00:00
Dmitry Marakasov
a13d9a603d - Switch SourceForge ports to the new File Release System: categories starting with M 2009-08-22 00:28:34 +00:00
Li-Wen Hsu
76649be0b1 * Fix build of science/py-scipy when math/suitesparse is installed, by
correctly detect and depend on it in math/py-numpy
* Replace the old numpy documentation with the new numpy book
* Explicitly tell the distutil to use gnu95 fortran compiler
* Use ${PYTHONPREFIX_SITELIBDIR} rather than ${PYTHON_SITELIBDIR} when
  generating the packing list for science/py-scipy
* Bump PORTREVISIONs, for packing lists are changed

PR:		ports/136058
Submitted by:	Li-Lun Wang (Leland Wang) <llwang AT infor.org> (maintainer)
2009-07-13 09:44:48 +00:00
Martin Wilke
dbbe4cfad4 - Update to 1.3.0
PR:		134221
Submitted by:	Wen Heping <wenheping@gmail.com>
Approved by:	maintainer timeout
2009-05-29 19:31:08 +00:00
Pav Lucistnik
2e42fd29e9 - Update to 1.2.1
PR:		ports/129581
Submitted by:	Wen Heping <wenheping@gmail.com>
Approved by:	Li-Lun "Leland" Wang" <llwang@infor.org> (maintainer)
2009-01-11 14:45:13 +00:00
Gerald Pfeifer
d2e5fbc29f Remove run-time dependency on lang/gcc42 which is now transparently
handled by USE_FORTRAN.  Tweak various aspects of configuration.

Submitted by:	Li-Lun "Leland" Wang <llwang@infor.org> (maintainer)
2009-01-08 01:21:47 +00:00