Commit graph

105 commits

Author SHA1 Message Date
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
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