From nobody@FreeBSD.org  Tue Dec  5 09:57:45 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id AAD9F16A40F
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  5 Dec 2006 09:57:45 +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 378A243CA3
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  5 Dec 2006 09:57:07 +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 kB59vjcA048173
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 5 Dec 2006 09:57:45 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kB59vjtu048172;
	Tue, 5 Dec 2006 09:57:45 GMT
	(envelope-from nobody)
Message-Id: <200612050957.kB59vjtu048172@www.freebsd.org>
Date: Tue, 5 Dec 2006 09:57:45 GMT
From: Aron Stansvik<elvstone@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Update port: databases/py-migrate
X-Send-Pr-Version: www-3.0

>Number:         106364
>Category:       ports
>Synopsis:       Update port: databases/py-migrate
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    alexbl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 05 10:00:25 GMT 2006
>Closed-Date:    Wed Dec 06 09:32:07 GMT 2006
>Last-Modified:  Wed Dec  6 13:00:21 GMT 2006
>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:
0.2.2
 - Deprecated driver(engine) in favor of engine.name (#80)
 - Deprecated logsql (#75)
 - Comments in .sql scripts don't make things fail silently now (#74)
 - Errors while downgrading (and probably other places) are shown on their own line
 - Created mailing list and announcements list, updated documentation accordingly
 - Automated tests now require py.test (#66)
 - Documentation fix to .sql script commits (#72)
 - Fixed a pretty major bug involving logengine, dealing with commits/tests (#64)
 - Fixes to the online docs - default DB versioning table name (#68)
 - Fixed the engine name in the scripts created by the command 'migrate script' (#69)
 - Added Evan's email to the online docs
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN py-migrate.orig/Makefile py-migrate/Makefile
--- py-migrate.orig/Makefile	Wed Nov 29 10:03:03 2006
+++ py-migrate/Makefile	Tue Dec  5 10:50:05 2006
@@ -2,12 +2,11 @@
 # Date created:        9 November 2006
 # Whom:                elvstone@gmail.com
 #
-# $FreeBSD: ports/databases/py-migrate/Makefile,v 1.2 2006/11/29 09:03:03 alexbl Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	migrate
-PORTVERSION=	0.2.1
-PORTREVISION=	1
+PORTVERSION=	0.2.2
 CATEGORIES=	databases python
 MASTER_SITES=	http://cheeseshop.python.org/packages/source/m/migrate/ \
 		http://dose.se/distfiles/migrate/
diff -urN py-migrate.orig/distinfo py-migrate/distinfo
--- py-migrate.orig/distinfo	Sun Nov 26 10:42:43 2006
+++ py-migrate/distinfo	Tue Dec  5 10:26:45 2006
@@ -1,3 +1,3 @@
-MD5 (migrate-0.2.1.tar.gz) = f95ed774e65a43c909049277861a9194
-SHA256 (migrate-0.2.1.tar.gz) = f383adc9b10e91bd7af5cc05e71b56ee9b5ed174b3429dd5b4c3c233559f7ce1
-SIZE (migrate-0.2.1.tar.gz) = 50983
+MD5 (migrate-0.2.2.tar.gz) = 07b4021c9e776650b0b56ad5c88f618f
+SHA256 (migrate-0.2.2.tar.gz) = f86c2fd58ad5d82df19d135a85496d821b325096fdef6c097f8cad5a35041ffa
+SIZE (migrate-0.2.2.tar.gz) = 55165
diff -urN py-migrate.orig/files/patch-migrate_versioning_script_script.py py-migrate/files/patch-migrate_versioning_script_script.py
--- py-migrate.orig/files/patch-migrate_versioning_script_script.py	Wed Nov 29 10:03:03 2006
+++ py-migrate/files/patch-migrate_versioning_script_script.py	Thu Jan  1 01:00:00 1970
@@ -1,17 +0,0 @@
---- 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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Dec 5 10:00:32 UTC 2006 
Responsible-Changed-Why:  
freebsd-python@ wants to have py- PRs 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106364 
Responsible-Changed-From-To: freebsd-python->alexbl 
Responsible-Changed-By: alexbl 
Responsible-Changed-When: Tue Dec 5 10:04:58 UTC 2006 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106364 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/106364: commit references a PR
Date: Wed,  6 Dec 2006 09:24:37 +0000 (UTC)

 alexbl      2006-12-06 09:24:29 UTC
 
   FreeBSD ports repository
 
   Modified files:
     databases/py-migrate Makefile distinfo 
     databases/py-migrate/files 
                                patch-migrate_versioning_script_script.py 
   Log:
    - update to 0.2.2
   
   PR:             106364
   Submitted by:   Aron Stansvik <elvstone@gmail.com> (maintainer)
   
   Revision  Changes    Path
   1.3       +1 -2      ports/databases/py-migrate/Makefile
   1.2       +3 -3      ports/databases/py-migrate/distinfo
   1.2       +0 -17     ports/databases/py-migrate/files/patch-migrate_versioning_script_script.py
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: alexbl 
State-Changed-When: Wed Dec 6 09:32:05 UTC 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106364 

From: "Aron Stansvik" <elvstone@gmail.com>
To: bug-followup@FreeBSD.org, elvstone@gmail.com
Cc:  
Subject: Re: ports/106364: Update port: databases/py-migrate
Date: Wed, 6 Dec 2006 13:51:38 +0100

 Thanks! But please remove the patch
 patch-migrate_versioning_script_script.py from the port, as it's not
 longer needed, the bug is fixed upstream.
 
 Regards,
 Aron
>Unformatted:
