Index | Thread | Search

From:
Bjorn Ketelaars <bket@openbsd.org>
Subject:
Re: UPDATE net/py-msgpack
To:
ports@openbsd.org
Date:
Tue, 15 Oct 2024 05:35:31 +0200

Download raw body.

Thread
On Tue 01/10/2024 16:59, Bjorn Ketelaars wrote:
> Diff below updates py-msgpack to 1.1.0. Changes can be found at [0].
> 
> Noticeable change to the port is that there is no need any more for
> setting COMPILER and WANTLIB as this update does not use C++ mode in
> Cython [1].
> 
> Passes all tests and works with borgbackup-1.4 and 2.0. There are a
> couple of other consumers that seemingly are happy with this update,
> though this has not been tested thoroughly:
> 
> databases/py-influxdb,python3
> devel/py-buildbot/buildbot
> devel/py-buildslave
> editors/py-neovim
> editors/py-neovim,python3
> net/synapse
> security/mitmproxy
> sysutils/salt
> textproc/calibre
> 
> [0] https://github.com/msgpack/msgpack-python/releases/tag/v1.1.0.
> [1] https://github.com/msgpack/msgpack-python/commit/3e9a2a7419714c294be0590aab24f2dc040581f5
> 
> Comments / OK?

Ping...

Updated diff below, which incorporates feedback from sthen@


diff --git Makefile Makefile
index 1d333855263..70e6ada2be6 100644
--- Makefile
+++ Makefile
@@ -1,6 +1,6 @@
 COMMENT =		messagepack (de)serializer
 
-MODPY_EGG_VERSION =	1.0.8
+MODPY_EGG_VERSION =	1.1.0
 EPOCH =			0
 DISTNAME =		msgpack-${MODPY_EGG_VERSION}
 PKGNAME =		py-msgpack-${MODPY_EGG_VERSION}
@@ -14,16 +14,10 @@ MAINTAINER =		Bjorn Ketelaars <bket@openbsd.org>
 # Apache 2.0
 PERMIT_PACKAGE =	Yes
 
-WANTLIB =		${COMPILER_LIBCXX} m
-
-COMPILER =		base-clang ports-gcc base-gcc
-
 MODULES =		lang/python
 MODPY_PYBUILD =		setuptools
 MODPY_PI =		Yes
 
-BUILD_DEPENDS =		lang/cython${MODPY_FLAVOR}
-
 FLAVORS =		python3
 FLAVOR =		python3
 
diff --git distinfo distinfo
index 9d4fa43ba7c..60ec6c1c1f3 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (msgpack-1.0.8.tar.gz) = lcArDifnBuSNDlQm0XEMp44PBijW6J1bWluRpfEidPM=
-SIZE (msgpack-1.0.8.tar.gz) = 167014
+SHA256 (msgpack-1.1.0.tar.gz) = 3UMszCxyuRTky3evzmSqt2HBE3zGmL45hO7iYLyyiW4=
+SIZE (msgpack-1.1.0.tar.gz) = 167260