databases/py-schemachange: new port

schemachange is a simple python based tool to manage all of your Snowflake
objects. It follows an Imperative-style approach to Database Change Management
(DCM) and was inspired by the Flyway database migration tool. When combined with
a version control system and a CI/CD tool, database changes can be approved and
deployed through a pipeline using modern software delivery practices. As such
schemachange plays a critical role in enabling Database (or Data) DevOps.

PR:		274585
Author:		Pat Maddox <pat@patmaddox.com>
This commit is contained in:
Pat Maddox 2023-10-22 13:28:07 +02:00 committed by Kurt Jaeger
parent ad9de5abb8
commit a65ea84c04
4 changed files with 43 additions and 0 deletions

View File

@ -828,6 +828,7 @@
SUBDIR += py-redis3
SUBDIR += py-redis4
SUBDIR += py-rrdtool
SUBDIR += py-schemachange
SUBDIR += py-sispy
SUBDIR += py-snowflake-connector-python
SUBDIR += py-south

View File

@ -0,0 +1,33 @@
PORTNAME= schemachange
PORTVERSION= 3.6.0
CATEGORIES= databases python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= pat@patmaddox.com
COMMENT= Database Change Management tool for Snowflake
WWW= https://github.com/Snowflake-Labs/schemachange
LICENSE= APACHE20
BUILD_DEPENDS= ${PY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}setuptools>=40.9.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PY_DEPENDS}
TEST_DEPENDS= ${PY_DEPENDS} \
${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent pep517
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0,<4:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>=1.3:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=6.0,<7:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}snowflake-connector-python>=2.8,<4:databases/py-snowflake-connector-python@${PY_FLAVOR}
do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1696274412
SHA256 (schemachange-3.6.0.tar.gz) = 2fc6feb231282659a9056d41f6ae661735ac703e992c30ae96df4c353a031d8d
SIZE (schemachange-3.6.0.tar.gz) = 48688

View File

@ -0,0 +1,6 @@
schemachange is a simple python based tool to manage all of your Snowflake
objects. It follows an Imperative-style approach to Database Change Management
(DCM) and was inspired by the Flyway database migration tool. When combined with
a version control system and a CI/CD tool, database changes can be approved and
deployed through a pipeline using modern software delivery practices. As such
schemachange plays a critical role in enabling Database (or Data) DevOps.