Index | Thread | Search

From:
Renaud Allard <renaud@allard.it>
Subject:
Re: [update] devel/py-rpds-py 0.20.0
To:
ports@openbsd.org
Date:
Mon, 19 Aug 2024 16:04:34 +0200

Download raw body.

Thread

On 8/19/24 3:56 PM, Landry Breuil wrote:
> Le Wed, Aug 14, 2024 at 10:54:54AM +0200, Renaud Allard a écrit :
>>
>>
>> On 8/13/24 10:23 PM, Stuart Henderson wrote:
>>> For py-pydantic-core, please get rid of pip as a build dep; see
>>> www/py-adblock for an example. I didn't figure out how to do tests
>>> without but at least let's not drag that mess into build at least.
>>> Ideally do the same for whichever port that bit was copied from too :)
>>>
>>
>> Here is a diff which upgrades devel/py-rpds-py to 0.20.0 and removes the
>> install dep on pip
> 
> my understanding of this diff is that now instead of pip, do-install
> uses py-installer, so... devel/py-pip should move to TDEP, and
> devel/py-installer should be added to BDEP, like www/py-adblock does ?
> 

Indeed, this one should be better.

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/py-inflect/Makefile,v
diff -u -p -r1.3 Makefile
--- Makefile	6 May 2024 12:24:08 -0000	1.3
+++ Makefile	19 Aug 2024 14:03:11 -0000
@@ -1,9 +1,8 @@
 COMMENT=	correctly generate plurals, singular nouns, ordinals, etc
 
-MODPY_EGG_VERSION=	6.0.4
+MODPY_EGG_VERSION=	7.3.1
 DISTNAME=	inflect-${MODPY_EGG_VERSION}
 PKGNAME=	py-${DISTNAME}
-REVISION=	0
 
 CATEGORIES=	textproc
 
@@ -17,7 +16,12 @@ MODULES=	lang/python
 
 MODPY_PI=	Yes
 MODPY_PYBUILD=	setuptools_scm
-RUN_DEPENDS=	devel/py-pydantic${MODPY_FLAVOR}
+RUN_DEPENDS=	devel/py-pydantic${MODPY_FLAVOR} \
+		devel/py-typeguard${MODPY_FLAVOR} \
+		devel/py-more-itertools${MODPY_FLAVOR} \
+		devel/py-installer${MODPY_FLAVOR}
+TEST_DEPENDS=	devel/py-annotated_types${MODPY_FLAVOR} \
+		devel/py-pip${MODPY_FLAVOR}
 
 FLAVORS=	python3
 FLAVOR=		python3
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/py-inflect/distinfo,v
diff -u -p -r1.2 distinfo
--- distinfo	6 Apr 2023 07:10:11 -0000	1.2
+++ distinfo	19 Aug 2024 14:03:11 -0000
@@ -1,2 +1,2 @@
-SHA256 (inflect-6.0.4.tar.gz) = GEJkmhe2ytZoEqXJvfrLYxDh57bdijHwJnZt8bYmEus=
-SIZE (inflect-6.0.4.tar.gz) = 71131
+SHA256 (inflect-7.3.1.tar.gz) = 7deFFIpnOwxt/vGn2AzBvLLdbQQc2zE7YAMuRk/U6Ag=
+SIZE (inflect-7.3.1.tar.gz) = 71980
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/py-inflect/pkg/PLIST,v
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST	27 Nov 2022 10:55:14 -0000	1.1.1.1
+++ pkg/PLIST	19 Aug 2024 14:03:11 -0000
@@ -9,4 +9,12 @@ lib/python${MODPY_VERSION}/site-packages
 ${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/inflect/${MODPY_PYCACHE}/
 lib/python${MODPY_VERSION}/site-packages/inflect/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
 lib/python${MODPY_VERSION}/site-packages/inflect/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/inflect/compat/
+lib/python${MODPY_VERSION}/site-packages/inflect/compat/__init__.py
+${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/inflect/compat/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/inflect/compat/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
+lib/python${MODPY_VERSION}/site-packages/inflect/compat/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/inflect/compat/${MODPY_PYCACHE}py38.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
+lib/python${MODPY_VERSION}/site-packages/inflect/compat/${MODPY_PYCACHE}py38.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/inflect/compat/py38.py
 lib/python${MODPY_VERSION}/site-packages/inflect/py.typed