git: 6ed889c84590 - main - databases/py-sqlite-migrate: new port: plugin for py-sqlite-utils

From: Dave Cottlehuber <dch_at_FreeBSD.org>
Date: Wed, 22 May 2024 13:57:23 UTC
The branch main has been updated by dch:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ed889c845902e8eeabdaa629e2704b9704f6edd

commit 6ed889c845902e8eeabdaa629e2704b9704f6edd
Author:     Dave Cottlehuber <dch@FreeBSD.org>
AuthorDate: 2024-05-22 13:57:16 +0000
Commit:     Dave Cottlehuber <dch@FreeBSD.org>
CommitDate: 2024-05-22 13:57:16 +0000

    databases/py-sqlite-migrate: new port: plugin for py-sqlite-utils
---
 databases/Makefile                    |  1 +
 databases/py-sqlite-migrate/Makefile  | 23 +++++++++++++++++++++++
 databases/py-sqlite-migrate/distinfo  |  3 +++
 databases/py-sqlite-migrate/pkg-descr |  1 +
 4 files changed, 28 insertions(+)

diff --git a/databases/Makefile b/databases/Makefile
index 8dda48c7fff8..9cdf750b2155 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -823,6 +823,7 @@
     SUBDIR += py-sqlglot
     SUBDIR += py-sqlite-anyio
     SUBDIR += py-sqlite-fts4
+    SUBDIR += py-sqlite-migrate
     SUBDIR += py-sqlite-utils
     SUBDIR += py-sqlite3
     SUBDIR += py-sqlobject
diff --git a/databases/py-sqlite-migrate/Makefile b/databases/py-sqlite-migrate/Makefile
new file mode 100644
index 000000000000..367626ce2352
--- /dev/null
+++ b/databases/py-sqlite-migrate/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	sqlite-migrate
+DISTVERSION=	0.1b0
+CATEGORIES=	databases python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dch@FreeBSD.org
+COMMENT=	Python CLI utility and library for migrating SQLite schemas
+WWW=		https://github.com/simonw/sqlite-migrate
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=41:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlite-utils>0:databases/py-sqlite-utils@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/databases/py-sqlite-migrate/distinfo b/databases/py-sqlite-migrate/distinfo
new file mode 100644
index 000000000000..f29bfbe00b3b
--- /dev/null
+++ b/databases/py-sqlite-migrate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1716198119
+SHA256 (sqlite-migrate-0.1b0.tar.gz) = 8d502b3ca4b9c45e56012bd35c03d23235f0823c976d4ce940cbb40e33087ded
+SIZE (sqlite-migrate-0.1b0.tar.gz) = 10736
diff --git a/databases/py-sqlite-migrate/pkg-descr b/databases/py-sqlite-migrate/pkg-descr
new file mode 100644
index 000000000000..1f85ea38aa83
--- /dev/null
+++ b/databases/py-sqlite-migrate/pkg-descr
@@ -0,0 +1 @@
+A simple database migration system for SQLite, in pre-release.