summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2021-03-12 05:47:11 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2021-03-12 05:47:11 +0000
commit1e8bbe6a136d886491aa9e046a60cdbe3cc8c22e (patch)
tree042af20a7eae1ef72b8b53ed99fbaab6599a12be /databases
parentgames/ninix-aya: Update to 5.0.9 (diff)
Add py-pgmigrate 1.0.6, postgreSQL migrations made easy.
PR: 254181 Submitted by: dmitry.wagin@ya.ru
Notes
Notes: svn path=/head/; revision=568144
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/py-pgmigrate/Makefile25
-rw-r--r--databases/py-pgmigrate/distinfo3
-rw-r--r--databases/py-pgmigrate/pkg-descr3
4 files changed, 32 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index d0ca744e91fe..1c3dfeefc16b 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -781,6 +781,7 @@
SUBDIR += py-pgdbconn
SUBDIR += py-pglast
SUBDIR += py-pglite
+ SUBDIR += py-pgmigrate
SUBDIR += py-pgspecial
SUBDIR += py-pgxnclient
SUBDIR += py-pickledb
diff --git a/databases/py-pgmigrate/Makefile b/databases/py-pgmigrate/Makefile
new file mode 100644
index 000000000000..f71e75cc1a9f
--- /dev/null
+++ b/databases/py-pgmigrate/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= pgmigrate
+PORTVERSION= 1.0.6
+CATEGORIES= databases python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= dmitry.wagin@ya.ru
+COMMENT= PostgreSQL migrations made easy
+
+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}yaml>=5.3.1<6.0:devel/py-yaml@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_GITHUB= yes
+GH_ACCOUNT= yandex
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-pgmigrate/distinfo b/databases/py-pgmigrate/distinfo
new file mode 100644
index 000000000000..b4b267712369
--- /dev/null
+++ b/databases/py-pgmigrate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614010295
+SHA256 (yandex-pgmigrate-1.0.6_GH0.tar.gz) = e8381ef62b22997abfe0240130ac56a720fed4e934408056320e535362d8e3d3
+SIZE (yandex-pgmigrate-1.0.6_GH0.tar.gz) = 26828
diff --git a/databases/py-pgmigrate/pkg-descr b/databases/py-pgmigrate/pkg-descr
new file mode 100644
index 000000000000..9932b01b823f
--- /dev/null
+++ b/databases/py-pgmigrate/pkg-descr
@@ -0,0 +1,3 @@
+PGmigrate is a database migration tool developed by Yandex.
+
+WWW: https://github.com/yandex/pgmigrate