From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 3 19:50:07 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE6181065673 for ; Sat, 3 Sep 2011 19:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9B7058FC0A for ; Sat, 3 Sep 2011 19:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p83Jo79m012868 for ; Sat, 3 Sep 2011 19:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p83Jo7IS012867; Sat, 3 Sep 2011 19:50:07 GMT (envelope-from gnats) Resent-Date: Sat, 3 Sep 2011 19:50:07 GMT Resent-Message-Id: <201109031950.p83Jo7IS012867@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 Mahmatkhanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 406CF106566B for ; Sat, 3 Sep 2011 19:42:07 +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 260318FC16 for ; Sat, 3 Sep 2011 19:42:07 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p83Jg6sk093061 for ; Sat, 3 Sep 2011 19:42:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p83Jg6db093060; Sat, 3 Sep 2011 19:42:06 GMT (envelope-from nobody) Message-Id: <201109031942.p83Jg6db093060@red.freebsd.org> Date: Sat, 3 Sep 2011 19:42:06 GMT From: Ruslan Mahmatkhanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160435: [PATCH] sysutils/py-supervisor: eliminate py-elementtree dependency X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Sep 2011 19:50:07 -0000 >Number: 160435 >Category: ports >Synopsis: [PATCH] sysutils/py-supervisor: eliminate py-elementtree dependency >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: Sat Sep 03 19:50:07 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ruslan Mahmatkhanov >Release: 9.0-BETA1 >Organization: >Environment: 9.0-BETA1 i386 >Description: This port actually don't use py-elementtree, this dep is needed only for www/py-meld3. You can grep for it and will found that the only functional mention of this is in setup.py: """ if sys.version_info[:2] < (2, 5): # for meld3 (it's a distutils package) requires.append('elementtree') """ So we can safely remove this two dependencies from this port: - devel/py-elementtree - devel/py-celementtree But this needs to bump USE_PYTHON to 2.5+ (Python 2.4 is EOL anyway). There is also ports/160304, that updates www/py-meld3 to latest version, that can work with python's elementtree too. elementtree is a part of python since 2.5, so this dependency isn't needed after we bump USE_PYTHON to 2.5+. See: http://docs.python.org/library/xml.etree.elementtree.html While here fix some whitespace bugs in pkg-descr. tag: dropelementtree >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruNa py-supervisor.orig/Makefile py-supervisor/Makefile --- py-supervisor.orig/Makefile 2011-04-06 15:35:17.000000000 +0400 +++ py-supervisor/Makefile 2011-09-03 23:34:08.000000000 +0400 @@ -7,6 +7,7 @@ PORTNAME= supervisor PORTVERSION= 3.0a10 +PORTREVISION= 1 CATEGORIES= sysutils python MASTER_SITES= http://dist.supervisord.org/ \ CHEESESHOP @@ -15,11 +16,9 @@ MAINTAINER= hizel@vyborg.ru COMMENT= System to monitor and control a number of processes on UNIX-like OS -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elementtree>=1.2.6:${PORTSDIR}/devel/py-elementtree \ - ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.4:${PORTSDIR}/www/py-meld3 \ - ${PYTHON_PKGNAMEPREFIX}cElementTree>=1.0.5:${PORTSDIR}/devel/py-celementtree +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}meld3>=0.6.4:${PORTSDIR}/www/py-meld3 -USE_PYTHON= 2.4+ +USE_PYTHON= 2.5+ USE_PYDISTUTILS= easy_install PIDDIR?= /var/run/supervisor diff -ruNa py-supervisor.orig/pkg-descr py-supervisor/pkg-descr --- py-supervisor.orig/pkg-descr 2010-02-06 21:45:36.000000000 +0300 +++ py-supervisor/pkg-descr 2011-09-03 23:33:48.000000000 +0400 @@ -1,13 +1,12 @@ -Supervisor is a client/server system that allows its users -to monitor and control a number of processes on UNIX-like +Supervisor is a client/server system that allows its users +to monitor and control a number of processes on UNIX-like operating systems. -It shares some of the same goals of programs like launchd, -daemontools, and runit. Unlike some of these programs, it is -not meant to be run as a substitute for init as "process id 1". -Instead it is meant to be used to control processes related to -a project or a customer, and is meant to start like any +It shares some of the same goals of programs like launchd, +daemontools, and runit. Unlike some of these programs, it is +not meant to be run as a substitute for init as "process id 1". +Instead it is meant to be used to control processes related to +a project or a customer, and is meant to start like any other program at boot time. - WWW: http://supervisord.org/ >Release-Note: >Audit-Trail: >Unformatted: