databases/py-snowddl: new port

SnowDDL is a declarative-style tool for object management automation in
Snowflake.

It is not intended to replace other tools entirely, but to provide an
alternative approach focused on practical data engineering challenges.

You may find SnowDDL useful if:

- complexity of object schema grows exponentially, and it becomes hard to manage
- your organization maintains multiple Snowflake accounts (dev, stage, prod)
- your organization has multiple developers sharing the same Snowflake account
  and suffering from conflicts
- it is necessary to generate some part of configuration dynamically using
  Python

PR:		274586
Author:    Pat Maddox <pat@patmaddox.com>
This commit is contained in:
Pat Maddox 2023-10-22 14:50:10 +02:00 committed by Kurt Jaeger
parent 0c5df25ebc
commit 2201fe594d
4 changed files with 44 additions and 0 deletions

View File

@ -830,6 +830,7 @@
SUBDIR += py-rrdtool
SUBDIR += py-schemachange
SUBDIR += py-sispy
SUBDIR += py-snowddl
SUBDIR += py-snowflake-connector-python
SUBDIR += py-south
SUBDIR += py-sqlalchemy-json

View File

@ -0,0 +1,26 @@
PORTNAME= snowddl
PORTVERSION= 0.20.0
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= pat@patmaddox.com
COMMENT= Object management automation tool for Snowflake
WWW= https://docs.snowddl.com/
LICENSE= APACHE20
BUILD_DEPENDS= wheel-${PYTHON_VER}:devel/py-wheel@${PY_FLAVOR} \
${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python
USE_PYTHON= autoplist concurrent pep517
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.18,<5:devel/py-jsonschema@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic2>=2.4,<3:devel/py-pydantic2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=6.0,<7:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}snowflake-connector-python>=3.0,<4:databases/py-snowflake-connector-python@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1697500761
SHA256 (snowddl-0.20.0.tar.gz) = 044da789f4165bc40c55fae4870c5427e3bfc77acb72970596e6507d2cbc2155
SIZE (snowddl-0.20.0.tar.gz) = 103553

View File

@ -0,0 +1,14 @@
SnowDDL is a declarative-style tool for object management automation in
Snowflake.
It is not intended to replace other tools entirely, but to provide an
alternative approach focused on practical data engineering challenges.
You may find SnowDDL useful if:
- complexity of object schema grows exponentially, and it becomes hard to manage
- your organization maintains multiple Snowflake accounts (dev, stage, prod)
- your organization has multiple developers sharing the same Snowflake account
and suffering from conflicts
- it is necessary to generate some part of configuration dynamically using
Python