Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Apr 2018 13:25:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 227162] net-mgmt/py-ciscoconfparse: Update to 1.3.11
Message-ID:  <bug-227162-13-wY7gf3RisS@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227162-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227162-13@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

Danilo G. Baio <dbaio@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|freebsd-ports-bugs@FreeBSD. |dbaio@freebsd.org
                   |org                         |
                 CC|                            |dbaio@freebsd.org,
                   |                            |freebsd_ports@k-worx.org
           Keywords|easy                        |needs-patch, needs-qa
              Flags|                            |maintainer-feedback?(freebs
                   |                            |d_ports@k-worx.org)

--- Comment #1 from Danilo G. Baio <dbaio@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 =3D "ipaddr>=3D2.1.11"
      DNSPYTHON =3D "dnspython"
  else:
      IPADDR =3D "ipaddress"
      DNSPYTHON =3D "dnspython3"


It will be necessary something like this:

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} < 3000
RUN_DEPENDS+=3D   ...
.else
RUN_DEPENDS+=3D   ...
.endif

.include <bsd.port.post.mk>



Could you test it?=20

Regards.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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