From owner-freebsd-python@freebsd.org  Fri Jun  9 21:28:36 2017
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7952CBFD6E4
 for <freebsd-python@mailman.ysv.freebsd.org>;
 Fri,  9 Jun 2017 21:28:36 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org
 [IPv6:2001:1900:2254:206a::50:5])
 by mx1.freebsd.org (Postfix) with ESMTP id 5F5317CE67
 for <freebsd-python@freebsd.org>; Fri,  9 Jun 2017 21:28:36 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.ysv.freebsd.org (Postfix)
 id 5B51DBFD6E2; Fri,  9 Jun 2017 21:28:36 +0000 (UTC)
Delivered-To: python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 595C4BFD6E1
 for <python@mailman.ysv.freebsd.org>; Fri,  9 Jun 2017 21:28:36 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2001:1900:2254:206a::16:76])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3AB557CE65
 for <python@FreeBSD.org>; Fri,  9 Jun 2017 21:28:36 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from bugs.freebsd.org ([127.0.1.118])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v59LSaO8058609
 for <python@FreeBSD.org>; Fri, 9 Jun 2017 21:28:36 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 219890] print/cloudprint: pkg_resources.DistributionNotFound:
 The 'argparse'
Date: Fri, 09 Jun 2017 21:28:36 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: needs-patch, regression
X-Bugzilla-Severity: Affects Some People
X-Bugzilla-Who: nimrodl@gmail.com
X-Bugzilla-Status: Open
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: rene@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback? merge-quarterly?
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-219890-21822-r7DXJri7Nu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-219890-21822@https.bugs.freebsd.org/bugzilla/>
References: <bug-219890-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, 
 <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/>
List-Post: <mailto:freebsd-python@freebsd.org>
List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>,
 <mailto:freebsd-python-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 09 Jun 2017 21:28:36 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219890

--- Comment #3 from nimrodl@gmail.com ---
I don't know much about python and using libraries in it, but here's what I=
 was
able to hack up based on what I know.

I realize that the py-argparse port was removed since the functionality was
included in the standard library.  I tried removing the import statements t=
hat
were causing the errors, but then the calls to=20

parser =3D argparse.ArgumentParser()

were failing.=20

I found a package py-configargparse which claims to be a drop in replacement
for argparse.  I modified the sources to reflect configargparse in all
locations (3) where argparse was referenced.  I rebuilt the port and it's
working for me.=20=20

I'm sure there's someone with more python than I know that can fix it bette=
r.=20
I can provide a simple patch to show what I did.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=