Re: git: cb6498f32594 - main - math/py-contourpy: Update to 1.2.1

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Thu, 11 Apr 2024 12:04:21 UTC
10.04.2024 10:07, Wen Heping пишет:
> The branch main has been updated by wen:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=cb6498f32594b079e5962e974664b423448cf66f
>
> commit cb6498f32594b079e5962e974664b423448cf66f
> Author:     Wen Heping <wen@FreeBSD.org>
> AuthorDate: 2024-04-09 01:13:28 +0000
> Commit:     Wen Heping <wen@FreeBSD.org>
> CommitDate: 2024-04-10 06:58:42 +0000
>
>      math/py-contourpy: Update to 1.2.1
> ---
>   math/py-contourpy/Makefile | 2 +-
>   math/py-contourpy/distinfo | 6 +++---
>   2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/math/py-contourpy/Makefile b/math/py-contourpy/Makefile
> index c58bed4ce896..0634650aa669 100644
> --- a/math/py-contourpy/Makefile
> +++ b/math/py-contourpy/Makefile
> @@ -1,5 +1,5 @@
>   PORTNAME=	contourpy
> -PORTVERSION=	1.2.0
> +PORTVERSION=	1.2.1
>   CATEGORIES=	math python
>   MASTER_SITES=	PYPI
>   PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> diff --git a/math/py-contourpy/distinfo b/math/py-contourpy/distinfo
> index 645316f11ce3..8aaa9a219418 100644
> --- a/math/py-contourpy/distinfo
> +++ b/math/py-contourpy/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1699613986
> -SHA256 (contourpy-1.2.0.tar.gz) = 171f311cb758de7da13fc53af221ae47a5877be5a0843a9fe150818c51ed276a
> -SIZE (contourpy-1.2.0.tar.gz) = 13455881
> +TIMESTAMP = 1712624829
> +SHA256 (contourpy-1.2.1.tar.gz) = 4d8908b3bee1c889e547867ca4cdc54e5ab6be6d3e078556814a22457f49423c
> +SIZE (contourpy-1.2.1.tar.gz) = 13457196

Hello!

I got weird error during build on live system 13.3-p1 amd64:
[1/14] c++ -Isrc/_contourpy.cpython-310.so.p -Isrc -I../src -I/include 
-I/usr/local/include/python3.10 -fvisibility=hidden 
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall 
-Winvalid-pch -Werror -std=c++17 -O3 -O2 -pipe -march=core2 
-fstack-protector-strong -fno-strict-aliasing -fPIC 
-DCONTOURPY_VERSION=1.2.1 -MD -MQ 
src/_contourpy.cpython-310.so.p/converter.cpp.o -MF 
src/_contourpy.cpython-310.so.p/converter.cpp.o.d -o 
src/_contourpy.cpython-310.so.p/converter.cpp.o -c ../src/converter.cpp
FAILED: src/_contourpy.cpython-310.so.p/converter.cpp.o
c++ -Isrc/_contourpy.cpython-310.so.p -Isrc -I../src -I/include 
-I/usr/local/include/python3.10 -fvisibility=hidden 
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall 
-Winvalid-pch -Werror -std=c++17 -O3 -O2 -pipe -march=core2 
-fstack-protector-strong -fno-strict-aliasing -fPIC 
-DCONTOURPY_VERSION=1.2.1 -MD -MQ 
src/_contourpy.cpython-310.so.p/converter.cpp.o -MF 
src/_contourpy.cpython-310.so.p/converter.cpp.o.d -o 
src/_contourpy.cpython-310.so.p/converter.cpp.o -c ../src/converter.cpp
In file included from ../src/converter.cpp:1:
In file included from ../src/converter.h:4:
../src/common.h:4:10: fatal error: 'pybind11/pybind11.h' file not found
     4 | #include <pybind11/pybind11.h>
       |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.


Build fixed with "USES=localbase".


-- 
Best regards,
Vladimir Druzenko