From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 14 11:50:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B40AC8E0 for ; Thu, 14 Feb 2013 11:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9937CB3D for ; Thu, 14 Feb 2013 11:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r1EBo0tx012772 for ; Thu, 14 Feb 2013 11:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r1EBo0Zr012771; Thu, 14 Feb 2013 11:50:00 GMT (envelope-from gnats) Resent-Date: Thu, 14 Feb 2013 11:50:00 GMT Resent-Message-Id: <201302141150.r1EBo0Zr012771@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ruslan Makhmatkhanov Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 04E918BE for ; Thu, 14 Feb 2013 11:47:29 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id EB876B28 for ; Thu, 14 Feb 2013 11:47:28 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r1EBlSmI069609 for ; Thu, 14 Feb 2013 11:47:28 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r1EBlSdb069601; Thu, 14 Feb 2013 11:47:28 GMT (envelope-from nobody) Message-Id: <201302141147.r1EBlSdb069601@red.freebsd.org> Date: Thu, 14 Feb 2013 11:47:28 GMT From: Ruslan Makhmatkhanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/176142: [exp-run] replace devel/py-setuptools with devel/py-distribute X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 11:50:00 -0000 >Number: 176142 >Category: ports >Synopsis: [exp-run] replace devel/py-setuptools with devel/py-distribute >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 14 11:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ruslan Makhmatkhanov >Release: 10.0-CURRENT >Organization: >Environment: 10.0-CURRENT amd64 >Description: This patch replacing devel/py-setuptools with devel/py-distribute when dependency invoked via USE_DISTUTILS=easy_install. This affects many of the python ports, so this definitely needs an exp-run. I did some local "exp-run" by succeffully building www/plone with this change from scratch ). There were reports from other committers on python@ that they live with this change, done manualy, for some time w/o problems and in fact this change was requested by many. Two main points of this change: 1. Switch to supported package manager for python packages, because py-setuptools development is dead for a long time. 2. Use one tool both for python2 installations and python3 installations (right now we use setuptools for python2 ports and distribute for python3). Since distribute is a drop-in replacement, no problems are expected with this. It would be great to make the switch before the any slushes/freezes. >How-To-Repeat: >Fix: Patch attached with submission follows: Index: net-mgmt/net-snmp/Makefile =================================================================== --- net-mgmt/net-snmp/Makefile (revision 312154) +++ net-mgmt/net-snmp/Makefile (working copy) @@ -67,8 +67,8 @@ -s ${PYEASYINSTALL_BINDIR} \ ${PYDISTUTILS_PKGNAME} USE_PYTHON= yes -RUN_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools +RUN_DEPENDS+= easy_install:${PORTSDIR}/devel/py-distribute +BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-distribute CONFIGURE_ARGS+=--with-python-modules PLIST_SUB+= WITH_PYTHON="" PYTHON_VER=${PYTHON_VER} PLIST_SUB+= PYDISTUTILS_PKGVERSION=${PYDISTUTILS_PKGVERSION} Index: devel/trac-bitten/Makefile =================================================================== --- devel/trac-bitten/Makefile (revision 312154) +++ devel/trac-bitten/Makefile (working copy) @@ -7,7 +7,7 @@ PORTNAME= bitten PORTVERSION= 0.6 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel www python MASTER_SITES= http://ftp.edgewall.com/pub/bitten/ \ LOCAL/glarkin @@ -29,7 +29,7 @@ OPTIONS= BITTEN_MASTER "Build bitten master" ON .include -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools +BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-distribute .if defined(WITH_BITTEN_MASTER) RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac .endif Index: Mk/bsd.python.mk =================================================================== --- Mk/bsd.python.mk (revision 312154) +++ Mk/bsd.python.mk (working copy) @@ -460,13 +460,8 @@ # setuptools support .if defined(USE_PYDISTUTILS) && ${USE_PYDISTUTILS} == "easy_install" -.if ${PYTHON_SUFFIX} < 30 -BUILD_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools -RUN_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-setuptools -.else BUILD_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-distribute RUN_DEPENDS+= ${PYEASYINSTALL_CMD}:${PORTSDIR}/devel/py-distribute -.endif PYDISTUTILS_BUILD_TARGET?= bdist_egg PYDISTUTILS_INSTALL_TARGET?= easy_install >Release-Note: >Audit-Trail: >Unformatted: