distribute has been merged back into setuptools long time ago; python3 ports

can safely use setuptools now.

ok rpointel@
This commit is contained in:
jasper 2014-09-29 07:00:22 +00:00
parent 89e244a7fa
commit 1d3beb7b63

View File

@ -1,4 +1,4 @@
# $OpenBSD: python.port.mk,v 1.75 2014/06/03 11:29:32 rpointel Exp $
# $OpenBSD: python.port.mk,v 1.76 2014/09/29 07:00:22 jasper Exp $
#
# python.port.mk - Xavier Santolaria <xavier@santolaria.net>
# This file is in the public domain.
@ -80,11 +80,7 @@ _MODPY_PRE_BUILD_STEPS = :
.if defined(MODPY_SETUPTOOLS) && ${MODPY_SETUPTOOLS:L} == "yes"
# The setuptools module provides a package locator (site.py) that is
# required at runtime for the pkg_resources stuff to work
. if ${MODPY_MAJOR_VERSION} == 2
MODPY_SETUPUTILS_DEPEND ?= devel/py-setuptools
. elif ${MODPY_MAJOR_VERSION} == 3
MODPY_SETUPUTILS_DEPEND ?= devel/py-distribute${MODPY_FLAVOR}
. endif
MODPY_SETUPUTILS_DEPEND ?= devel/py-setuptools${MODPY_FLAVOR}
MODPY_RUN_DEPENDS += ${MODPY_SETUPUTILS_DEPEND}
BUILD_DEPENDS += ${MODPY_SETUPUTILS_DEPEND}