diff options
author | cpm <cpm@FreeBSD.org> | 2017-04-30 22:26:41 +0800 |
---|---|---|
committer | cpm <cpm@FreeBSD.org> | 2017-04-30 22:26:41 +0800 |
commit | dd1fc990d58a912459e6f8c4902fb01b8a3c1685 (patch) | |
tree | 19a2d3bf91b85fddf246a4326292ef8d9db52987 /www/xpi-pentadactyl/distinfo | |
parent | c9c43104d1365662347d846ba7df28c5ce46fecd (diff) | |
download | freebsd-ports-gnome-dd1fc990d58a912459e6f8c4902fb01b8a3c1685.tar.gz freebsd-ports-gnome-dd1fc990d58a912459e6f8c4902fb01b8a3c1685.tar.zst freebsd-ports-gnome-dd1fc990d58a912459e6f8c4902fb01b8a3c1685.zip |
security/py-{acme,certbot}: Make argparse a conditional dependency
Backport an upstream patch [1][2] to setup.py making argparse a conditional
dependency. Without this change, the following error is observed at run-time:
pkg_resources.DistributionNotFound: The 'argparse' distribution was not found and is required by certbot
This is due to the separate argparse distribution (via PyPI) no longer being
required for Python versions >= 2.7 and >= 3.2, as they contain the argparse
module in the standard library.
Since FreeBSD only supports Python versions with the argparse module built in,
*and* having removed the devel/py-argparse port, the install_requires=argparse
dependency cannot be satisfied, as install_requires is only relevant for non
standard library (PyPI) packages/dependencies.
[1] https://github.com/certbot/certbot/pull/4554
[2] https://github.com/certbot/certbot/issues/4485
PR: 218973
Reported by: olgeni
Approved by: koobs (py-certbot, maintainer)
Obtained from: https://github.com/certbot/certbot/commit/89af460792fcdfb23c7dc4f9fcdec1bfa07a2656
Differential Revision: https://reviews.freebsd.org/D10546
Diffstat (limited to 'www/xpi-pentadactyl/distinfo')
0 files changed, 0 insertions, 0 deletions