Enclosed a diff for bringing py-msgpack to 0.5.6, which fixes some
issues. This is the last available version of msgpack-python, which has
been deprecated [0]. Updating to the newer msgpack is currently not an
option as some of its consumers do not like the renaming.

While here change HOMEPAGE to https, and update WANTLIB.

Consumers of py-msgpack seem to work ok with this version. I've been
running this version in combination with borgbackup for over a week, and
have not seen any issue.

MAINTAINER responded with "ok shadchin@".

Any other OKs?

[0] https://pypi.org/project/msgpack-python/


Index: Makefile
===================================================================
RCS file: /cvs/ports/net/py-msgpack/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile    26 Jul 2017 22:45:28 -0000      1.13
+++ Makefile    12 Jun 2018 04:21:56 -0000
@@ -2,24 +2,25 @@
 
 COMMENT =              messagepack (de)serializer
 
-MODPY_EGG_VERSION =    0.4.8
+# XXX: 0.5.6 is the last available version of msgpack-python, which has been
+# deprecated. Updating to the newer msgpack is currently not an option as some
+# of its consumers do not like the renaming.
+MODPY_EGG_VERSION =    0.5.6
 DISTNAME =             msgpack-python-${MODPY_EGG_VERSION}
 PKGNAME =              py-msgpack-${MODPY_EGG_VERSION}
-REVISION =             1
 
 CATEGORIES =           net textproc
 
-HOMEPAGE =             http://msgpack.org/
+HOMEPAGE =             https://msgpack.org/
 
 MAINTAINER =           Alexandr Shadchin <[email protected]>
 
 # Apache 2.0
 PERMIT_PACKAGE_CDROM = Yes
 
-WANTLIB +=     ${MODPY_WANTLIB} m pthread ${COMPILER_LIBCXX}
+WANTLIB =              ${COMPILER_LIBCXX} ${MODPY_WANTLIB} m
 
 MODULES =              lang/python
-
 MODPY_PI =             Yes
 MODPY_SETUPTOOLS =     Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/py-msgpack/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo    28 Aug 2016 13:17:52 -0000      1.5
+++ distinfo    12 Jun 2018 04:21:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (msgpack-python-0.4.8.tar.gz) = 
GisZ3w8DUZ7H8Z+CavuTWyAtiXmwhWxvs9wolVeZ+IY=
-SIZE (msgpack-python-0.4.8.tar.gz) = 113641
+SHA256 (msgpack-python-0.5.6.tar.gz) = 
N4zIptNUW1Mt/RSdpxWrrk/aKjrbbXTlJdDV5R9GkJs=
+SIZE (msgpack-python-0.5.6.tar.gz) = 138996

Reply via email to