Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Apr 2018 14:09:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 227162] net-mgmt/py-ciscoconfparse: Update to 1.3.11
Message-ID:  <bug-227162-21822-Q3WYcylV0m@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227162-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227162-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227162

--- Comment #2 from Kai <freebsd_ports@k-worx.org> ---
(In reply to Danilo G. Baio from comment #1)

Hello Danilo,

good catch, thank you for your feedback!

I did some tests and everything seems to be ok with Python v3.6:

> Python 3.6.4 (default, Mar 16 2018, 14:11:06)=20
> [GCC 4.2.1 Compatible FreeBSD Clang 4.0.0 (tags/RELEASE_400/final 297347)=
] on freebsd11
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from ciscoconfparse.ccp_util import dns_query
> >>> dns_query('localhost', 'A', '127.0.0.1')
> {<DNSResponse "A" error=3D"The DNS query name does not exist: localhost.t=
estbox.net.">}
> >>> from ciscoconfparse.ccp_util import IPv4Obj
> >>> net =3D IPv4Obj('192.168.1.0/24')
> >>> net
> <IPv4Obj 192.168.1.0/24>

As far I know the py-dnspython3 package is handled as an alias for
py-dnspython, which has superseded the first one.

Python 3 has also its own internal ipaddress module which makes the RUN_DEP=
ENDS
of devel/py-ipaddr for the py36 flavor superfluous in that case.

If you like, I'll create a new patch which handles the RUN_DEPENDS for the
devel/py-ipaddr package between the Python flavors?
--
Cheers
Kai

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227162-21822-Q3WYcylV0m>