On Fri, 26 Jul 2024 23:29:10 +0200,
Paul Galbraith <p...@galbraiths.ca> wrote:
> 
> Can finally follow up on this ... now that b2sdk and duplicity are both
> updated, there are no dependency problems.  Updated to the latest b2
> release version & attached again.
> 
> [2 b2.tgz <application/octet-stream (base64)>]

I had tried to test it, and it requires some changes:

diff --git sysutils/b2/Makefile sysutils/b2/Makefile
index a65a63068b9..578e209fa6d 100644
--- sysutils/b2/Makefile
+++ sysutils/b2/Makefile
@@ -16,15 +16,13 @@ NO_TEST =           Yes
 
 RUN_DEPENDS =          devel/py-argcomplete${MODPY_FLAVOR} \
                        devel/py-arrow${MODPY_FLAVOR} \
-                       net/py-b2sdk${MODPY_FLAVOR} \
-                       textproc/py-docutils${MODPY_FLAVOR} \
+                       devel/py-pdm-backend${MODPY_FLAVOR} \
                        devel/py-phx-class-registry${MODPY_FLAVOR} \
-                       sysutils/py-platformdirs${MODPY_FLAVOR} \
-                       textproc/py-rst2ansi${MODPY_FLAVOR} \
                        devel/py-tabulate${MODPY_FLAVOR} \
-                       devel/py-tqdm${MODPY_FLAVOR}
-
-#FLAVORS =             python3
-#FLAVOR =              python3
+                       devel/py-tqdm${MODPY_FLAVOR} \
+                       net/py-b2sdk${MODPY_FLAVOR} \
+                       sysutils/py-platformdirs${MODPY_FLAVOR} \
+                       textproc/py-docutils${MODPY_FLAVOR} \
+                       textproc/py-rst2ansi${MODPY_FLAVOR}
 
 .include <bsd.port.mk>

Here I removed commented flavors, sorted alphabetically dependencies and
added missed devel/py-pdm-backend.

diff --git sysutils/b2/pkg/DESCR sysutils/b2/pkg/DESCR
index 6a19af05602..26c3579a337 100644
--- sysutils/b2/pkg/DESCR
+++ sysutils/b2/pkg/DESCR
@@ -1,2 +1,2 @@
-The command-line tool that gives easy access to all of the capabilities 
+The command-line tool that gives easy access to all of the capabilities
 of B2 Cloud Storage.

Small nikpiking: removed whitespace at the end of line

diff --git sysutils/b2/pkg/PLIST sysutils/b2/pkg/PLIST
index e910ea53f53..5bd3b06e2fe 100644
--- sysutils/b2/pkg/PLIST
+++ sysutils/b2/pkg/PLIST
@@ -1,3 +1,4 @@
+@conflict boost-*
 bin/b2
 bin/b2v3
 bin/b2v4

and, finally, added a conflict with boost. Both port contains
/usr/local/bin/b2 but such conflict makes installing it quite tricky because
a bit less than 200 ports depends on devel/boost.

-- 
wbr, Kirill

Reply via email to