Re: git: 2fc390ba404f - main - math/py-bottleneck: Convert to USE_PYTHON=pep517
- In reply to: Po-Chuan Hsieh : "git: 2fc390ba404f - main - math/py-bottleneck: Convert to USE_PYTHON=pep517"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jun 2025 17:58:24 UTC
> On 13 May 2024, at 16:20, Po-Chuan Hsieh <sunpoet@freebsd.org> wrote:
>
> The branch main has been updated by sunpoet:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=2fc390ba404f039f630fac6685cd1b1f225fb82f
>
> commit 2fc390ba404f039f630fac6685cd1b1f225fb82f
> Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> AuthorDate: 2024-05-13 14:02:17 +0000
> Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
> CommitDate: 2024-05-13 14:02:17 +0000
>
> math/py-bottleneck: Convert to USE_PYTHON=pep517
>
> - Bump PORTREVISION for package change
> ---
> math/py-bottleneck/Makefile | 8 ++++++--
> math/py-bottleneck/files/patch-pyproject.toml | 9 +++++++++
> math/py-bottleneck/files/patch-setup.py | 11 +++++++++++
> 3 files changed, 26 insertions(+), 2 deletions(-)
>
> diff --git a/math/py-bottleneck/Makefile b/math/py-bottleneck/Makefile
> index 221458b8adb6..759a0368dc93 100644
> --- a/math/py-bottleneck/Makefile
> +++ b/math/py-bottleneck/Makefile
> @@ -1,5 +1,6 @@
> PORTNAME= bottleneck
> PORTVERSION= 1.3.8
> +PORTREVISION= 1
> CATEGORIES= math python
> MASTER_SITES= PYPI
> PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
> @@ -12,11 +13,14 @@ WWW= https://github.com/kwgoodman/bottleneck
> LICENSE= BSD2CLAUSE
> LICENSE_FILE= ${WRKSRC}/LICENSE
>
> -BUILD_DEPENDS= ${RUN_DEPENDS}
> +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR} \
> + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
> + ${PYTHON_PKGNAMEPREFIX}versioneer>=0:devel/py-versioneer@${PY_FLAVOR} \
> + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
> RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=0,1:math/py-numpy@${PY_FLAVOR}
>
> USES= python
> -USE_PYTHON= autoplist concurrent cython distutils
> +USE_PYTHON= autoplist concurrent cython pep517
The cython dependency probably should be changed to cython3.
—
Juraj Lutter
otis@FreeBSD.org