svn commit: r335534 - in head/databases: . py-alembic
Li-Wen Hsu
lwhsu at FreeBSD.org
Mon Dec 2 19:40:21 UTC 2013
Author: lwhsu
Date: Mon Dec 2 19:40:20 2013
New Revision: 335534
URL: http://svnweb.freebsd.org/changeset/ports/335534
Log:
Add py-alembic 0.6.1, database migration tool for SQLAlchemy.
Added:
head/databases/py-alembic/
head/databases/py-alembic/Makefile (contents, props changed)
head/databases/py-alembic/distinfo (contents, props changed)
head/databases/py-alembic/pkg-descr (contents, props changed)
Modified:
head/databases/Makefile
Modified: head/databases/Makefile
==============================================================================
--- head/databases/Makefile Mon Dec 2 19:29:49 2013 (r335533)
+++ head/databases/Makefile Mon Dec 2 19:40:20 2013 (r335534)
@@ -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
Added: head/databases/py-alembic/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-alembic/Makefile Mon Dec 2 19:40:20 2013 (r335534)
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= alembic
+PORTVERSION= 0.6.1
+CATEGORIES= databases python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= lwhsu at 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 <bsd.port.mk>
Added: head/databases/py-alembic/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-alembic/distinfo Mon Dec 2 19:40:20 2013 (r335534)
@@ -0,0 +1,2 @@
+SHA256 (alembic-0.6.1.tar.gz) = 1a35c98febe00b4efdd05c4e38c34b7239b23b42ce43c39320ae50a2b39705a5
+SIZE (alembic-0.6.1.tar.gz) = 414655
Added: head/databases/py-alembic/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/py-alembic/pkg-descr Mon Dec 2 19:40:20 2013 (r335534)
@@ -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
More information about the svn-ports-all
mailing list