Tuesday, October 01, 2024

UPDATE net/py-msgpack

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?


diff --git Makefile Makefile
index 1d333855263..9e8e0494799 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,10 +14,6 @@ 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
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
diff --git patches/patch-pyproject_toml patches/patch-pyproject_toml
new file mode 100644
index 00000000000..f80fb7d3447
--- /dev/null
+++ patches/patch-pyproject_toml
@@ -0,0 +1,10 @@
+Index: pyproject.toml
+--- pyproject.toml.orig
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools >= 69.5.1"]
++requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+
+ [project]

No comments:

Post a Comment