Date: Wed, 29 Sep 2021 23:03:44 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 84d91aba9e13 - main - databases/py-alembic14: Add NEW port Message-ID: <202109292303.18TN3iNx052866@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=84d91aba9e132ec9d6a1b15d2e8660c94f8a4f14 commit 84d91aba9e132ec9d6a1b15d2e8660c94f8a4f14 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2021-09-29 23:00:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2021-09-29 23:00:27 +0000 databases/py-alembic14: Add NEW port As part of upgrading py-alembic to latest upstream version this version of py-alembic is forked as the latest version uses sqlalchemy from 1.3.X branches. Once the dependent ports are fixed py-alembic will be updated to the latest. --- databases/Makefile | 1 + databases/py-alembic14/Makefile | 29 +++++++++++++++++++++++++++++ databases/py-alembic14/distinfo | 3 +++ databases/py-alembic14/pkg-descr | 14 ++++++++++++++ 4 files changed, 47 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 77055c0b0356..ab4e0546e798 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -748,6 +748,7 @@ SUBDIR += py-aioredis SUBDIR += py-aiosqlite SUBDIR += py-alembic + SUBDIR += py-alembic14 SUBDIR += py-apsw SUBDIR += py-asyncmy SUBDIR += py-asyncpg diff --git a/databases/py-alembic14/Makefile b/databases/py-alembic14/Makefile new file mode 100644 index 000000000000..d52551178304 --- /dev/null +++ b/databases/py-alembic14/Makefile @@ -0,0 +1,29 @@ +PORTNAME= alembic +PORTVERSION= 1.4.3 +CATEGORIES= databases python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 14 + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Database migration tool for SQLAlchemy - 1.4.X Branch + +LICENSE= MIT + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mako>=0:textproc/py-mako@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}python-editor>=0:devel/py-python-editor@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy12>=0:databases/py-sqlalchemy12@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${LOCALBASE}/bin/tox -e ${PY_FLAVOR} + +.include <bsd.port.mk> diff --git a/databases/py-alembic14/distinfo b/databases/py-alembic14/distinfo new file mode 100644 index 000000000000..4fec524ff11a --- /dev/null +++ b/databases/py-alembic14/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1601486131 +SHA256 (alembic-1.4.3.tar.gz) = 5334f32314fb2a56d86b4c4dd1ae34b08c03cae4cb888bc699942104d66bc245 +SIZE (alembic-1.4.3.tar.gz) = 1108131 diff --git a/databases/py-alembic14/pkg-descr b/databases/py-alembic14/pkg-descr new file mode 100644 index 000000000000..db22866a415a --- /dev/null +++ b/databases/py-alembic14/pkg-descr @@ -0,0 +1,14 @@ +Alembic is a new database migrations tool, written by the author of +SQLAlchemy. A migrations tool offers the following functionality: + +- Can emit ALTER statements to a database in order to change the structure of + tables and other constructs +- Provides a system whereby "migration scripts" may be constructed; each + script indicates a particular series of steps that can "upgrade" a target + database to a new version, and optionally a series of steps that can + "downgrade" similarly, doing the same steps in reverse. +- Allows the scripts to execute in some sequential manner. + +This is 1.4.X branch that works with sqlalchemy 1.2.X branch. + +WWW: http://alembic.zzzcomputing.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202109292303.18TN3iNx052866>