summaryrefslogtreecommitdiff
path: root/databases/py-alembic
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-02-22 09:18:39 +0000
committeradam <adam@pkgsrc.org>2018-02-22 09:18:39 +0000
commit786208dca9b8ce1b9f17ce952200aca97b033d15 (patch)
tree8c22ac61d5373d4af675435c761d55acbcd0eba6 /databases/py-alembic
parent111be59eda4e5f674cdbaff2c9db8c48fae612a7 (diff)
downloadpkgsrc-786208dca9b8ce1b9f17ce952200aca97b033d15.tar.gz
py-alembic: updated to 0.9.8
version: 0.9.8 Fixed bug where the :meth:.Script.as_revision_number method did not accommodate for the 'heads' identifier, which in turn caused the :meth:.EnvironmentContext.get_head_revisions and :meth:.EnvironmentContext.get_revision_argument methods to be not usable when multiple heads were present. The :meth:.EnvironmentContext.get_head_revisions method returns a tuple in all cases as documented. Fixed bug where autogenerate of :class:.ExcludeConstraint would render a raw quoted name for a Column that has case-sensitive characters, which when invoked as an inline member of the Table would produce a stack trace that the quoted name is not found. An incoming Column object is now rendered as sa.column('name'). Fixed bug where the indexes would not be included in a migration that was dropping the owning table. The fix now will also emit DROP INDEX for the indexes ahead of time, but more importantly will include CREATE INDEX in the downgrade migration. Fixed the autogenerate of the module prefix when rendering the text_type parameter of postgresql.HSTORE, in much the same way that we do for ARRAY's type and JSON's text_type. Added support for DROP CONSTRAINT to the MySQL Alembic dialect to support MariaDB 10.2 which now has real CHECK constraints. Note this change does **not** add autogenerate support, only support for op.drop_constraint() to work.
Diffstat (limited to 'databases/py-alembic')
-rw-r--r--databases/py-alembic/Makefile7
-rw-r--r--databases/py-alembic/distinfo10
2 files changed, 8 insertions, 9 deletions
diff --git a/databases/py-alembic/Makefile b/databases/py-alembic/Makefile
index 1f6484b5cc1..03aea824323 100644
--- a/databases/py-alembic/Makefile
+++ b/databases/py-alembic/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2018/01/18 09:18:06 adam Exp $
+# $NetBSD: Makefile,v 1.5 2018/02/22 09:18:39 adam Exp $
-DISTNAME= alembic-0.9.7
+DISTNAME= alembic-0.9.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/alembic/}
@@ -13,7 +12,7 @@ LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
DEPENDS+= ${PYPKGPREFIX}-editor>=0.3:../../editors/py-editor
-DEPENDS+= ${PYPKGPREFIX}-nose>=1.3.0:../../devel/py-nose
+DEPENDS+= ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.9.8:../../databases/py-sqlalchemy
BUILD_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
diff --git a/databases/py-alembic/distinfo b/databases/py-alembic/distinfo
index 62671d1969a..b2562f23c27 100644
--- a/databases/py-alembic/distinfo
+++ b/databases/py-alembic/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2018/01/17 11:55:35 adam Exp $
+$NetBSD: distinfo,v 1.4 2018/02/22 09:18:39 adam Exp $
-SHA1 (alembic-0.9.7.tar.gz) = 9b6df323769a9af1d8e3dc556700172a1c871441
-RMD160 (alembic-0.9.7.tar.gz) = 68755be653dc03dc4a0605e386b4e365f72e88b7
-SHA512 (alembic-0.9.7.tar.gz) = 102592f7a25033af197fadc260dbb5ee4ad7038feb015fe5672de83c42f6125b659873071b339cccf5eebcf390c16651f6b9064f225198f88b42d58796fb1ca3
-Size (alembic-0.9.7.tar.gz) = 1003312 bytes
+SHA1 (alembic-0.9.8.tar.gz) = e351492035f748ec4b0a6a36cf2b1c0cfff89ec5
+RMD160 (alembic-0.9.8.tar.gz) = acc947ec467e75fb5c5e7d6971d067066e53ccef
+SHA512 (alembic-0.9.8.tar.gz) = 5579bc5ac9f7bf78d5fada9795599aeeeb141cad9855486570d5b7f0d8491e8fcb6119217ea72f7319219293465e8146650188844edfb0d82d70583a637d8417
+Size (alembic-0.9.8.tar.gz) = 1011223 bytes