1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-04 10:59:14 -04:00
Commit graph

44 commits

Author SHA1 Message Date
Wen Heping
65c21fd7c9 math/py-numpy: Update to 1.25.0
PR:		272058
Reported by:	wen@
Exp-run by:	antoine@
2023-07-07 20:56:11 +08:00
Piotr Kubaj
7b822dde35 math/py-numpy: fix runtime on powerpc64*
Currently powerpc64* is not properly detected by numpy, due to python
returning just "powerpc" as architecture name. This commit fixes architecture
detection with numpy and properly checks for CPU features on FreeBSD.
2022-12-29 00:41:28 +00: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 Sivachenko
20ca895c2c Unbreak.
PR:		143529
Patch from:	MAINTAINER ("Li-Lun Wang (Leland Wang)" <llwang@infor.org>)
2010-03-12 11:39:18 +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
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
Li-Wen Hsu
1827e1cc2f - Fix installation while WITH_ATLAS is specified [1]
- Fix plist

PR:		ports/126960 [1]
Submitted by:	Arjan Gijsberts <arjan AT liralab.it>
Approved by:	maintainer
Approved by:	portmgr (erwin)
2008-09-08 16:02:56 +00:00
Hye-Shik Chang
698dcc7a48 Update to 1.1.1 2008-08-14 06:02:28 +00:00
Rong-En Fan
7e575053f8 - Update to 1.0.4
PR:		ports/122492
Submitted by:	dikshie <dikshie at lapi.itb.ac.id>
Approved by:	Li-Lun "Leland" Wang <llwang at infor.org> (maintainer)
2008-04-09 02:08:59 +00:00
Diane Bruce
47e4e30358 - I added -fPIC to compile_switch to work around build of fftpack in scipy
on amd64.
  A better fix would be to set pic_flags instead, and have scipy build a
  shared object for dfftpack instead a static archive, but I didn't figure
  out how. [1]
- Pass maintainership to llwang@infor.org

PR:		ports/112429 [1]
Submitted by:	Li-Lun "Leland" Wang <llwang@infor.org> (new maintainer)
2007-09-02 20:03:45 +00:00
Diane Bruce
54b8f54887 - Forgotten files for 1.0.2 commit
Approved by:	ehaupt (mentor)
2007-06-25 16:33:24 +00:00
Diane Bruce
8c1ef3292f - finish g77 to gfortran conversion
- change maintainer address to FreeBSD.org one
- fold in changes suggested by [1]

PR:             107022, 108807 (based on) [1]
Submitted by:   thinker@heaven.branda.to [1]
Approved by: ehaupt (mentor)
2007-02-09 18:54:54 +00:00
Maho Nakata
d302e76ac2 (Forgot to commit)
* Migrate to gfortran.
* Bump port revision.
2007-01-18 07:08:41 +00:00
Maho Nakata
cbebfac849 * Migrate to gfortran.
* Bump port revision.

Approved by:  portmgr(kris)
2007-01-18 07:07:57 +00:00
Soeren Straarup
8277bbbb07 Fix a run time error, don't append python version to the name of the
executable.

Submitted by:	Diane Bruce (maintainer)
Approved by:	tmclaught (implicit)
2006-12-30 18:09:53 +00:00
Soeren Straarup
3f5be36426 Update to version 1.0
Change maintainer

PR:		106551
Submitted by:	Diane Bruce <db@db.net>
Approved by:	tmclaugh (implicit)
2006-12-30 16:02:58 +00:00
Rong-En Fan
9c54ff04c1 - Update to 1.0rc1
- Add options for ATLAS
- Fix ATLAS detection
- Use feclearexcept(3) rather than fpsetsticky(3) on 5.3+
- Add CONFLICTS for f2py. Both ports install bin/f2py

PR:		ports/103827
Submitted by:	Li-Lun Wang
Approved by:	maintainer timeout (6 weeks)
2006-11-15 05:50:40 +00:00
Pav Lucistnik
ecf737426d The fundamental package needed for scientific computing with Python is
called NumPy.  This package contains:

    * a powerful N-dimensional array object
    * sophisticated (broadcasting) functions
    * basic linear algebra functions
    * basic Fourier transforms
    * sophisticated random number capabilities
    * tools for integrating Fortran code.

NumPy derives from the old Numeric code base and can be used as a
replacement for Numeric.   It also adds the features introduced by numarray
and can also be used to replace numarray.

Note:	Development for Numeric has ceased, and users should transisition to
	NumPy as quickly as possible.

WWW: http://numpy.scipy.org/

PR:		ports/102458
Submitted by:	Tony Maher <anthony.maher@uts.edu.au>
2006-09-01 18:14:17 +00:00