Index | Thread | Search

From:
Daniel Dickman <didickman@gmail.com>
Subject:
Re: py-yaml 5.4.1 -> 6.0.1
To:
Daniel Dickman <didickman@gmail.com>
Cc:
ports@openbsd.org, pea@openbsd.org
Date:
Tue, 9 Apr 2024 18:54:26 -0400

Download raw body.

Thread
I plan to commit this one in the next day or two unless any objections.y

On Tue, 26 Mar 2024, Daniel Dickman wrote:

> Here's an update of py-yaml to 6.0.1 which is the latest release. This is 
> needed so we can update urllib3 to the 2.x series.
> 
> Build-tested with all reverse deps, although further runtime testing of 
> those consumers would be useful.
> 
> ok?
> 
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/textproc/py-yaml/Makefile,v
> diff -u -p -u -r1.31 Makefile
> --- Makefile	24 Sep 2023 11:39:30 -0000	1.31
> +++ Makefile	26 Mar 2024 04:55:23 -0000
> @@ -1,9 +1,8 @@
>  COMMENT=	YAML parser and emitter in Python
>  
> -MODPY_EGG_VERSION=5.4.1
> +MODPY_EGG_VERSION=6.0.1
>  DISTNAME=	PyYAML-${MODPY_EGG_VERSION}
>  PKGNAME=	py-yaml-${MODPY_EGG_VERSION}
> -REVISION=	4
>  
>  CATEGORIES=	textproc
>  
> @@ -14,17 +13,19 @@ MAINTAINER=	Pierre-Emmanuel Andre <pea@o
>  # BSD
>  PERMIT_PACKAGE=	Yes
>  
> -WANTLIB+=	pthread yaml-0 ${MODPY_WANTLIB}
> +WANTLIB+=	yaml-0 ${MODPY_WANTLIB}
> +
> +MODULES=	lang/python
>  
>  FLAVORS=	python3
>  FLAVOR=		python3
>  
> -MODULES=	lang/python
>  MODPY_PI=	Yes
>  MODPY_PYBUILD=	setuptools
> +
>  CFLAGS+=	-I${LOCALBASE}/include
>  LIB_DEPENDS=	devel/libyaml
> -BUILD_DEPENDS=	lang/cython${MODPY_FLAVOR}
> +BUILD_DEPENDS=	lang/cython${MODPY_FLAVOR}<3v0
>  
>  # https://github.com/yaml/pyyaml/issues/640
>  MODPY_PYTEST=	No
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/textproc/py-yaml/distinfo,v
> diff -u -p -u -r1.9 distinfo
> --- distinfo	1 Feb 2022 18:30:27 -0000	1.9
> +++ distinfo	26 Mar 2024 04:55:23 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (PyYAML-5.4.1.tar.gz) = YHd0y7oocyv6gCtUuqdIQhX1MJkQVbtWLvvtWy8gpF4=
> -SIZE (PyYAML-5.4.1.tar.gz) = 175147
> +SHA256 (PyYAML-6.0.1.tar.gz) = v99GCxc2x3Xyup9qkryjC8IJUGe4qdd4dtH61sw7SkM=
> +SIZE (PyYAML-6.0.1.tar.gz) = 125201
>