head	1.12;
access;
symbols
	pkgsrc-2026Q1:1.12.0.2
	pkgsrc-2026Q1-base:1.12
	pkgsrc-2025Q4:1.10.0.2
	pkgsrc-2025Q4-base:1.10
	pkgsrc-2025Q3:1.9.0.4
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.9.0.2
	pkgsrc-2025Q2-base:1.9
	pkgsrc-2025Q1:1.8.0.2
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.6.0.2
	pkgsrc-2024Q4-base:1.6
	pkgsrc-2024Q3:1.4.0.8
	pkgsrc-2024Q3-base:1.4
	pkgsrc-2024Q2:1.4.0.6
	pkgsrc-2024Q2-base:1.4
	pkgsrc-2024Q1:1.4.0.4
	pkgsrc-2024Q1-base:1.4
	pkgsrc-2023Q4:1.4.0.2
	pkgsrc-2023Q4-base:1.4
	pkgsrc-2023Q3:1.3.0.6
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.3.0.4
	pkgsrc-2023Q2-base:1.3
	pkgsrc-2023Q1:1.3.0.2
	pkgsrc-2023Q1-base:1.3
	pkgsrc-2022Q4:1.2.0.2
	pkgsrc-2022Q4-base:1.2;
locks; strict;
comment	@# @;


1.12
date	2026.02.17.11.41.12;	author wiz;	state Exp;
branches;
next	1.11;
commitid	3cEo0HxcqsP4UIuG;

1.11
date	2026.02.10.19.35.09;	author adam;	state Exp;
branches;
next	1.10;
commitid	IldHX6CTgk1BKRtG;

1.10
date	2025.11.27.09.56.06;	author adam;	state Exp;
branches;
next	1.9;
commitid	xjct0bRx7ohpXakG;

1.9
date	2025.04.16.11.28.29;	author adam;	state Exp;
branches;
next	1.8;
commitid	MaYjfqiT6BvzHgRF;

1.8
date	2025.02.02.10.38.04;	author he;	state Exp;
branches;
next	1.7;
commitid	EKDLQP9mcF7HLSHF;

1.7
date	2025.01.26.16.13.20;	author he;	state Exp;
branches;
next	1.6;
commitid	YBybSSHeUCrAQ0HF;

1.6
date	2024.11.11.07.28.40;	author wiz;	state Exp;
branches;
next	1.5;
commitid	1fBDq3LwS98NncxF;

1.5
date	2024.11.01.22.26.50;	author adam;	state Exp;
branches;
next	1.4;
commitid	svYU1fjTxO39GZvF;

1.4
date	2023.10.29.18.12.01;	author wiz;	state Exp;
branches;
next	1.3;
commitid	QVTGOY8fI5p48yKE;

1.3
date	2023.03.14.19.39.24;	author adam;	state Exp;
branches;
next	1.2;
commitid	CMB1mNxxN5xuY7hE;

1.2
date	2022.12.12.09.46.23;	author adam;	state Exp;
branches;
next	1.1;
commitid	3CfIUDqstIGlEf5E;

1.1
date	2022.11.14.18.50.34;	author wiz;	state Exp;
branches;
next	;
commitid	R7DdAP67ChEXyH1E;


desc
@@


1.12
log
@py-gmpy2: add missing tool dependency

fixes PLIST
@
text
@# $NetBSD: Makefile,v 1.11 2026/02/10 19:35:09 adam Exp $

DISTNAME=	gmpy2-2.3.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/a/alpha/}
CATEGORIES=	math python
MASTER_SITES=	${MASTER_SITE_PYPI:=g/gmpy2/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/aleaxit/gmpy
COMMENT=	Interface to GMP/MPIR, MPFR, and MPC for Python
LICENSE=	gnu-lgpl-v3

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm>=0:../../devel/py-setuptools_scm
TEST_DEPENDS+=	${PYPKGPREFIX}-cython-[0-9]*:../../devel/py-cython
TEST_DEPENDS+=	${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
TEST_DEPENDS+=	${PYPKGPREFIX}-mpmath-[0-9]*:../../math/py-mpmath

.include "../../devel/gmp/buildlink3.mk"
BUILDLINK_API_DEPENDS.mpcomplex?=	mpcomplex>=1.2.1
.include "../../math/mpcomplex/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.11
log
@py-gmpy2: updated to 2.3.0

Changes in gmpy2 2.3.0

* Drop support for CPython < 3.9, experimental support for PyPy. (skirpichev)
* Improved support for mixed `mpfr` and `mpc` arithmetic.  (skirpichev)
* Preliminary support for free-threaded builds.  (skirpichev)
* Fix behavior and memory leaks for contexts.  (skirpichev)
* Fix memory leaks for `mpfr` caching.  (skirpichev)
* Fix rounding errors in float(mpz) and float(mpq).  (skirpichev)
* Add missing methods to `mpz` and `mpq`.  (skirpichev)
* Fix round(mpz, ndigits) if ndigits is negative.  (skirpichev)
* Use context's rounding mode per default in `format` and `round`. (skirpichev)
* Use setuptools_scm to manage versions. (skirpichev)
* Fix exception for float(mpfr('inf')) (was: OverflowError). (skirpichev)
* Ignore sign bit of NaN's in string output. (skirpichev)
* Support '%' formatting type for mpfr's. (skirpichev)
* Support floating-point formatting types for mpz's. (skirpichev)
* Set default precision to 6 for 'e'/'E' format types. (skirpichev)
* Support "alternate form" in floating-point formatting. (skirpichev)
* Improve documentation for `format` support in gmpy2's types. (skirpichev)
* Use 'g' (not 'f') as default formatting type for mpfr's. (skirpichev)
* Specify case, when formatting type and precision are missing. (skirpichev)
* Disable scripts/mp_bitcnt_t.diff in binary wheels. (skirpichev)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2025/11/27 09:56:06 adam Exp $
d14 1
@


1.10
log
@py-gmpy2: updated to 2.2.2

Changes in gmpy2 2.2.2

* Fix memory leak for mpfr/mpc cache, see issue 511.
* Fix memory leak in GMPy_CTXT_Exit(), see issue 515.
* Restore 'm' in library list, see issue 538.
* Adjust to_bytes() behavior to match CPython.
* Provide wheels for CPython v3.14.
* Provide wheels for Linux and Windows ARM64.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2025/04/16 11:28:29 adam Exp $
d3 1
a3 1
DISTNAME=	gmpy2-2.2.2
@


1.9
log
@Fix for setuptools>=78; bump revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2025/02/02 10:38:04 he Exp $
d3 1
a3 1
DISTNAME=	gmpy2-2.2.1
a4 1
PKGREVISION=	1
@


1.8
log
@lang/python and a number of python packages: re-do atomic64.mk issue.

Evidently, python 3.13 brought in the need to support 64-bit atomics.
This means that python extension packages built with C needs to
use mk/atomic64.mk to make -latomic available on the required 32-bit
ports.  Sadly, there is no reliable way to detect in the .mk files
whether the package is using C (or C++), so this change adds an
unconditional include of mk/atomic64.mk when the python version is
equal to or larger than 3.13 for packages using egg.mk or wheel.mk.

This undoes the individual package Makefile inclusions of mk/atomic64.mk
that I've added over the last few days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2025/01/26 16:13:20 he Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=61:../../devel/py-setuptools
@


1.7
log
@math/py-gmpy2: use atomic64.mk to fix build on macppc w/python3.13.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/11/11 07:28:40 wiz Exp $
a22 1
.include "../../mk/atomic64.mk"
@


1.6
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/11/01 22:26:50 adam Exp $
d23 1
@


1.5
log
@py-gmpy2: updated to 2.2.1

Changes in gmpy2 2.2.1

* Fix internal use of char when int should be used.
* Add :meth:`xmpz.bit_count`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2023/10/29 18:12:01 wiz Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.4
log
@py-gmpy2: update to 2.2.0alpha1.

Alpha release packaged for its support for Python 3.12.

Changes in gmpy2 2.2.0
------------------------

* Added prev_prime() when GMP >= 6.3
* support for CPython 3.12
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2023/03/14 19:39:24 adam Exp $
d3 1
a3 1
DISTNAME=	gmpy2-2.2.0a1
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
a17 6
TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test

PYTHON_VERSIONS_INCOMPATIBLE=	27

do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
@


1.3
log
@py-gmpy2: updated to 2.1.5

2.1.5

Final (?) release of the 2.1.x series. No code changes since 2.1.3. Fixes to build Apple Silicon binary builds are the only changes since 2.1.3.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/12/12 09:46:23 adam Exp $
d3 2
a4 2
DISTNAME=	gmpy2-2.1.5
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
d13 7
d23 1
a23 1
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test/runtests.py
d26 1
d29 1
a29 1
.include "../../lang/python/egg.mk"
@


1.2
log
@py-gmpy2: updated to 2.1.4

2.1.3
Latest release with minor bug fixes and support for Python 3.11
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/11/14 18:50:34 wiz Exp $
d3 1
a3 1
DISTNAME=	gmpy2-2.1.4
d5 1
a5 1
CATEGORIES=	math
d15 3
@


1.1
log
@math/py-gmpy2: import py-gmpy2-2.1.2

gmpy2 is an optimized, C-coded Python extension module that supports
fast multiple-precision arithmetic. gmpy2 is based on the original
gmpy module. gmpy2 adds support for correctly rounded multiple-precision
real arithmetic (using the MPFR library) and complex arithmetic
(using the MPC library).
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	gmpy2-2.1.2
@

