Commit graph

94 commits

Author SHA1 Message Date
Gerald Pfeifer
e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00
Antoine Brodin
5504709f97 Fix packaging with python3*, PYTHON_PYOEXTENSION and py3kplist should not
be used together

PR:		220986
With hat:	portmgr
2017-09-05 18:50:20 +00:00
Mathieu Arnold
aa4f89a494 Don't add the distfile twice.
This fixes a fetch error:

  => numpy-numpy-v1.13.1_GH0.tar.gz doesn't seem to exist in
  /portdistfiles/.
  => Attempting to fetch
  https://codeload.github.com/numpy/numpy/tar.gz/v1.13.1?dummy=/numpy-numpy-v1.13.1_GH0.tar.gz
  fetch: 4336552: No such file or directory
  numpy-numpy-v1.13.1_GH0.tar.gz                           0  B    0  Bps
  => Attempting to fetch
  http://distcache.FreeBSD.org/ports-distfiles/numpy-numpy-v1.13.1_GH0.tar.gz
  fetch: 4336552: No such file or directory
  => Couldn't fetch it - please try to retrieve this
  => port manually into /portdistfiles/ and try again.

Sponsored by:	Absolight
2017-08-21 13:34:54 +00:00
Wen Heping
3d9e5702f9 - Update MASTER_SITES, now get source from github and doc from docs.scipy.org
(Based on PR/181285)
2017-08-21 02:08:29 +00:00
Wen Heping
92c0dbbe67 - Update to 1.13.1
PR:		220986
Submitted by:	wen@(myself)
Exp-run by:	antoine@
2017-08-16 06:17:47 +00:00
Gerald Pfeifer
04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00
Wen Heping
393077c8f4 - Remove dependency on math/openblas if other blas lib is selected
PR:		215764
Submitted by:	riggs@
2017-03-19 00:41:08 +00:00
Gerald Pfeifer
e4b7b9118a Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms), part II.

The first part covered  ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.

This adds ports with USES=fortran and ports using Mk/bsd.octave.mk
which in turn has USES=fortran.

PR:		214965
Reported by:	thierry
2016-12-07 13:24:56 +00:00
Olivier Duchateau
cb69e494aa Update to 1.11.2
Changes: https://github.com/numpy/numpy/blob/v1.11.2/doc/release/1.11.2-notes.rst
2016-10-06 20:31:21 +00:00
Olivier Duchateau
0fb0019239 - Update to 1.11.1
- Adjust dependencies, 'numpy/core/multiarray.so' is also linked to
math/openblas (reported by QA script)
- Add patches in order to detect 'sys/endian.h' header
2016-06-28 03:34:54 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Olivier Duchateau
a12ab14203 Update to 1.11.0
Changes: https://github.com/numpy/numpy/blob/master/doc/release/1.11.0-notes.rst
2016-03-28 14:03:50 +00:00
Olivier Duchateau
a3911c113c - Update to 1.10.4
- Remove DOCVERSION (use SF host to fetch PDF documentation, more up-to-date
than SciPy.org)

Changes: https://github.com/numpy/numpy/blob/master/doc/release/1.10.4-notes.rst
2016-01-08 08:33:03 +00:00
Olivier Duchateau
7063b1135e - Update to 1.10.2
- Reintroduce DOCVERSION variable, PDF documentation is not synchronized with
release
- Add missing dependency [1] for NETLIB option

PR:		203638 [1]
Submitted by:	John Hein [1]
2016-01-01 17:34:40 +00:00
Sunpoet Po-Chuan Hsieh
c52b1297ec - Update to 1.10.1
- Add SF to MASTER_SITES
- Add LICENSE_FILE
- Remove DOCVERSION

Changes:	https://github.com/numpy/numpy/blob/master/doc/release/1.10.1-notes.rst
2015-11-09 18:44:19 +00:00
Sunpoet Po-Chuan Hsieh
2c58737711 - Update MASTER_SITES
- Update documentation to 1.10.0
- Bump PORTREVISION for package change
2015-10-30 11:25:28 +00:00
Olivier Duchateau
f371e1d551 Unbreak build on FreeBSD 9
Reported by:	pkg-fallout, <soralx@cydem.org> (private email)
2015-10-12 14:19:17 +00:00
Olivier Duchateau
d236c1a121 Update to 1.10.0 2015-10-07 03:37:42 +00:00
Sunpoet Po-Chuan Hsieh
a5fab9cf37 - Convert to new options target helper
- Cosmetic change
2015-10-04 17:59:31 +00:00
Dmitry Sivachenko
9bbba7ce0e Depend on a particual file, not an executable so it picks up a correct
python version.

PR:		198989
Submitted by:	John W. O'Brien <john@saltant.com>
2015-07-03 12:20:28 +00:00
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