Add py-alembic 0.6.1, database migration tool for SQLAlchemy.
This commit is contained in:
parent
d8e4c31587
commit
0a89ba2c13
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335534
4 changed files with 36 additions and 0 deletions
|
@ -726,6 +726,7 @@
|
||||||
SUBDIR += py-MySQLdb55
|
SUBDIR += py-MySQLdb55
|
||||||
SUBDIR += py-PyGreSQL
|
SUBDIR += py-PyGreSQL
|
||||||
SUBDIR += py-Pyrseas
|
SUBDIR += py-Pyrseas
|
||||||
|
SUBDIR += py-alembic
|
||||||
SUBDIR += py-apsw
|
SUBDIR += py-apsw
|
||||||
SUBDIR += py-bsddb
|
SUBDIR += py-bsddb
|
||||||
SUBDIR += py-bsddb3
|
SUBDIR += py-bsddb3
|
||||||
|
|
21
databases/py-alembic/Makefile
Normal file
21
databases/py-alembic/Makefile
Normal file
|
@ -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 <bsd.port.mk>
|
2
databases/py-alembic/distinfo
Normal file
2
databases/py-alembic/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
SHA256 (alembic-0.6.1.tar.gz) = 1a35c98febe00b4efdd05c4e38c34b7239b23b42ce43c39320ae50a2b39705a5
|
||||||
|
SIZE (alembic-0.6.1.tar.gz) = 414655
|
12
databases/py-alembic/pkg-descr
Normal file
12
databases/py-alembic/pkg-descr
Normal file
|
@ -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
|
Loading…
Reference in a new issue