git: 26d5b3fe273c - main - databases/py-pgmigrate: update to 1.0.9
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jan 2025 23:06:49 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=26d5b3fe273c5a5750a09c256e5ec1304ce0f36b
commit 26d5b3fe273c5a5750a09c256e5ec1304ce0f36b
Author: Älven <alster@vinterdalen.se>
AuthorDate: 2025-01-04 17:52:48 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-06 23:06:11 +0000
databases/py-pgmigrate: update to 1.0.9
Changelog: https://github.com/yandex/pgmigrate/releases/tag/1.0.9
PR: 283465
Approved by: dmitry.wagin@ya.ru (maintainer)
---
databases/py-pgmigrate/Makefile | 7 +++----
databases/py-pgmigrate/distinfo | 6 +++---
databases/py-pgmigrate/pkg-descr | 11 +++++++++++
3 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/databases/py-pgmigrate/Makefile b/databases/py-pgmigrate/Makefile
index 1a9302fa1e7a..78bc92b4c70f 100644
--- a/databases/py-pgmigrate/Makefile
+++ b/databases/py-pgmigrate/Makefile
@@ -1,6 +1,5 @@
PORTNAME= pgmigrate
-PORTVERSION= 1.0.8
-PORTREVISION= 1
+DISTVERSION= 1.0.9
CATEGORIES= databases python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +11,8 @@ LICENSE= PostgreSQL
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.8.2:databases/py-psycopg2@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0:databases/py-sqlparse@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.2:devel/py-pyyaml@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}pyyaml>=5.2:devel/py-pyyaml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sqlparse>=0.3.0:databases/py-sqlparse@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
diff --git a/databases/py-pgmigrate/distinfo b/databases/py-pgmigrate/distinfo
index 892c779dfb75..34ba343d6c93 100644
--- a/databases/py-pgmigrate/distinfo
+++ b/databases/py-pgmigrate/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1710627814
-SHA256 (yandex-pgmigrate-1.0.8_GH0.tar.gz) = d54679b5c7395d183c92d3a6f1a01186454768bb4c75385adc14fa9ef812afb5
-SIZE (yandex-pgmigrate-1.0.8_GH0.tar.gz) = 31152
+TIMESTAMP = 1734776042
+SHA256 (yandex-pgmigrate-1.0.9_GH0.tar.gz) = 0b411fd495b1fcbc1c5bbbae07ca02c403d44f815b700405159e30c82eb775db
+SIZE (yandex-pgmigrate-1.0.9_GH0.tar.gz) = 31656
diff --git a/databases/py-pgmigrate/pkg-descr b/databases/py-pgmigrate/pkg-descr
index c29f4bf1d15e..b536dfcb381e 100644
--- a/databases/py-pgmigrate/pkg-descr
+++ b/databases/py-pgmigrate/pkg-descr
@@ -1 +1,12 @@
PGmigrate is a database migration tool developed by Yandex.
+
+PGmigrate has the following key-features:
+
+- Transactional and nontransactional migrations: you can enjoy whole power of
+ PostgreSQL DDL
+- Callbacks: you can run some DDL on specific steps of migration process
+ (e.g. drop some code before executing migrations, and create it back after
+ migrations were applied)
+- Online migrations: you can execute series of transactional migrations and
+ callbacks in a single transaction (so, if something goes wrong simple ROLLBACK
+ will bring you in consistent state)