Bug 243052 - sysutils/duplicity: Change py27 dependencies to py37
Summary: sysutils/duplicity: Change py27 dependencies to py37
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Danilo G. Baio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-03 11:11 UTC by Arnaud de Prelle
Modified: 2020-01-03 12:52 UTC (History)
1 user (show)

See Also:
dbaio: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud de Prelle 2020-01-03 11:11:48 UTC
Dear port maintainer,

The current duplicity port (0.7.19) depends on some py27 packages.
py27 will be deprecated (EoLed upstream) on 2020-12-31.

Can you please replace the following dependencies by their py37 equivalent :

B-deps:
- py27-setuptools-41.4.0_1

R-deps:
- py27-asn1crypto-0.24.0
- py27-bcrypt-3.1.7
- py27-cffi-1.13.2
- py27-monotonic-1.5
- py27-paramiko-2.6.0
- py27-pexpect-4.7.0
- py27-ptyprocess-0.6.0
- py27-pyasn1-0.4.7
- py27-setuptools-41.4.0_1
- py27-six-1.12.0
- py37-boto-2.49.0_1
- py37-cryptography-2.6.1
- py37-fasteners-0.14.1
- py37-pycparser-2.19

As some users are also using Google Drive (and/or other backends) to save their encrypted backups the following dependencies might also be changed:
- py27-gdata-2.0.18_1
- py27-google-api-python-client-1.7.6
- py27-google-auth-1.10.0
- py27-google-auth-httplib2-0.0.3
- py27-oauth2client-4.1.3
- py27-pydrive-1.3.1_1

Thanks :-)
Comment 1 Danilo G. Baio freebsd_committer freebsd_triage 2020-01-03 11:51:18 UTC
Hi.

sysutils/duplicity (v0.7) supports only Python 2.
sysutils/duplicity-devel (v0.8) supports Python 2 and 3.

If you use duplicity-devel package, it will install only py37 dependencies (when using official FreeBSD packages).

And take in mind, this is still a development release.

Regards.
Comment 2 Arnaud de Prelle 2020-01-03 12:44:47 UTC
Hi Danilo,

Thanks for the information.

The problem with duplicity-devel 0.8 is that py-gdata@py37 (dependency for Google Drive backend) does not exists. It only exists in flavor py27.
Comment 3 Arnaud de Prelle 2020-01-03 12:52:58 UTC
(In reply to Arnaud de Prelle from comment #2)

Cf. also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213005#c3
As PyDrive is now part of the source tree, I'll test duplicity with it (instead of GData) and submit a patch.