Commit graph

138 commits

Author SHA1 Message Date
Thierry Thomas
ad2d6b8e48 Mk/bsd.default-versions.mk: chase the switch to Python 3.9
Following the rules of
<https://wiki.freebsd.org/Python#Steps_to_switch_the_Python_default_version>

PR:		261703
2022-06-26 22:36:53 +02:00
Wen Heping
85affc89e8 math/py-numpy: Fix doc checksums
PR:		264231
Reported by:	david@isnic.is
2022-05-26 07:29:36 +08:00
Wen Heping
ff9098f709 math/py-numpy: Update to 1.22.4
PR:		264153
Reported by:	wen@
Exp-run by:	antoine@
2022-05-25 15:22:27 +08:00
Stefan Eßer
a2cfb3e058 math/py-numpy: revert obsolete commit 507c189b28
The sched_getaffinity() function in the C library returned a different
error code than expected (i.e. other than returned by GLIBC) if the
requested CPU set size did not match the one expected by the system.

The error code has been changed from ERANGE to EINVAL as expected by
the wrapper for os.sched_getaffinity() in Python, obsoleting the patch
that commented out the failing function call in setup.py.
2022-01-03 09:49:26 +01:00
Stefan Eßer
507c189b28 math/py-numpy: work around build issue on -CURRENT
A sched_getaffinity function has been added to -CURRENT and the
Python build detects it presence and provides a Python function
os.sched_getaffinity().

Apparently the C library function is not correctly wrapped and
returns an out of buounds result.

Comment out the call of os.sched_getaffinity() call until this
function works correctly in the Python interpreter.

No port revision bump, since this is just a temporary fix for the
broken build on -CURRENT.

Reported by:	antoine
2022-01-02 21:43:00 +01:00
Wen Heping
7e9bec828e math/py-numpy: Update to 1.20.3
PR:		259063
Reported by:	wen@
Exp-run by:	antoine@
2021-10-26 08:50:47 +08:00
Bernhard Froehlich
90cd05af44
math/py-numpy: Add CPE information
Approved by:    portmgr (blanket)
2021-08-31 09:23:13 +00:00
Dmitry Marakasov
657b4a5caf math/py-numpy: mark as not compatible with python 3.10
Approved by:	portmgr blanket
2021-08-28 02:49:11 +03:00
alt2600@icloud.com
683962036c
math/py-numpy: Fix typo
- Bump PORTREVISION for package change

PR:		257396
2021-07-25 07:59:17 +08:00
Thierry Thomas
8470aea030 math/suitesparse: adapt dependency lines after modularization
Do not bump PORTREVISION, because this should not change the resulting
packages.

Note for maintainers: try to not depend on the whole suitesparse package,
especially if your port do not require GraphBLAS (the biggest one).
2021-05-25 12:00:10 +02:00
Kai Knoblich
26d8faac23 *: Bump a few ports after the Python 3.7 to 3.8 switchover
Bump the PORTREVISION of the following ports as the concurrent symlinks
change with a new default version of Python:

* devel/py-setuptools
* lang/cython
* math/py-numpy

This is a follow-up to 6cd3db2d03 .

PR:		253815
Approved by:	kai (python, maintainer)
2021-04-25 20:50:30 +02:00
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Antoine Brodin
68ee054688 Remove python 2.7 support from a few ports 2021-01-03 09:11:52 +00:00
Piotr Kubaj
c96364223f math/py-numpy@py39: fix build on GCC architectures
cc1: error: unrecognized command line option "-Wno-unused-result"
2020-11-14 15:28:42 +00:00
Sunpoet Po-Chuan Hsieh
bb256d9550 Update to 1.16.6
Changes:	https://github.com/numpy/numpy/releases
PR:		246395
Exp-run by:	antoine
2020-05-16 11:05:07 +00:00
Yuri Victorovich
84c4942d38 Bump 37 ports depending on math/openblas through USES=blaslapack:openblas because after the recent math/openblas update the library name changed in openblas 2020-05-06 16:39:12 +00:00
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