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

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

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

--- Comment #1 from Danilo G. Baio <db...@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.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to