Yeah I think you are right.  Updated just to keep the comment regarding version sensitivity between b2sdk <-> duplicity.

README added.



On 2023-09-25 7:33 a.m., Stuart Henderson wrote:
On 2023/09/25 11:21, Stuart Henderson wrote:
I think it's intentional that duplicity doesm't force a dependency on
support nodules for all backends, see DESCR
Though it could be improved e.g. by listing the actual packages needed
and duplicity "url" prefixes for the various things, and maybe moving
that to a pkg-readme following the standard template...

Yeah I think you are right.  Updated just to keep the comment regarding version sensitivity between b2sdk <-> duplicity.

README added.


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/Makefile,v
retrieving revision 1.65
diff -u -p -u -r1.65 Makefile
--- Makefile    22 Apr 2023 19:08:22 -0000    1.65
+++ Makefile    26 Sep 2023 01:03:46 -0000
@@ -1,5 +1,8 @@
 COMMENT =        encrypted backup using rsync algorithm

+# If upgrading duplicity to >= 1.2.1 please also upgrade
+# net/py-b2sdk to >= 1.19.0 as well, see:
+# https://gitlab.com/duplicity/duplicity/-/issues/701
 MODPY_EGG_VERSION =    1.0.0
 DISTNAME =        duplicity-${MODPY_EGG_VERSION}

Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/pkg/PLIST,v
retrieving revision 1.26
diff -u -p -u -r1.26 PLIST
--- pkg/PLIST    22 Apr 2023 19:08:23 -0000    1.26
+++ pkg/PLIST    26 Sep 2023 01:03:46 -0000
@@ -245,6 +245,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/duplicity/util.py
 @man man/man1/duplicity.1
 @man man/man1/rdiffdir.1
+share/doc/pkg-readmes/${PKGSTEM}
 share/locale/bg/LC_MESSAGES/duplicity.mo
 share/locale/bs/LC_MESSAGES/duplicity.mo
 share/locale/ca/LC_MESSAGES/duplicity.mo
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null    1 Jan 1970 00:00:00 -0000
+++ pkg/README    26 Sep 2023 01:03:46 -0000
@@ -0,0 +1,24 @@
++-----------------------------------------------------------------------
+| Running ${PKGSTEM} on OpenBSD
++-----------------------------------------------------------------------
+
+Duplicity supports many remote platforms & protocols for remote
+storage.  Please see the Duplicity's home webpage for information
+about some of these:
+
+    https://duplicity.gitlab.io/
+
+Many of the remote connection/storage strategies will require extra
+python libraries to be installed.  You can get a sense of what libs
+may be needed from the requirements.txt file:
+
+ https://gitlab.com/duplicity/duplicity/-/blob/main/requirements.txt
+
+For example, to use the Backblaze B2 protocol you would need to install
+the py3-b2sdk library.
+
+    pkg_add py3-b2sdk
+
+Some libraries may not be provided as OpenBSD packages, in which case
+you will need to use pip to install them.
+


Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/Makefile,v
retrieving revision 1.65
diff -u -p -u -r1.65 Makefile
--- Makefile    22 Apr 2023 19:08:22 -0000      1.65
+++ Makefile    26 Sep 2023 01:03:46 -0000
@@ -1,5 +1,8 @@
 COMMENT =              encrypted backup using rsync algorithm
 
+# If upgrading duplicity to >= 1.2.1 please also upgrade
+# net/py-b2sdk to >= 1.19.0 as well, see:
+# https://gitlab.com/duplicity/duplicity/-/issues/701
 MODPY_EGG_VERSION =    1.0.0
 DISTNAME =             duplicity-${MODPY_EGG_VERSION}
 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/sysutils/duplicity/pkg/PLIST,v
retrieving revision 1.26
diff -u -p -u -r1.26 PLIST
--- pkg/PLIST   22 Apr 2023 19:08:23 -0000      1.26
+++ pkg/PLIST   26 Sep 2023 01:03:46 -0000
@@ -245,6 +245,7 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/duplicity/util.py
 @man man/man1/duplicity.1
 @man man/man1/rdiffdir.1
+share/doc/pkg-readmes/${PKGSTEM}
 share/locale/bg/LC_MESSAGES/duplicity.mo
 share/locale/bs/LC_MESSAGES/duplicity.mo
 share/locale/ca/LC_MESSAGES/duplicity.mo
Index: pkg/README
===================================================================
RCS file: pkg/README
diff -N pkg/README
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ pkg/README  26 Sep 2023 01:03:46 -0000
@@ -0,0 +1,24 @@
++-----------------------------------------------------------------------
+| Running ${PKGSTEM} on OpenBSD
++-----------------------------------------------------------------------
+
+Duplicity supports many remote platforms & protocols for remote
+storage.  Please see the Duplicty's home webpage for information
+about some of these:
+
+       https://duplicity.gitlab.io/
+
+Many of the remote connection/storage strategies will require extra
+python libraries to be installed.  You can get a sense of what libs
+may be needed from the requirements.txt file:
+
+       https://gitlab.com/duplicity/duplicity/-/blob/main/requirements.txt
+
+For example, to use the Backblaze B2 protocol you would need to install 
+the py3-b2sdk library.
+
+       pkg_add py3-b2sdk
+
+Some libraries may not be provided as OpenBSD packages, in which case 
+you will need to use pip to install them.
+

Reply via email to