Summary: | archivers/py-borgbackup:'msgpack-python<0.5.0,>=0.4.6' distribution was not found | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | iron.udjin |
Component: | Individual Port(s) | Assignee: | Po-Chuan Hsieh <sunpoet> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | clukas, jjuanino, pi |
Priority: | --- | Flags: | jjuanino:
maintainer-feedback+
|
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
iron.udjin
2018-04-23 13:07:52 UTC
Hi, thanks for the bug report. Currently, 1.1.5 version requires msgpack-python >= 0.4.6 and < 0.5.0, as noted in http://borgbackup.readthedocs.io/en/stable/changes.html#version-1-1-5-2018-04-01 I need to enforce this constraint in the Makefile port. I am to ask to ports@ and I let you know. Regards. Please try this. msgpack 0.5.6 should work. Index: Makefile =================================================================== --- Makefile (revision 468109) +++ Makefile (working copy) @@ -28,6 +28,9 @@ USES= python:3.4+ ssl USE_PYTHON= autoplist distutils +post-patch: + @${REINPLACE_CMD} -e 's|msgpack-python>=0.4.6,<0.5.0|msgpack>=0.5.6|' ${WRKSRC}/setup.py ${WRKSRC}/src/borgbackup.egg-info/requires.txt + post-install: @${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/borg/ -name "*.so" \ -exec ${STRIP_CMD} {} \; Hi, I fully agree with this patch, as noted by borgbackup upstream (https://github.com/borgbackup/borg/issues/3753): From the 0.5.x series, 0.5.6 looks good, but everything else looks too problematic / broken. TODO: update requirements: 0.4.6, 0.4.7, 0.4.8, 0.5.6. But we need also to enforce msgpack>=0.5.6 in the Makefile Thanks! (In reply to Sunpoet Po-Chuan Hsieh from comment #2) Patch fixed the problem. Thank you. Committed. Thanks! A commit references this bug: Author: sunpoet Date: Tue Apr 24 19:47:26 UTC 2018 New revision: 468235 URL: https://svnweb.freebsd.org/changeset/ports/468235 Log: Fix msgpack dependency - Update RUN_DEPENDS - Bump PORTREVISION for package change Bump msgpack requirement to 0.5.6 which is the only acceptable 0.5.x version [1]. PR: 227717 Reported by: <iron.udjin@gmail.com> Submitted by: sunpoet (myself) Approved by: Jose Garcia Juanino <jjuanino@gmail.com> Reference: https://github.com/borgbackup/borg/issues/3753 [1] Changes: head/archivers/py-borgbackup/Makefile |