pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Update py-alembic to 0.9.1



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Wed Mar 8 15:57:02 2017 -0800
Changeset:	0383bc73d5106273e33dbd479ef2c7f8f41c66aa

Modified Files:
	py-alembic/Makefile
	py-alembic/PLIST
	py-alembic/distinfo

Log Message:
Update py-alembic to 0.9.1

New features since 0.7.4:

- Added a new feature Config.attributes.
- The format of the default env.py script has been refined a bit.
- Added support for “alembic stamp” to work when given “heads” as an
  argument, when multiple heads are present.
- Added support for type comparison functions to be not just per
  environment, but also present on the custom types themselves, by
  supplying a method compare_against_backend.
- Added a new option EnvironmentContext.configure.literal_binds.
- Implemented support for BatchOperations.create_primary_key() and
  BatchOperations.create_check_constraint().
- Added new command alembic edit.
- Added new multiple-capable argument --depends-on to the alembic
  revision command.
- A custom EnvironmentContext.configure.process_revision_directives
  hook can now generate op directives within the UpgradeOps and
  DowngradeOps containers that will be generated as Python code even
  when the --autogenerate flag is False.
- Implemented support for autogenerate detection of changes in the
  ondelete, onupdate, initially and deferrable attributes of
  ForeignKeyConstraint objects on SQLAlchemy backends that support
  these on reflection
- A major improvement to the hash id generation function.
- Added an autogenerate renderer for the ExecuteSQLOp operation object.
- Added support for the USING clause to the ALTER COLUMN operation for
  Postgresql.
- Autogenerate with type comparison enabled will pick up on the
  timezone setting changing between DateTime types.
- The EnvironmentContext.configure.target_metadata parameter may now be
  optionally specified as a sequence of MetaData objects instead of a
  single MetaData object.
- Added a keyword argument process_revision_directives to the
  command.revision() API call.
- Added support for Postgresql EXCLUDE constraints, including the
  operation directive Operations.create_exclude_constraints() as well
  as autogenerate render support for the ExcludeConstraint object as
  present in a Table.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0383bc73d5106273e33dbd479ef2c7f8f41c66aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-alembic/Makefile |  5 +--
 py-alembic/PLIST    | 87 +++++++++++++++++++++++++++++++++++++----------------
 py-alembic/distinfo |  7 +++--
 3 files changed, 68 insertions(+), 31 deletions(-)

diffs:
diff --git a/py-alembic/Makefile b/py-alembic/Makefile
index 046069848e..27e1ed4ab0 100644
--- a/py-alembic/Makefile
+++ b/py-alembic/Makefile
@@ -1,6 +1,6 @@
 # $NetBSD: Makefile,v 1.1 2015/02/22 22:01:11 jihbed Exp $
 
-DISTNAME=	alembic-0.7.4
+DISTNAME=	alembic-0.9.1
 PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=	databases python
 MASTER_SITES=	${MASTER_SITE_PYPI:=a/alembic/}
@@ -10,9 +10,10 @@ HOMEPAGE=	http://bitbucket.org/zzzeek/alembic
 COMMENT=	Database migration tool for SQLAlchemy
 LICENSE=	mit
 
-DEPENDS+=	${PYPKGPREFIX}-sqlalchemy>=0.9.8:../../databases/py-sqlalchemy
+DEPENDS+=	${PYPKGPREFIX}-editor>=0.3:../../wip/py-editor
 DEPENDS+=	${PYPKGPREFIX}-mako>=0.8.1:../../devel/py-mako
 DEPENDS+=	${PYPKGPREFIX}-nose>=1.3.0:../../devel/py-nose
+DEPENDS+=	${PYPKGPREFIX}-sqlalchemy>=0.9.8:../../databases/py-sqlalchemy
 
 USE_LANGUAGES=	# none
 
diff --git a/py-alembic/PLIST b/py-alembic/PLIST
index 1f9c52348d..02ed195760 100644
--- a/py-alembic/PLIST
+++ b/py-alembic/PLIST
@@ -1,11 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2015/02/22 22:01:11 jihbed Exp $
+@comment $NetBSD$
 bin/alembic
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
 ${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/pbr.json
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/alembic/__init__.py
@@ -23,15 +22,12 @@ ${PYSITELIB}/alembic/autogenerate/compare.pyo
 ${PYSITELIB}/alembic/autogenerate/render.py
 ${PYSITELIB}/alembic/autogenerate/render.pyc
 ${PYSITELIB}/alembic/autogenerate/render.pyo
-${PYSITELIB}/alembic/batch.py
-${PYSITELIB}/alembic/batch.pyc
-${PYSITELIB}/alembic/batch.pyo
+${PYSITELIB}/alembic/autogenerate/rewriter.py
+${PYSITELIB}/alembic/autogenerate/rewriter.pyc
+${PYSITELIB}/alembic/autogenerate/rewriter.pyo
 ${PYSITELIB}/alembic/command.py
 ${PYSITELIB}/alembic/command.pyc
 ${PYSITELIB}/alembic/command.pyo
-${PYSITELIB}/alembic/compat.py
-${PYSITELIB}/alembic/compat.pyc
-${PYSITELIB}/alembic/compat.pyo
 ${PYSITELIB}/alembic/config.py
 ${PYSITELIB}/alembic/config.pyc
 ${PYSITELIB}/alembic/config.pyo
@@ -62,24 +58,45 @@ ${PYSITELIB}/alembic/ddl/postgresql.pyo
 ${PYSITELIB}/alembic/ddl/sqlite.py
 ${PYSITELIB}/alembic/ddl/sqlite.pyc
 ${PYSITELIB}/alembic/ddl/sqlite.pyo
-${PYSITELIB}/alembic/environment.py
-${PYSITELIB}/alembic/environment.pyc
-${PYSITELIB}/alembic/environment.pyo
-${PYSITELIB}/alembic/migration.py
-${PYSITELIB}/alembic/migration.pyc
-${PYSITELIB}/alembic/migration.pyo
 ${PYSITELIB}/alembic/op.py
 ${PYSITELIB}/alembic/op.pyc
 ${PYSITELIB}/alembic/op.pyo
-${PYSITELIB}/alembic/operations.py
-${PYSITELIB}/alembic/operations.pyc
-${PYSITELIB}/alembic/operations.pyo
-${PYSITELIB}/alembic/revision.py
-${PYSITELIB}/alembic/revision.pyc
-${PYSITELIB}/alembic/revision.pyo
-${PYSITELIB}/alembic/script.py
-${PYSITELIB}/alembic/script.pyc
-${PYSITELIB}/alembic/script.pyo
+${PYSITELIB}/alembic/operations/__init__.py
+${PYSITELIB}/alembic/operations/__init__.pyc
+${PYSITELIB}/alembic/operations/__init__.pyo
+${PYSITELIB}/alembic/operations/base.py
+${PYSITELIB}/alembic/operations/base.pyc
+${PYSITELIB}/alembic/operations/base.pyo
+${PYSITELIB}/alembic/operations/batch.py
+${PYSITELIB}/alembic/operations/batch.pyc
+${PYSITELIB}/alembic/operations/batch.pyo
+${PYSITELIB}/alembic/operations/ops.py
+${PYSITELIB}/alembic/operations/ops.pyc
+${PYSITELIB}/alembic/operations/ops.pyo
+${PYSITELIB}/alembic/operations/schemaobj.py
+${PYSITELIB}/alembic/operations/schemaobj.pyc
+${PYSITELIB}/alembic/operations/schemaobj.pyo
+${PYSITELIB}/alembic/operations/toimpl.py
+${PYSITELIB}/alembic/operations/toimpl.pyc
+${PYSITELIB}/alembic/operations/toimpl.pyo
+${PYSITELIB}/alembic/runtime/__init__.py
+${PYSITELIB}/alembic/runtime/__init__.pyc
+${PYSITELIB}/alembic/runtime/__init__.pyo
+${PYSITELIB}/alembic/runtime/environment.py
+${PYSITELIB}/alembic/runtime/environment.pyc
+${PYSITELIB}/alembic/runtime/environment.pyo
+${PYSITELIB}/alembic/runtime/migration.py
+${PYSITELIB}/alembic/runtime/migration.pyc
+${PYSITELIB}/alembic/runtime/migration.pyo
+${PYSITELIB}/alembic/script/__init__.py
+${PYSITELIB}/alembic/script/__init__.pyc
+${PYSITELIB}/alembic/script/__init__.pyo
+${PYSITELIB}/alembic/script/base.py
+${PYSITELIB}/alembic/script/base.pyc
+${PYSITELIB}/alembic/script/base.pyo
+${PYSITELIB}/alembic/script/revision.py
+${PYSITELIB}/alembic/script/revision.pyc
+${PYSITELIB}/alembic/script/revision.pyo
 ${PYSITELIB}/alembic/templates/generic/README
 ${PYSITELIB}/alembic/templates/generic/alembic.ini.mako
 ${PYSITELIB}/alembic/templates/generic/env.py
@@ -155,6 +172,24 @@ ${PYSITELIB}/alembic/testing/util.pyo
 ${PYSITELIB}/alembic/testing/warnings.py
 ${PYSITELIB}/alembic/testing/warnings.pyc
 ${PYSITELIB}/alembic/testing/warnings.pyo
-${PYSITELIB}/alembic/util.py
-${PYSITELIB}/alembic/util.pyc
-${PYSITELIB}/alembic/util.pyo
+${PYSITELIB}/alembic/util/__init__.py
+${PYSITELIB}/alembic/util/__init__.pyc
+${PYSITELIB}/alembic/util/__init__.pyo
+${PYSITELIB}/alembic/util/compat.py
+${PYSITELIB}/alembic/util/compat.pyc
+${PYSITELIB}/alembic/util/compat.pyo
+${PYSITELIB}/alembic/util/exc.py
+${PYSITELIB}/alembic/util/exc.pyc
+${PYSITELIB}/alembic/util/exc.pyo
+${PYSITELIB}/alembic/util/langhelpers.py
+${PYSITELIB}/alembic/util/langhelpers.pyc
+${PYSITELIB}/alembic/util/langhelpers.pyo
+${PYSITELIB}/alembic/util/messaging.py
+${PYSITELIB}/alembic/util/messaging.pyc
+${PYSITELIB}/alembic/util/messaging.pyo
+${PYSITELIB}/alembic/util/pyfiles.py
+${PYSITELIB}/alembic/util/pyfiles.pyc
+${PYSITELIB}/alembic/util/pyfiles.pyo
+${PYSITELIB}/alembic/util/sqla_compat.py
+${PYSITELIB}/alembic/util/sqla_compat.pyc
+${PYSITELIB}/alembic/util/sqla_compat.pyo
diff --git a/py-alembic/distinfo b/py-alembic/distinfo
index a5119eb535..7a044e7156 100644
--- a/py-alembic/distinfo
+++ b/py-alembic/distinfo
@@ -1,5 +1,6 @@
 $NetBSD: distinfo,v 1.1 2015/02/22 22:01:11 jihbed Exp $
 
-SHA1 (alembic-0.7.4.tar.gz) = 0160e0715d0d9926229d8bea693a1c30577f7ceb
-RMD160 (alembic-0.7.4.tar.gz) = ff10da061abc84f5e72d0c8bc93613a905582db2
-Size (alembic-0.7.4.tar.gz) = 604836 bytes
+SHA1 (alembic-0.9.1.tar.gz) = c965910be43f4e86d3d4119a54d280d8ef9f2e39
+RMD160 (alembic-0.9.1.tar.gz) = 775a4b18d1066a80bf699490aadccb64568fa779
+SHA512 (alembic-0.9.1.tar.gz) = 72e75d411ba60bfa466213e8dc3084f78b98904ab2b90fae6b02a7f9c0b5c89f76fe68be961c5e28bd3925f0df20dfcc8751104b079fd2c4b9db6ee5fabf7728
+Size (alembic-0.9.1.tar.gz) = 999375 bytes


Home | Main Index | Thread Index | Old Index