head	1.26;
access;
symbols
	pkgsrc-2026Q1:1.26.0.2
	pkgsrc-2026Q1-base:1.26
	pkgsrc-2025Q4:1.25.0.2
	pkgsrc-2025Q4-base:1.25
	pkgsrc-2025Q3:1.24.0.2
	pkgsrc-2025Q3-base:1.24
	pkgsrc-2025Q2:1.23.0.2
	pkgsrc-2025Q2-base:1.23
	pkgsrc-2025Q1:1.22.0.2
	pkgsrc-2025Q1-base:1.22
	pkgsrc-2024Q4:1.21.0.2
	pkgsrc-2024Q4-base:1.21
	pkgsrc-2024Q3:1.18.0.4
	pkgsrc-2024Q3-base:1.18
	pkgsrc-2024Q2:1.18.0.2
	pkgsrc-2024Q2-base:1.18
	pkgsrc-2024Q1:1.17.0.4
	pkgsrc-2024Q1-base:1.17
	pkgsrc-2023Q4:1.17.0.2
	pkgsrc-2023Q4-base:1.17
	pkgsrc-2023Q3:1.16.0.2
	pkgsrc-2023Q3-base:1.16
	pkgsrc-2023Q2:1.14.0.6
	pkgsrc-2023Q2-base:1.14
	pkgsrc-2023Q1:1.14.0.4
	pkgsrc-2023Q1-base:1.14
	pkgsrc-2022Q4:1.14.0.2
	pkgsrc-2022Q4-base:1.14
	pkgsrc-2022Q3:1.13.0.4
	pkgsrc-2022Q3-base:1.13
	pkgsrc-2022Q2:1.13.0.2
	pkgsrc-2022Q2-base:1.13
	pkgsrc-2022Q1:1.12.0.2
	pkgsrc-2022Q1-base:1.12
	pkgsrc-2021Q4:1.8.0.4
	pkgsrc-2021Q4-base:1.8
	pkgsrc-2021Q3:1.8.0.2
	pkgsrc-2021Q3-base:1.8
	pkgsrc-2021Q2:1.7.0.6
	pkgsrc-2021Q2-base:1.7
	pkgsrc-2021Q1:1.7.0.4
	pkgsrc-2021Q1-base:1.7
	pkgsrc-2020Q4:1.7.0.2
	pkgsrc-2020Q4-base:1.7
	pkgsrc-2020Q3:1.6.0.4
	pkgsrc-2020Q3-base:1.6
	pkgsrc-2020Q2:1.6.0.2
	pkgsrc-2020Q2-base:1.6
	pkgsrc-2020Q1:1.5.0.2
	pkgsrc-2020Q1-base:1.5
	pkgsrc-2019Q4:1.4.0.4
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.3.0.4
	pkgsrc-2019Q3-base:1.3
	pkgsrc-2019Q2:1.3.0.2
	pkgsrc-2019Q2-base:1.3
	pkgsrc-2019Q1:1.2.0.2
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.1.0.4
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.2
	pkgsrc-2018Q3-base:1.1;
locks; strict;
comment	@# @;


1.26
date	2026.03.11.13.56.15;	author adam;	state Exp;
branches;
next	1.25;
commitid	nNoiQFIOEl2uWyxG;

1.25
date	2025.10.09.07.57.49;	author wiz;	state Exp;
branches;
next	1.24;
commitid	t4nMY0Dt3rBjSRdG;

1.24
date	2025.07.03.19.18.10;	author wiz;	state Exp;
branches;
next	1.23;
commitid	VtH4NTLuuL94Nk1G;

1.23
date	2025.04.15.16.31.40;	author adam;	state Exp;
branches;
next	1.22;
commitid	GEWTNMP1WtMxpaRF;

1.22
date	2025.01.07.20.01.35;	author adam;	state Exp;
branches;
next	1.21;
commitid	krnvUQOX0aLIIAEF;

1.21
date	2024.11.11.07.28.43;	author wiz;	state Exp;
branches;
next	1.20;
commitid	1fBDq3LwS98NncxF;

1.20
date	2024.10.23.22.55.52;	author wiz;	state Exp;
branches;
next	1.19;
commitid	N6FCvgJ7XNa88QuF;

1.19
date	2024.10.14.06.45.52;	author wiz;	state Exp;
branches;
next	1.18;
commitid	ynDJEEQamKd33BtF;

1.18
date	2024.06.17.09.14.17;	author wiz;	state Exp;
branches;
next	1.17;
commitid	bsn5nimTCz7cHjeF;

1.17
date	2023.12.13.20.18.36;	author wiz;	state Exp;
branches;
next	1.16;
commitid	GY3KbIp6PpCqnlQE;

1.16
date	2023.08.01.23.20.49;	author wiz;	state Exp;
branches;
next	1.15;
commitid	lyjXpsSeA6xpH8zE;

1.15
date	2023.07.01.08.37.41;	author wiz;	state Exp;
branches;
next	1.14;
commitid	OGZpaIgVtdY8O4vE;

1.14
date	2022.11.19.09.58.31;	author wiz;	state Exp;
branches;
next	1.13;
commitid	PsBWiPblzgwrsi2E;

1.13
date	2022.04.15.11.27.41;	author nia;	state Exp;
branches;
next	1.12;
commitid	lCtjK2TRqCMsXhAD;

1.12
date	2022.01.05.15.41.14;	author wiz;	state Exp;
branches;
next	1.11;
commitid	FQ77UruBIUsgzsnD;

1.11
date	2022.01.05.07.05.39;	author wiz;	state Exp;
branches;
next	1.10;
commitid	BSJyMMdObEuRIpnD;

1.10
date	2022.01.04.20.54.17;	author wiz;	state Exp;
branches;
next	1.9;
commitid	CYyhdK9qtoffkmnD;

1.9
date	2021.12.30.13.05.39;	author adam;	state Exp;
branches;
next	1.8;
commitid	w23rFuQ4pTWhUFmD;

1.8
date	2021.06.29.08.42.01;	author nia;	state Exp;
branches;
next	1.7;
commitid	D0oUCU0hDExum0ZC;

1.7
date	2020.10.12.21.52.04;	author bacon;	state Exp;
branches;
next	1.6;
commitid	568C66J21E1N0FrC;

1.6
date	2020.05.14.19.31.40;	author joerg;	state Exp;
branches;
next	1.5;
commitid	AqzLyGWli1Ewaf8C;

1.5
date	2020.01.26.17.31.40;	author rillig;	state Exp;
branches;
next	1.4;
commitid	4fBBvoSLJaGd0eUB;

1.4
date	2019.11.13.20.56.08;	author adam;	state Exp;
branches;
next	1.3;
commitid	sgjlXbcsrvc0wJKB;

1.3
date	2019.06.14.15.13.35;	author adam;	state Exp;
branches;
next	1.2;
commitid	xvh2i3zxnxewvarB;

1.2
date	2019.03.20.16.08.06;	author adam;	state Exp;
branches;
next	1.1;
commitid	8crIWwRXLEprz7gB;

1.1
date	2018.07.04.06.46.49;	author adam;	state Exp;
branches;
next	;
commitid	KQa8c9n0KEy3NMIA;


desc
@@


1.26
log
@py-tables: updated to 3.11.1

Changes from 3.11.0 to 3.11.1

* Fix blosc2 loading (:issue:`1305`, :issue:`1306`).


Changes from 3.10.2 to 3.11.0

* Add support for Python 3.14.
* Set Cython "freethreading_compatible" directive.
  Please refer to https://www.pytables.org/cookbook/threading.html
  for details about threading support.
* Python wheel packages are now generated exploiting limited API and
  stable ABI (`abi3`).
@
text
@# $NetBSD: Makefile,v 1.25 2025/10/09 07:57:49 wiz Exp $

DISTNAME=	tables-3.11.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	math python
MASTER_SITES=	${MASTER_SITE_PYPI:=t/tables/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.pytables.org/
COMMENT=	Database package for large amounts of data
LICENSE=	modified-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-cython>=3.0.11:../../devel/py-cython
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-cpuinfo-[0-9]*:../../sysutils/py-cpuinfo
DEPENDS+=	${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
DEPENDS+=	${PYPKGPREFIX}-numexpr>=2.6.2:../../math/py-numexpr
DEPENDS+=	${PYPKGPREFIX}-typing-extensions>=4.4.0:../../devel/py-typing-extensions

USE_LANGUAGES=	c c++

PYTHON_VERSIONS_INCOMPATIBLE=	310

post-install:
	cd ${DESTDIR}${PREFIX}/bin && \
	${MV} pt2to3 pt2to3-${PYVERSSUFFIX} && \
	${MV} ptdump ptdump-${PYVERSSUFFIX} && \
	${MV} ptrepack ptrepack-${PYVERSSUFFIX} && \
	${MV} pttree pttree-${PYVERSSUFFIX} || ${TRUE}

# needs to be installed first
# as of 3.10.1
# FAILED (errors=314, skipped=59)
# many with
# FileNotFoundError: [Errno 2] No such file or directory: '/home/pbulk/.pytables-cpuinfo.json'
do-test:
	${PYTHONBIN} -m tables.tests.test_all

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/lzo/buildlink3.mk"
.include "../../devel/blosc2/buildlink3.mk"
.include "../../devel/hdf5/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
BUILDLINK_API_DEPENDS.py-numpy+=	${PYPKGPREFIX}-numpy>=2.0
.include "../../math/py-numpy/buildlink3.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.25
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2025/07/03 19:18:10 wiz Exp $
d3 1
a3 1
DISTNAME=	tables-3.10.2
a4 1
PKGREVISION=	1
a40 1
.include "../../devel/blosc/buildlink3.mk"
@


1.24
log
@*: py-numpy needs Python >= 3.11 now
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2025/04/15 16:31:40 adam Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.23
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2025/01/07 20:01:35 adam Exp $
d23 2
@


1.22
log
@py-tables: updated to 3.10.2

PyTables 3.10.2.

This release of PyTables is mostly intended to make available a
complete set of Python wheel packages.

The source code of the package has been completely reformatted
to be fully PEP-8 compliant and in line with the latest PyQA standards.
Checking of formatting and cod quality is now regularly performed in CI.

Finally some small bug-fixes and enhancements have been implemented.

In case you want to know more in detail what has changed in this
version, please refer to: http://www.pytables.org/release_notes.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2024/11/11 07:28:43 wiz Exp $
d5 1
d15 1
a15 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=61.0.0:../../devel/py-setuptools
@


1.21
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2024/10/23 22:55:52 wiz Exp $
d3 1
a3 1
DISTNAME=	tables-3.10.1
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-cython>=0.29.32:../../devel/py-cython
@


1.20
log
@py-tables: update to 3.10.1.

3.10.1

Bugfixes

    Fix version constraints for the numpy runtime requirements
    (#1204).
    For a mistake it didn't allow to use PyTables with numpy 2.x.
    Fix compatibility with PyPy (:issue:1205), Thanks to Michał Górny.

Improvements

    Enforce numpy >= 2 as build constraint (see discussion in #1200).
    Use tuple of plain ints for chunk info coordinates.
    Thanks to Ivan Vilata-i-Balaguer.
    Enable faulthandler in tables.tests.test_all. Thanks to Eric Larson.

3.10.0

New features

    New direct chunking API which allows access to raw chunk data skipping the HDF5 filter pipeline (cutting overhead, see "Optimization tips" in User's Guide), as well as querying chunk information (#1187). Thanks to Ivan Vilata and Francesc Alted. This development was funded by a NumFOCUS grant.

Improvements

    This release is finally compatible with NumPy 2 with wheels being built against it so that they are still binary-compatible with NumPy 1 installations (#1176, #1183, #1184, #1192, #1195, #1160, #1172, #1185). NumPy >= 1.20 is required now. Thanks to Antonio Valentino, Maximilian Linhoff and Eric Larson.
    Fix compatibility with Python 3.13 (#1166), Python >= 3.10 required. Cython 3.0.10 is required for building. Thanks to Antonio Valentino.
    Add type hints to atom.py (#1079). This also narrows some types, only allowing bytes to be stored in VLStringAtom and only str in VLUnicodeAtom. Thanks to Nils Carlson.
    Add type hints to (hopefully) the complete PyTables API (#1119, #1120, #1121, #1123, #1124, #1125, #1125, #1126, #1128, #1129, #1130, #1131, #1132, #1133, #1135, #1136, #1137, #1138, #1139, #1140, #1141, #1142, #1143, #1145, #1146, #1147, #1148, #1150, #1151, #1152). Thanks to Ko Stehner.
    Reduce impact of CPU information gathering by caching in local file (#1091, #1118, #1081). Thanks to Antti Mäkinen and Maximilian Linhoff.

Bugfixes

    Fix Windows AMD64 build issues with Bzip2 and C-Blosc2 libraries (#1188). Thanks to Antonio Valentino and Eric Larson.
    Fix typos and may other language errors in docstrings (#1122). Thanks to Ko Stehner.
    Fix Blosc2 filter not setting dparams.schunk on decompression (#1110 and #1109). Thanks to Tom Birch.
    Fix using B2ND optimizations when Blosc2 is not the only enabled filter; move Fletcher32 compression to end of pipeline when enabled (#1191 and #1162). Thanks to Ivan Vilata and Alex Laslavic.
    Fix broken internal passing of createparents argument in Leaf.copy (#1127 and #1125). Thanks to Ko Stehner.
    Re-enable relative paths in ExternalLink class (#1095). Thanks to erikdl-zeiss.
    Fix using prefix in heavy tests methods of test_queries (#1169). Thanks to Miro Hrončok.
    Fix TypeError when computing Blosc2 search paths with missing library (#1188 and #1100). Thanks to martinowitsch, Padraic Calpin and Eric Larson.
    Avoid overflow RuntimeWarning on NumPy expectedrows value (#1010). Thanks to wony-zheng and Ivan Vilata.

Other changes

    Add wheels for macOS ARM64 (Apple Silicon), set MACOSX_DEPLOYMENT_TARGET in Docker (#1050 and #1165). Thanks to Clemens Brunner, Antonio Valentino, Maximilian Linhoff and Eric Larson.
    Avoid illegal hardware instruction under macOS on M1/M2 with Rosetta and AMD64 wheels (#1195 and #1186). Thanks to Antonio Valentino and Jon Peirce.
    Produce nightly wheels (with HDF5 1.14.4), also uploaded to Scientific Python Anaconda repo. Wheels are also produced for PR workflows. Thanks to Antonio Valentino and Eric Larson (#1175).
    Wheels are no longer linked with the LZO library to avoid licensing issues (#1195). Thanks to Antonio Valentino.
    Hash-pin dependencies on wheel workflows to increase build procedure security, with support for Dependabot and Renovatebot updates (#1085 and #1015). Thanks to Joyce Brum and Diogo Teles Sant'Anna.
    Hash-pin GitHub action versions in wheels workflow. Thanks to Antonio Valentino.
    Update ReadTheDocs configuration to version 2 (#1092). Thanks to Maximilian Linhoff.
    Assorted fixes to b2nd benchmark, with new results. Thanks to Ivan Vilata.
    Point users to example code to handle "Selection lists cannot have repeated values" exception (#1161 and #1149). Thanks to Joshua Albert.
    Remove unused getLibrary C code. Thanks to Antonio Valentino.
    Update included C-Blosc to 1.21.6 (#1193). Thanks to Ivan Vilata.
    Update included HDF5-Blosc filter to 1.0.1 (#1194). Thanks to Ivan Vilata.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2024/10/14 06:45:52 wiz Exp $
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.19
log
@*: clean-up after python38 removal
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/06/17 09:14:17 wiz Exp $
d3 1
a3 1
DISTNAME=	tables-3.9.2
a4 1
PKGREVISION=	1
d13 2
a14 2
TOOL_DEPENDS+=	${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
d16 1
d19 1
d31 4
a34 3
# as of 3.9.2:
# Ran 6799 tests
# FAILED (errors=2, skipped=58)
d44 1
@


1.18
log
@py-tables: use blosc from pkgsrc instead of internal copy.

From matthewd.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2023/12/13 20:18:36 wiz Exp $
a21 2
PYTHON_VERSIONS_INCOMPATIBLE=	27 38

@


1.17
log
@py-tables: update to 3.9.2.

Changes from 3.9.1 to 3.9.2
===========================

Bugfixes
--------

- Fix the assembly of returned slice data in Blosc2 NDim optimized slice reads
  by using Blosc2's `b2nd_copy_buffer` (:PR:`1078`).  The bug only showed up
  when the chunk did not fully cover the innermost dimension.  Add unit tests
  to ckeck for regressions, along with foreign-generated files, and enable and
  fix Blosc2 NDim tests which were not being run.  Thanks to Ivan Vilata.

Improvements
------------

- PyTables wheels now use a threadsafe build of the HDF5 library
  (:issue:`1075` and :PR:`1077`).  Concurrent reads should be possible with no
  need for additional locking or monkey-patching of the file open function.
  Thanks to Kiet Pham.
- Partial support for the future NumPy 2, with some tests still failing
  (:PR:`1068`).  Thanks to Thomas Grainger.
- Relax the reading of Blosc2 NDim to cope with datasets stored with other
  tools (:PR:`1072`), e.g. missing chunk rank/shape in filter values, having
  HDF5 chunks where the Blosc2 super-chunk contains more than one inner chunk,
  or chunks with data not padded to the full chunk size (example script and
  tests included).  Also enhance checks, comments and logged messages.  Thanks
  to Ivan Vilata.

Other changes
-------------

- Drop compatibility with the obsolete HDF5 1.8 API.  PyTables now requires at
  least the 1.10 API (:PR:`1080`).  Thanks to Antonio Valentino.
- Require python-blosc2 >= 2.3.0 or c-blosc2 >= 2.11.0 (which adds support for
  the `b2nd_copy_buffer` function).
- Use the main Conda Forge channel for Python 3.12 (:PR:`1066`).  Thanks to
  Thomas Grainger.
- Assorted fixes to the b2nd slicing benchmark.  Thanks to Ivan Vilata.
- Assorted fixes to b2nd slicing optimization tips (:PR:`1069`).  Thanks to
  Ivan Vilata.

Changes from 3.9.0 to 3.9.1
===========================

- Minimum supported version for Python is 3.9 (see :issue:`1062`).


Changes from 3.8.0 to 3.9.0
===========================

New features
------------

- Apply optimized slice read to Blosc2-compressed `CArray` and `EArray`, with
  Blosc2 NDim 2-level partitioning for multidimensional arrays (:PR:`1056`).
  See "Multidimensional slicing and chunk/block sizes" in the User's Guide.
  Thanks to Marta Iborra and Ivan Vilata.  This development was funded by a
  NumFOCUS grant.
- Add basic API for column-level attributes as `Col._v_col_attrs` (:PR:`893`
  and :issue:`821`).  Thanks to Jonathan Wheeler, Thorben Menne, Ezequiel
  Cimadevilla Alvarez, odidev, Sander Roet, Antonio Valentino, Munehiro
  Nishida, Zbigniew Jędrzejewski-Szmek, Laurent Repiton, xmatthias, Logan
  Kilpatrick.

Other changes
-------------

- Add support for the forthcoming Python 3.12 with binary wheels and automated
  testing.
- Drop wheels and automated testing for Python 3.8; users or distributions may
  still build and test with Python 3.8 on their own (see :commit:`ae1e60e` and
  :commit:`47f5946`).
- New benchmark for ERA5 climate data.  Thanks to Óscar Guiñón.
- New "100 trillion baby" benchmark.  Thanks to Francesc Alted.
- New benchmark for querying meteorologic data.  Thanks to Francesc Alted.

Improvements
------------

- Use `H5Dchunk_iter` (when available) to speed up walking over many chunks in
  a very large table, as well as with random reads (:issue:`991`, :PR:`997`,
  :PR:`999`).  Thanks to Francesc Alted and Mark Kittisopikul.
- Improve `setup.py` (now using `pyproject.toml` as per PEP 518) and `blosc2`
  discovery mechanism.  Blosc2 may be used both via python-blosc2 or system
  c-blosc2 (:PR:`987`, :PR:`1000`, :issue:`998`, :PR:`1017`,
  :PR:`1045`). Thanks to Antonio Valentino, Ben Greiner, Iwo-KX, nega.
- Enable compatibility with Cython 3 (:PR:`1008` and :issue:`1003`).  Thanks
  to Matus Valo and Michał Górny.
- Set GitHub workflow permissions to least privileges (:PR:`1007`).  Thanks to
  Joyce Brum.
- Add `SECURITY.md` with security policy (:PR:`1012` and :issue:`1011`).
  Thanks to Joyce Brum.
- Handle py-cpuinfo missing in some platforms (:PR:`1013`).  Thanks to Sam
  James.
- Avoid NumPy >= 1.25 deprecations, use `numpy.all`, `numpy.any`,
  etc. instead.  Thanks to Antonio Valentino.
- Avoid C-related build warnings.  Thanks to Antonio Valentino.
- Streamline CI wheel building & testing with `cibuildwheel`, more clear
  distinctions between build and runtime dependencies.
- Update included c-blosc to v1.21.5 (fixes SSE2/AVX build issue).
- Require python-blosc2 >= 2.2.8 or c-blosc2 >= 2.10.4 (Python 3.12 support
  and assorted fixes).
- Update external libraries for CI-based wheel builds (:PR:`1018` and
  :issue:`967`):

  * hdf5 v1.14.2
  * lz4 v1.9.4
  * zlib v1.2.13

Bugfixes
--------

- Fix crash in Blosc2 optimized path with large tables (:issue:`995` and
  :PR:`996`).  Thanks to Francesc Alted.
- Fix compatibility with NumExpr v2.8.5 (:PR:`1046`).  Thanks to Antonio
  Valentino.
- Fix build errors on Windows ARM64 (:PR:`989`).  Thanks to Cristoph Gohlke.
- Fix `ptrepack` failures with external links (:issue:`938` and :PR:`990`).
  Thanks to Adrian Altenhoff.
- Replace stderr messages with Python warnings (:issue:`992` and :PR:`993`).
  Thanks to Maximilian Linhoff.
- Fixes to CI workflow and wheel building (:PR:`1009`, :PR:`1047`).  Thanks to
  Antonio Valentino.
- Fix garbled rendering of `File.get_node` docstring (:PR:`1021`).  Thanks to
  Steffen Rehberg.
- Fix open `extern "C"` block (:PR:`1026`).  Thanks to Ivan Vilata.
- Fix Cython slice indexing under Python 3.12 (:PR:`1033`).  Thanks to
  Zbigniew Jędrzejewski-Szmek.
- Fix unsafe temporary file creation in benchmark (:PR:`1053`).  Thanks to Al
  Arafat Tanin (Project Alpha-Omega).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2023/08/01 23:20:49 wiz Exp $
d5 1
d40 1
@


1.16
log
@*: remove more references to Python 3.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2023/07/01 08:37:41 wiz Exp $
d3 1
a3 1
DISTNAME=	tables-3.7.0
a4 1
PKGREVISION=	2
a12 7
PYSETUPBUILDARGS+=	--blosc=${BUILDLINK_PREFIX.blosc}
PYSETUPBUILDARGS+=	--bzip2=${BUILDLINK_PREFIX.bzip2}
PYSETUPBUILDARGS+=	--hdf5=${BUILDLINK_PREFIX.hdf5}
PYSETUPBUILDARGS+=	--lzo=${BUILDLINK_PREFIX.lzo}

# check if cython dependency and post-extract target are still
# needed when updating > 3.7.0
d14 2
a22 6
USE_PKG_RESOURCES=	yes

post-extract:
	cd ${WRKSRC}/tables && ${RM} _comp_*.c *extension.c
	cythonize-${PYVERSSUFFIX} -3 ${WRKSRC}/tables/*.pxd

d31 3
a33 2
# as of 3.7.0:
# FAILED (errors=2, skipped=55)
d39 1
a39 1
.include "../../devel/blosc/buildlink3.mk"
d43 1
a43 1
.include "../../lang/python/egg.mk"
@


1.15
log
@*: restrict py-numpy users to 3.9+ in preparation for update
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2022/11/19 09:58:31 wiz Exp $
d27 1
a27 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 37 38
@


1.14
log
@py-tables: fix build for python 3.11
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2022/04/15 11:27:41 nia Exp $
d27 1
a27 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 37
@


1.13
log
@math: Mark some packages incompatible with Python 3.7 due to numpy
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:14 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
d19 3
d31 4
@


1.12
log
@python: egg.mk: add USE_PKG_RESOURCES flag

This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/01/05 07:05:39 wiz Exp $
d24 1
a24 1
PYTHON_VERSIONS_INCOMPATIBLE=	27
@


1.11
log
@py-tables: update to 3.7.0.

This is a minor version of PyTables.  The main feature added is that
compatibility with Python 3.10, numpy 1.21 and HDF5 1.12 has been improved,
while support for Python 3.5 has been dropped.

The CI infrastructure has been moved to GitHub Actions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2022/01/04 20:54:17 wiz Exp $
d5 1
d26 2
@


1.10
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2021/12/30 13:05:39 adam Exp $
d3 1
a3 1
DISTNAME=	tables-3.6.1
a4 1
PKGREVISION=	2
d18 1
a18 1
DEPENDS+=	${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
a19 2
DEPENDS+=	${PYPKGPREFIX}-mock>=2.0:../../devel/py-mock
DEPENDS+=	${PYPKGPREFIX}-six>=1.9.0:../../lang/py-six
d32 3
d36 1
a36 1
	cd ${WRKSRC}/tables/tests && ${PYTHONBIN} test_all.py
@


1.9
log
@Forget about Python 3.6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2021/06/29 08:42:01 nia Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.8
log
@py-numpy: "Python version >= 3.7 required."
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2020/10/12 21:52:04 bacon Exp $
a26 1
PYTHON_VERSIONS_INCOMPATIBLE+=	36	# py-numpy
@


1.7
log
@math/blas, math/lapack: Install interchangeable BLAS system

Install the new interchangeable BLAS system created by Thomas Orgis,
currently supporting Netlib BLAS/LAPACK, OpenBLAS, cblas, lapacke, and
Apple's Accelerate.framework.  This system allows the user to select any
BLAS implementation without modifying packages or using package options, by
setting PKGSRC_BLAS_TYPES in mk.conf. See mk/blas.buildlink3.mk for details.

This commit should not alter behavior of existing packages as the system
defaults to Netlib BLAS/LAPACK, which until now has been the only supported
implementation.

Details:

Add new mk/blas.buildlink3.mk for inclusion in dependent packages
Install compatible Netlib math/blas and math/lapack packages
Update math/blas and math/lapack MAINTAINER approved by adam@@
OpenBLAS, cblas, and lapacke will follow in separate commits
Update direct dependents to use mk/blas.buildlink3.mk
Perform recursive revbump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2020/05/14 19:31:40 joerg Exp $
d27 1
@


1.6
log
@Doesn't support Python 2.7
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2020/01/26 17:31:40 rillig Exp $
d5 1
@


1.5
log
@all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/11/13 20:56:08 adam Exp $
d25 2
@


1.4
log
@py-tables: updated to 3.6.1

Changes from 3.6.0 to 3.6.1
Maintenance release to fix packaging issues. No new features or bugfixes.


Changes from 3.5.3 to 3.6.0
PyTables 3.6 no longer supports Python 2.7.

Improvements
- Full python 3.8 support.
- On Windows PyTables wheels on PyPI are linked to `pytables_hdf5.dll` instead of
 `hdf5.dll` to prevent collisions with other packages/wheels that also vendor `hdf5.dll`.
 This should prevent problems that arise when a different version of a dll is imported
 that the version to which the program was linked to. This problem is known as "DLL Hell".
 With the renaming of the HDF5 DLL to `pytables_hdf5.dll` these problems should be solved.

Bugfixes
- Bugfix for HDF5 files/types with padding. For details see :issue:`734`.
- More fixes for python 3.8 compatibility: Replace deprecated time.clock
  with time.perf_counter
- Improvements in tests as well as clean up from dropping Python 2.7 support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/06/14 15:13:35 adam Exp $
d9 1
a9 1
HOMEPAGE=	http://www.pytables.org/
@


1.3
log
@py-tables: updated to 3.5.2

Changes from 3.5.1 to 3.5.2
- Fixed compatibility with python 3.8: Fixed `Dictonary keys changed during
  iteration` RuntimeError while moving/renameing a node.
  Thanks to Christoph Gohlke for reporting and Miro Hroncok for help with
  building PyTables for python 3.8alpha (cython compatibility).
- Fixed a bug in offset calculations producing floats instead of ints
  affecting python 3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2019/03/20 16:08:06 adam Exp $
d3 1
a3 1
DISTNAME=	tables-3.5.2
@


1.2
log
@py-tables: updated to 3.5.1

Changes from 3.5.0 to 3.5.1
- Maintenance release to fix how PyPi repo is handling wheel versions.

Changes from 3.4.4 to 3.5.0
Improvements
- When copying data from native HDF5 files with padding in compound types,
  the padding is not removed now by default.  This allows for better
  compatibility with existing HDF5 applications that expect the padding
  to stay there.
  Also, when the description is a NumPy struct array with padding, this
  is honored now.  The previous behaviour (i.e. getting rid of paddings) can
  be replicated by passing the new allow_padding parameter when opening
  a file.  For some examples, see the new examples/tables-with-padding.py
  and examples/attrs-with-padding.py.
- Added a new flag --dont-allow-padding in ptrepack utility so as to
  replicate the previous behaviour of removing padding during file copies.
  The default is to honor the original padding in copies.
- Improve compatibility with numpy 1.16.
- Improve detection of the LZO2 library at build time.
- Suppress several warnings.
- Add AVX2 support for Windows.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/07/04 06:46:49 adam Exp $
d3 1
a3 1
DISTNAME=	tables-3.5.1
d27 4
a30 4
		${MV} pt2to3 pt2to3-${PYVERSSUFFIX} && \
		${MV} ptdump ptdump-${PYVERSSUFFIX} && \
		${MV} ptrepack ptrepack-${PYVERSSUFFIX} && \
		${MV} pttree pttree-${PYVERSSUFFIX} || ${TRUE}
@


1.1
log
@py-tables: (ex py-pytables) updated to 3.4.4

Changes from 3.4.3 to 3.4.4

Improvements

Environment variable to control the use of embedded libraries.
Include citation in repository. gh-690.

Bugs fixed

Fixed import error with numexpr 2.6.5.dev0 gh-685.
Fixed linter warnings.
Fixed for re.split() is version detection. gh-687.
Fixed test failures with Python 2.7 and NumPy 1.14.3 gh-688 & gh-689.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2018/03/29 18:08:27 adam Exp $
d3 1
a3 1
DISTNAME=	tables-3.4.4
d19 2
a20 1
DEPENDS+=	${PYPKGPREFIX}-numexpr>=2.5.2:../../math/py-numexpr
d23 1
a23 1
USE_LANGUAGES=		c c++
d27 4
a30 4
		${MV} pt2to3 pt2to3${PYVERSSUFFIX} && \
		${MV} ptdump ptdump${PYVERSSUFFIX} && \
		${MV} ptrepack ptrepack${PYVERSSUFFIX} && \
		${MV} pttree pttree${PYVERSSUFFIX} || ${TRUE}
@

