[Bug 227162] net-mgmt/py-ciscoconfparse: Update to 1.3.11
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Apr 1 14:09:22 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227162
--- Comment #2 from Kai <freebsd_ports at 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)
> [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="The DNS query name does not exist: localhost.testbox.net.">}
> >>> from ciscoconfparse.ccp_util import IPv4Obj
> >>> net = 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_DEPENDS
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
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list