Commit graph

122 commits

Author SHA1 Message Date
Steve Wills
f40f1cfd9f math/py-numpy: improve patch to fix build with OpenBlas
This patch adds openblas to the list of cblas compatible libs instead

PR:		243497
Submitted by:	John Hein <jcfyecrayz@liamekaens.com>
2020-01-31 14:08:51 +00:00
Steve Wills
fb44dca45d Fix math/openblas and bump dependent ports
* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]

This is correcting issues from r523749 [1][2][4] and r515970 [3]

PR:		231371
Reported by:	build cluster [1]
Reported by:	Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by:	many [5]
Reviewed by:	mat, bapt
Approved by:	implicit, since this is a build fix
2020-01-30 14:17:44 +00:00
Steve Wills
5f934419cd math/py-numpy: fix build when math/blas is installed
PR:		243497
Submitted by:	rsmith@xs4all.nl
2020-01-23 21:31:23 +00:00
Steve Wills
033b9daecd math/openblas: Update to 0.3.7
While here, improve formatting and fix build of dependant ports.

PR:		231371
Submitted by:	yuri (initial version), pkubaj (ppc fixes)
Approved by:	Eijiro Shibusawa <phd_kimberlite@yahoo.co.jp> (maintainer)
2020-01-21 22:03:19 +00:00
Antoine Brodin
7ce822bd88 Bump PORTREVISION after r520219 2019-12-16 09:22:43 +00:00
Jan Beich
bebaae5ec3 math/py-numpy: switch to OpenBLAS by default
Besides being faster consistently using the same BLAS implementation
should improve stability in case of accidental ABI mismatch.

PR:		240937
Approved by:	maintainer timeout (2 weeks)
MFH:		2019Q4
2019-10-24 00:48:41 +00:00
Sunpoet Po-Chuan Hsieh
8487b5879d Update to 1.16.5
Changes:	https://github.com/numpy/numpy/releases
PR:		240424
Exp-run by:	antoine
2019-09-10 17:38:06 +00:00
Gerald Pfeifer
ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00
Sunpoet Po-Chuan Hsieh
db7ca1bdf0 Update to 1.16.4
Changes:	https://github.com/numpy/numpy/releases
PR:		238964
Exp-run by:	antoine
2019-07-07 19:14:48 +00:00
Gerald Pfeifer
879e75a659 Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2019-04-22 13:16:33 +00:00
Antoine Brodin
63f5eeef8a Bump a few PORTREVISIONs after r498529
With hat:	portmgr
2019-04-10 06:18:31 +00:00
Sunpoet Po-Chuan Hsieh
09a7237d9b Remove no-op TESTS_DESC
- Update pkg-descr
2019-02-22 19:55:51 +00:00
Sunpoet Po-Chuan Hsieh
f9d7c5e40d Update to 1.16.1
- Move TEST_DEPENDS upward
- Simplify Makefile

Changes:	https://github.com/numpy/numpy/releases
PR:		235721
Exp-run by:	antoine
2019-02-21 16:11:06 +00:00
Gerald Pfeifer
a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 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, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00
Sunpoet Po-Chuan Hsieh
ce5684dfb4 Update to 1.15.4
Changes:	https://github.com/numpy/numpy/releases
PR:		233643
Exp-run by:	antoine
2018-12-03 18:52:09 +00:00
Sunpoet Po-Chuan Hsieh
d12b6eff01 Update MASTER_SITES and WWW 2018-10-06 09:24:38 +00:00
Sunpoet Po-Chuan Hsieh
db97887e21 Update to 1.15.1
- Change MASTER_SITES to CHEESESHOP
- Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk

Changes:	https://github.com/numpy/numpy/releases
PR:		231664
Exp-run by:	antoine
2018-10-04 18:14:16 +00:00
Ruslan Makhmatkhanov
18802854ae math/py-numpy: update to 1.15.0
- update to 1.15
- convert to autoplist
- follow upstream change from nose test framework to pytest

Release notes:
https://github.com/numpy/numpy/releases/tag/v1.15.0

PR:		230094
Submitted by:	wen
Exp-run by:     antoine
2018-08-14 11:20:27 +00:00
Gerald Pfeifer
09f9633cb6 Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.

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

PR:		222542
2018-07-29 22:18:44 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Wen Heping
e4c5f1d255 - Update to 1.14.3
PR:		228230
Submitted by:	wen@(myself)
Exp-run by:	antoine@
2018-05-24 12:13:21 +00:00
Yuri Victorovich
61818ce94b math/suitesparse: Update 4.0.2 -> 5.2.0
Port changes:
* Change to DISTVERSION
* Update MASTER_SITES
* Change to LICENSE_COMB=dual
* Add LIB_DEPENDS
* Unbundle metis, made it a dependency
* Update do-build and do-install
* Update WWW

Bump 11 ports.
games/naev is marked broken because it depends on the no longer installed library.

PR:		210579
Submitted by:	yuri
Submitted by:	pfg
Approved by:	maintainer timeout (maho@FreeBSD.org, 21 months)
Approved by:	maintainer timeout (fortran@FreeBSD.org, 45 days)
2018-04-26 06:41:30 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Sunpoet Po-Chuan Hsieh
4d1285dd5a Cosmetic change 2018-02-25 05:32:19 +00:00
Diane Bruce
fd1564f3dd exec_command.py states in comments it uses /bin/sh on POSIX for subprocess but incorrectly uses shell from environment. This makes compiles fail when compilation is done using the account 'nobody' which is default on pkg-fallout runs.
PR:		ports/225156
Submitted by:	self
Reported by:	self
Reviewed by:	antoine
Approved by: 	antoine
2018-01-14 20:33:37 +00:00
Mathieu Arnold
bf406b4d24 Enhance USES=uniquefiles to be more generic.
This allows to have more complex renaming schemes.  Until now, it could
only add a prefix or a suffix, but this was not working at all for man
pages, because it would give man/man1/pyfoo.1.gz-2.7 or
man/man1/pyfoo-1-2.7.gz.  With this change, a man page will be correctly
renamed to man/man1/pyfoo-2.7.1.gz.

Unfix ports that were already handling man pages.

PR:		220214
Submitted by:	Fukang Chen (previous patch)
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13444
2017-12-19 16:23:48 +00:00
Mathieu Arnold
551be3c723 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
2017-11-30 15:50:30 +00:00
Sunpoet Po-Chuan Hsieh
d9dcdeed8c Update to 1.13.3
- Simplify MASTER_SITES
- Silence patch messages
- Fix symbolic link to avoid absolute path

Changes:	https://github.com/numpy/numpy/releases
PR:		222856
Exp-run by:	antoine
2017-10-13 13:09:18 +00:00
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