Bug 270572 - sysutils/duplicity: Update to 2.1.4
Summary: sysutils/duplicity: Update to 2.1.4
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Nuno Teixeira
URL: https://duplicity.gitlab.io/stable/CH...
Keywords:
Depends on: 268850 274904
Blocks:
  Show dependency treegraph
 
Reported: 2023-03-31 22:20 UTC by Luca Lesinigo
Modified: 2024-01-14 09:42 UTC (History)
4 users (show)

See Also:


Attachments
[PATCH] sysutils/duplicity: Update 0.8.23 -> 2.1.4 (1.52 KB, patch)
2023-11-04 14:37 UTC, Andrey Korobkov
no flags Details | Diff
[PATCH] sysutils/duplicity: Update 0.8.23 -> 2.1.4 (2.65 KB, patch)
2023-11-04 16:01 UTC, Andrey Korobkov
no flags Details | Diff
[PATCH] sysutils/duplicity: Lint with portclippy(1) and portfmt(1) (3.90 KB, patch)
2023-11-04 16:17 UTC, Andrey Korobkov
no flags Details | Diff
[PATCH 2/2] sysutils/duplicity: Lint with portclippy(1) and portfmt(1) (3.91 KB, patch)
2023-11-04 16:29 UTC, Andrey Korobkov
no flags Details | Diff
[PATCH 1/2] sysutils/duplicity: Update 0.8.23 -> 2.1.4 (2.65 KB, patch)
2023-11-04 19:10 UTC, Andrey Korobkov
alster: maintainer-approval? (dbaio)
Details | Diff
[PATCH 2/2] sysutils/duplicity: Lint with portclippy(1) and portfmt(1) (3.91 KB, patch)
2023-11-04 19:11 UTC, Andrey Korobkov
alster: maintainer-approval? (dbaio)
Details | Diff
v0: pep517, pytest (5.90 KB, patch)
2023-12-25 03:06 UTC, Nuno Teixeira
no flags Details | Diff
v1: DOCS, NLS (7.76 KB, patch)
2023-12-25 18:32 UTC, Nuno Teixeira
no flags Details | Diff
v1.1: DOCS, NLS (clean) (7.61 KB, patch)
2023-12-25 18:37 UTC, Nuno Teixeira
no flags Details | Diff
v2: Add options, update defaults, update pkg-message (8.53 KB, patch)
2024-01-08 11:09 UTC, Nuno Teixeira
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luca Lesinigo 2023-03-31 22:20:45 UTC
We currently have duplicity-0.8.23 in ports, meanwhile upstream published a couple of patch releases to 0.8.x, then quickly proceeded with two 1.0.x and three 1.2.x.

The latest v1.2.2 was published Jan 26, 2023 and does not seem to introduce any breaking change or incompatibility with previous versions.

Upstream changelog: https://gitlab.com/duplicity/duplicity/-/blob/rel.1.2.2/CHANGELOG.md?ref_type=tags
Comment 1 Andrey Korobkov 2023-11-04 14:37:46 UTC
Created attachment 246110 [details]
[PATCH] sysutils/duplicity: Update 0.8.23 -> 2.1.4
Comment 2 Andrey Korobkov 2023-11-04 16:01:52 UTC
Created attachment 246114 [details]
[PATCH] sysutils/duplicity: Update 0.8.23 -> 2.1.4
Comment 3 Andrey Korobkov 2023-11-04 16:17:37 UTC
Created attachment 246116 [details]
[PATCH] sysutils/duplicity: Lint with portclippy(1) and portfmt(1)
Comment 4 Andrey Korobkov 2023-11-04 16:29:14 UTC
Created attachment 246117 [details]
[PATCH 2/2] sysutils/duplicity: Lint with portclippy(1) and portfmt(1)
Comment 5 Andrey Korobkov 2023-11-04 19:10:13 UTC
Created attachment 246123 [details]
[PATCH 1/2] sysutils/duplicity: Update 0.8.23 -> 2.1.4
Comment 6 Andrey Korobkov 2023-11-04 19:11:04 UTC
Created attachment 246124 [details]
[PATCH 2/2] sysutils/duplicity: Lint with portclippy(1) and portfmt(1)
Comment 7 Danilo G. Baio freebsd_committer freebsd_triage 2023-12-23 19:59:29 UTC
open to take
Comment 8 Nuno Teixeira freebsd_committer freebsd_triage 2023-12-25 03:06:39 UTC
Created attachment 247234 [details]
v0: pep517, pytest

- Switch to pep517 build
- Add pytest

Most of post-targets are commented so we can adjust and configure port to new version features.

Tests are working but for now it depends temporary on archivers/gtar.
(See Makefile comments about TESTS)

I'm not familiar with this port so I will start using it to learn how it works.

Sugestions are welcome on puting options and stuff working.
Comment 9 Nuno Teixeira freebsd_committer freebsd_triage 2023-12-25 18:32:30 UTC
Created attachment 247248 [details]
v1: DOCS, NLS

- Put DOCS working, patched
- Put NLS working, patched

Related to tests, I did tried convert gtar->bsdtar cmds but test fails.
I decided to give it away and use gtar as test dep.
Comment 10 Nuno Teixeira freebsd_committer freebsd_triage 2023-12-25 18:37:24 UTC
Created attachment 247249 [details]
v1.1: DOCS, NLS (clean)

(same as v1, clean some garbage)
Comment 11 Nuno Teixeira freebsd_committer freebsd_triage 2024-01-08 11:09:25 UTC
Created attachment 247528 [details]
v2: Add options, update defaults, update pkg-message

- Add BOTO3, DROPBOX options
- Remove FTP and FTPS from default options
- Update pkg-message: remove dropbox from list to port
Comment 12 commit-hook freebsd_committer freebsd_triage 2024-01-14 09:38:43 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a5cc256fcf8b3d54d8f786979c013ced54cf423

commit 3a5cc256fcf8b3d54d8f786979c013ced54cf423
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-01-14 09:27:40 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-01-14 09:37:50 +0000

    sysutils/duplicity: Improve port

    - Switch to DISTVERSION
    - Switch to pep517 build
    - Update WWW (redirection)
    - Remove FTP and FTPS from default options
    - Use py-boto3 run dep on S3 option
    - Add dropbox backend option
    - Add pytest testunit
    - Take maintainership

    PR:             268850, 270572, 274904

 sysutils/duplicity/Makefile                        | 88 +++++++++-------------
 sysutils/duplicity/distinfo                        |  2 +-
 .../duplicity/files/extra-patch-setup.py (new)     | 30 ++++++++
 sysutils/duplicity/files/patch-setup.py (new)      | 21 ++++++
 sysutils/duplicity/pkg-message                     | 17 -----
 5 files changed, 86 insertions(+), 72 deletions(-)
Comment 13 Nuno Teixeira freebsd_committer freebsd_triage 2024-01-14 09:42:52 UTC
Committed, thanks!