[Bug 227162] net-mgmt/py-ciscoconfparse: Update to 1.3.11
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Apr 1 13:26:01 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227162
Danilo G. Baio <dbaio at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|freebsd-ports-bugs at FreeBSD. |dbaio at freebsd.org
|org |
CC| |dbaio at freebsd.org,
| |freebsd_ports at k-worx.org
Keywords|easy |needs-patch, needs-qa
Flags| |maintainer-feedback?(freebs
| |d_ports at k-worx.org)
--- Comment #1 from Danilo G. Baio <dbaio at freebsd.org> ---
Hi, thanks for your contribution!
Did you test it with Python 3?
This came to my attention:
setup.py:
## Conditionally require the correct ipaddr package in Python2 vs Python3
if sys.version_info[0]<3:
IPADDR = "ipaddr>=2.1.11"
DNSPYTHON = "dnspython"
else:
IPADDR = "ipaddress"
DNSPYTHON = "dnspython3"
It will be necessary something like this:
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 3000
RUN_DEPENDS+= ...
.else
RUN_DEPENDS+= ...
.endif
.include <bsd.port.post.mk>
Could you test it?
Regards.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list