From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 26 19:20:06 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 736391065674 for ; Fri, 26 Aug 2011 19:20:06 +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 2C0558FC27 for ; Fri, 26 Aug 2011 19:20:06 +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 p7QJK6PE081949 for ; Fri, 26 Aug 2011 19:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p7QJK6Xq081948; Fri, 26 Aug 2011 19:20:06 GMT (envelope-from gnats) Resent-Date: Fri, 26 Aug 2011 19:20:06 GMT Resent-Message-Id: <201108261920.p7QJK6Xq081948@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 287941065674 for ; Fri, 26 Aug 2011 19:13:14 +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 171578FC14 for ; Fri, 26 Aug 2011 19:13:14 +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 p7QJDDmT022988 for ; Fri, 26 Aug 2011 19:13:13 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p7QJDDGF022977; Fri, 26 Aug 2011 19:13:13 GMT (envelope-from nobody) Message-Id: <201108261913.p7QJDDGF022977@red.freebsd.org> Date: Fri, 26 Aug 2011 19:13:13 GMT From: Ruslan Mahmatkhanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/160220: [PATCH] www/roundup: eliminate py-pysqlite2x 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: Fri, 26 Aug 2011 19:20:06 -0000 >Number: 160220 >Category: ports >Synopsis: [PATCH] www/roundup: eliminate py-pysqlite2x 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: Fri Aug 26 19:20:05 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ruslan Mahmatkhanov >Release: 9.0-BETA1 >Organization: >Environment: 9.0-BETA1 i386 >Description: - bump USE_PYTHON to 2.5+ (the point is to reduce the number of ports that depend on python24, since it not supported upstream anymore and the default python version in the ports tree is the 2.7) - since it now requires 2.5+ remove conditional, that will install databases/py-pysqlite2x dependency in <2.5 case. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruNa roundup.orig/Makefile roundup/Makefile --- roundup.orig/Makefile 2011-07-22 17:05:56.000000000 +0400 +++ roundup/Makefile 2011-08-26 23:08:20.000000000 +0400 @@ -17,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING.txt USE_GETTEXT= yes -USE_PYTHON= yes +USE_PYTHON= 2.5+ USE_PYDISTUTILS=yes OPTIONS= SQLITE "Support Sqlite as backend" on @@ -28,11 +28,7 @@ .include .if !defined(WITHOUT_SQLITE) -.if ${PYTHON_REL} >= 250 RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3 -.else -RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23 -.endif .endif .if defined(WITH_PGSQL) >Release-Note: >Audit-Trail: >Unformatted: