Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Sep 2018 04:30:31 +0800
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org, Nicola Vitale <nivit@freebsd.org>
Subject:   Re: svn commit: r479218 - in head/security: py-acme py-certbot py-certbot-apache py-certbot-dns-cloudflare py-certbot-dns-cloudxns py-certbot-dns-digitalocean py-certbot-dns-dnsimple py-certbot-dns-dns...
Message-ID:  <CAMHz58TGmL3GaZT4a-xd_nTR3Vwg=bnfXS_zdXJBvuwDC=6nKA@mail.gmail.com>
In-Reply-To: <20180910181812.upvkftko5byhbikw@atuin.in.mat.cc>
References:  <201809080014.w880EmE7061146@repo.freebsd.org> <20180910181812.upvkftko5byhbikw@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 11, 2018 at 2:18 AM Mathieu Arnold <mat@freebsd.org> wrote:

> On Sat, Sep 08, 2018 at 12:14:48AM +0000, Sunpoet Po-Chuan Hsieh wrote:
> > Author: sunpoet
> > Date: Sat Sep  8 00:14:48 2018
> > New Revision: 479218
> > URL: https://svnweb.freebsd.org/changeset/ports/479218
> >
> > Log:
> >   Update to 0.27.1
>
> After this update, when running certbot certonly, I get:
>
> An unexpected error occurred:
> DistributionNotFound: The 'google-auth-httplib2>=0.0.3' distribution was
> not found and is required by google-api-python-client
>

Hi mat,

(Maintainer is cc'd.)
It's a missing dependency of py-google-api-python-client.
It should be fixed by adding security/py-google-auth-httplib2 to
www/py-google-api-python-client.

Index: www/py-google-api-python-client/Makefile
===================================================================
--- www/py-google-api-python-client/Makefile    (revision 479428)
+++ www/py-google-api-python-client/Makefile    (working copy)
@@ -2,6 +2,7 @@

 PORTNAME=      google-api-python-client
 PORTVERSION=   1.7.4
+PORTREVISION=  1
 CATEGORIES=    www python
 MASTER_SITES=  CHEESESHOP
 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,6 +15,7 @@

 RUN_DEPENDS=
${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.2:www/py-httplib2@${PY_FLAVOR}
\

${PYTHON_PKGNAMEPREFIX}google-auth>=0:security/py-google-auth@${PY_FLAVOR} \
+
 ${PYTHON_PKGNAMEPREFIX}google-auth-httplib2>=0.0.3:security/py-google-auth-httplib2@${PY_FLAVOR}
\
                ${PYTHON_PKGNAMEPREFIX}six>=1.6.1:devel/py-six@${PY_FLAVOR}
\

${PYTHON_PKGNAMEPREFIX}uritemplate>=3.0.0:net/py-uritemplate@${PY_FLAVOR}

Please see the logfile '/tmp/tmp5csB7R' for more details.
>
> And that file has:
>
> 2018-09-10 20:15:53,534:DEBUG:certbot.log:Exiting abnormally:
> Traceback (most recent call last):
>   File "/usr/local/bin/certbot", line 11, in <module>
>     load_entry_point('certbot==0.27.1', 'console_scripts', 'certbot')()
>   File "/usr/local/lib/python2.7/site-packages/certbot/main.py", line
> 1338, in main
>     plugins = plugins_disco.PluginsRegistry.find_all()
>   File "/usr/local/lib/python2.7/site-packages/certbot/plugins/disco.py",
> line 206, in find_all
>     plugin_ep = PluginEntryPoint(entry_point)
>   File "/usr/local/lib/python2.7/site-packages/certbot/plugins/disco.py",
> line 52, in __init__
>     self.plugin_cls = entry_point.load()
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 2320, in load
>     self.require(*args, **kwargs)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 2343, in require
>     items = working_set.resolve(reqs, env, installer, extras=self.extras)
>   File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 777, in resolve
>     raise DistributionNotFound(req, requirers)
> DistributionNotFound: The 'google-auth-httplib2>=0.0.3' distribution was
> not found and is required by google-api-python-client
> 2018-09-10 20:15:53,534:ERROR:certbot.log:An unexpected error occurred:
>
> --
> Mathieu Arnold
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58TGmL3GaZT4a-xd_nTR3Vwg=bnfXS_zdXJBvuwDC=6nKA>