Bug 268850 - sysutils/duplicity 0.8.23 missing boto3 dependency
Summary: sysutils/duplicity 0.8.23 missing boto3 dependency
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Nuno Teixeira
URL:
Keywords:
Depends on:
Blocks: 270572
  Show dependency treegraph
 
Reported: 2023-01-10 06:06 UTC by DaveQB
Modified: 2024-01-14 09:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DaveQB 2023-01-10 06:06:15 UTC
Hi,

I hope this is not a mistake by me.

OS: 13.1

Pkg:
duplicity-0.8.23
Name           : duplicity
Version        : 0.8.23
Installed on   : Tue Jan 10 16:41:27 2023 AEDT
Origin         : sysutils/duplicity
Architecture   : FreeBSD:13:amd64
Prefix         : /usr/local
Categories     : sysutils
Licenses       : GPLv2+


$ pkg install duplicity

Then using with S3**, results in:

"ModuleNotFoundError: No module named 'boto3'"

$ head -3 `which duplicity`
#!/usr/local/bin/python3.9
# -*- Mode:Python; indent-tabs-mode:nil; tab-width:4; encoding:utf8 -*-
#

This solved the issue:

$ pkg install py39-boto3

** example
$ duplicity --exclude-if-present .nobackup --progress  /root/TEST-BKP s3:///bucket/backups
Comment 1 Danilo G. Baio freebsd_committer freebsd_triage 2023-12-23 19:59:51 UTC
open to take
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2024-01-05 03:32:16 UTC
^Triage: canonicalize assignment.
Comment 3 Nuno Teixeira freebsd_committer freebsd_triage 2024-01-08 11:10:33 UTC
Could you test boto3 option from
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=247528
?
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-01-14 09:38:41 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 5 Nuno Teixeira freebsd_committer freebsd_triage 2024-01-14 09:40:07 UTC
Committed, thanks!