ports/106364: Update port: databases/py-migrate
Aron Stansvik
elvstone at gmail.com
Tue Dec 5 10:00:27 UTC 2006
>Number: 106364
>Category: ports
>Synopsis: Update port: 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 Dec 05 10:00:25 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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list