diff --git a/databases/Makefile b/databases/Makefile index 0f381ea944d1..b49d7fa7033c 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -726,6 +726,7 @@ SUBDIR += py-MySQLdb55 SUBDIR += py-PyGreSQL SUBDIR += py-Pyrseas + SUBDIR += py-alembic SUBDIR += py-apsw SUBDIR += py-bsddb SUBDIR += py-bsddb3 diff --git a/databases/py-alembic/Makefile b/databases/py-alembic/Makefile new file mode 100644 index 000000000000..9d8097e772d6 --- /dev/null +++ b/databases/py-alembic/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= alembic +PORTVERSION= 0.6.1 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Database migration tool for SQLAlchemy + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlalchemy>=0.7.3:${PORTSDIR}/databases/py-sqlalchemy \ + ${PYTHON_PKGNAMEPREFIX}mako>=0:${PORTSDIR}/textproc/py-mako + +USE_PYTHON= yes +USE_PYDISTUTILS= easy_install +PYDISTUTILS_AUTOPLIST= yes + +.include diff --git a/databases/py-alembic/distinfo b/databases/py-alembic/distinfo new file mode 100644 index 000000000000..a842c1766581 --- /dev/null +++ b/databases/py-alembic/distinfo @@ -0,0 +1,2 @@ +SHA256 (alembic-0.6.1.tar.gz) = 1a35c98febe00b4efdd05c4e38c34b7239b23b42ce43c39320ae50a2b39705a5 +SIZE (alembic-0.6.1.tar.gz) = 414655 diff --git a/databases/py-alembic/pkg-descr b/databases/py-alembic/pkg-descr new file mode 100644 index 000000000000..7ec7e717b5f4 --- /dev/null +++ b/databases/py-alembic/pkg-descr @@ -0,0 +1,12 @@ +Alembic is a new database migrations tool, written by the author of +SQLAlchemy. A migrations tool offers the following functionality: + +- Can emit ALTER statements to a database in order to change the structure of + tables and other constructs +- Provides a system whereby "migration scripts" may be constructed; each + script indicates a particular series of steps that can "upgrade" a target + database to a new version, and optionally a series of steps that can + "downgrade" similarly, doing the same steps in reverse. +- Allows the scripts to execute in some sequential manner. + +WWW: http://bitbucket.org/zzzeek/alembic