Friday, June 28, 2024

Re: UPDATE: devel/py-sip 6.8.3, x11/py-qt5 5.15.10, x11/py-sip-qt5 12.13.0

On Thu, 27 Jun 2024, Caspar Schutijser wrote:

> Hi,
>
> Below is a diff that updates devel/py-sip and related ports that must
> be upgraded at the same time to their most recent versions (there is
> no update for www/py-qtwebengine). As is noted in the Makefile of
> devel/py-sip, these updates should be tested well.
>

A few tweaks:
- py-tomli can be removed now that we're on Python 3.11
- devel/py-ply had a trailing "\" which is wrong
- devel/py-ply can actually be removed as per the updated setup.py (it
looks like they include an embedded version of ply instead)

See tweaked diff below for the py-sip Makefile:

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-sip/Makefile,v
diff -u -p -u -r1.64 Makefile
--- Makefile 6 May 2024 12:23:31 -0000 1.64
+++ Makefile 29 Jun 2024 02:04:01 -0000
@@ -3,11 +3,10 @@ COMMENT= automatically generate Python b
# The following ports often usually need updating together:
# devel/py-sip, www/py-qtwebengine, x11/py-qt5, x11/py-sip-qt5
# API changes fairly often, be sure to test dependent ports when updating.
-MODPY_EGG_VERSION= 6.7.11
+MODPY_EGG_VERSION= 6.8.3

DISTNAME= sip-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
-REVISION= 1

EPOCH= 0

@@ -31,9 +30,6 @@ MODPY_PI= Yes
MODPY_PYBUILD= setuptools

RUN_DEPENDS= sysutils/py-packaging${MODPY_FLAVOR} \
- devel/py-setuptools${MODPY_FLAVOR} \
- devel/py-ply${MODPY_FLAVOR} \
-# until we move to python 3.11
-RUN_DEPENDS+= textproc/py-tomli${MODPY_FLAVOR}
+ devel/py-setuptools${MODPY_FLAVOR}

.include <bsd.port.mk>

No comments:

Post a Comment