From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Nov 28 23:30:12 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 576E816A4C8 for ; Tue, 28 Nov 2006 23:30:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B72F43CA7 for ; Tue, 28 Nov 2006 23:30:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kASNUBsX021475 for ; Tue, 28 Nov 2006 23:30:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kASNUBjQ021473; Tue, 28 Nov 2006 23:30:11 GMT (envelope-from gnats) Resent-Date: Tue, 28 Nov 2006 23:30:11 GMT Resent-Message-Id: <200611282330.kASNUBjQ021473@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, Aron Stansvik Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 67F1116A417 for ; Tue, 28 Nov 2006 23:27:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id E522E43CC4 for ; Tue, 28 Nov 2006 23:26:58 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kASNR3fP014796 for ; Tue, 28 Nov 2006 23:27:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id kASNR3GC014795; Tue, 28 Nov 2006 23:27:03 GMT (envelope-from nobody) Message-Id: <200611282327.kASNR3GC014795@www.freebsd.org> Date: Tue, 28 Nov 2006 23:27:03 GMT From: Aron Stansvik To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: ports/105982: Update databases/py-migrate 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: Tue, 28 Nov 2006 23:30:12 -0000 >Number: 105982 >Category: ports >Synopsis: Update databases/py-migrate >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Nov 28 23:30:10 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Aron Stansvik >Release: 6.1-STABLE >Organization: >Environment: FreeBSD rubik.dose.se 6.1-STABLE FreeBSD 6.1-STABLE #1: Tue Aug 29 13:14:06 CEST 2006 elvis@rubik.dose.se:/usr/obj/usr/src/sys/GENERIC i386 >Description: Patch for ticket 67 [1] and bump port revision. [1] http://erosson.com/migrate/trac/ticket/67 >How-To-Repeat: >Fix: --- Makefile.orig Wed Nov 29 00:21:16 2006 +++ Makefile Wed Nov 29 00:21:27 2006 @@ -7,6 +7,7 @@ PORTNAME= migrate PORTVERSION= 0.2.1 +PORTREVISION= 1 CATEGORIES= databases python MASTER_SITES= http://cheeseshop.python.org/packages/source/m/migrate/ \ http://dose.se/distfiles/migrate/ Patch attached with submission follows: --- migrate/versioning/script/script.py.orig Fri Oct 27 05:48:25 2006 +++ migrate/versioning/script/script.py Thu Nov 9 20:01:50 2006 @@ -19,10 +19,11 @@ del sys.path[-1] return module -def logsql_engine(func): +def logsql_engine(func,force=False): """migrate.run.migrate_engine is a logengine in the decorated function""" def entangle(*p,**k): - migrate.run.migrate_engine = sqlalchemy.create_engine(None,strategy='logsql') + if force or (not getattr(migrate.run,'migrate_engine',None)): + migrate.run.migrate_engine = sqlalchemy.create_engine(None,strategy='logsql') reload(migrate) try: return func(*p,**k) >Release-Note: >Audit-Trail: >Unformatted: