Date: Sat, 9 Mar 2024 14:09:38 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 01e96ccc9a10 - main - databases/py-flask-sqlalchemy30: Add py-flask-sqlalchemy30 3.0.3 (copied from py-flask-sqlalchemy) Message-ID: <202403091409.429E9c2B092906@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=01e96ccc9a10b84f0c052786e660bd314b0a6bf8 commit 01e96ccc9a10b84f0c052786e660bd314b0a6bf8 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-03-09 13:44:12 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-03-09 14:05:14 +0000 databases/py-flask-sqlalchemy30: Add py-flask-sqlalchemy30 3.0.3 (copied from py-flask-sqlalchemy) - Add PORTSCOUT --- databases/Makefile | 1 + databases/py-flask-sqlalchemy30/Makefile | 28 ++++++++++++++++++++++ databases/py-flask-sqlalchemy30/distinfo | 3 +++ .../files/patch-pyproject.toml | 9 +++++++ databases/py-flask-sqlalchemy30/pkg-descr | 1 + 5 files changed, 42 insertions(+) diff --git a/databases/Makefile b/databases/Makefile index 65bee2e0b2e6..038899032be4 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -737,6 +737,7 @@ SUBDIR += py-fdb SUBDIR += py-firebirdsql SUBDIR += py-flask-sqlalchemy + SUBDIR += py-flask-sqlalchemy30 SUBDIR += py-gdbm SUBDIR += py-geoalchemy2 SUBDIR += py-hiredis diff --git a/databases/py-flask-sqlalchemy30/Makefile b/databases/py-flask-sqlalchemy30/Makefile new file mode 100644 index 000000000000..755a118c0d12 --- /dev/null +++ b/databases/py-flask-sqlalchemy30/Makefile @@ -0,0 +1,28 @@ +PORTNAME= flask-sqlalchemy +PORTVERSION= 3.0.3 +CATEGORIES= databases python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PKGNAMESUFFIX= 30 +DISTNAME= Flask-SQLAlchemy-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Add SQLAlchemy support to your Flask application +WWW= https://github.com/pallets-eco/flask-sqlalchemy + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-pep517>=1.0.0:devel/py-pdm-pep517@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=2.2:www/py-flask@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4.18:databases/py-sqlalchemy14@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +PORTSCOUT= limit:^3\.0\. + +.include <bsd.port.mk> diff --git a/databases/py-flask-sqlalchemy30/distinfo b/databases/py-flask-sqlalchemy30/distinfo new file mode 100644 index 000000000000..f3dd21ab424d --- /dev/null +++ b/databases/py-flask-sqlalchemy30/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677771171 +SHA256 (Flask-SQLAlchemy-3.0.3.tar.gz) = 2764335f3c9d7ebdc9ed6044afaf98aae9fa50d7a074cef55dde307ec95903ec +SIZE (Flask-SQLAlchemy-3.0.3.tar.gz) = 135538 diff --git a/databases/py-flask-sqlalchemy30/files/patch-pyproject.toml b/databases/py-flask-sqlalchemy30/files/patch-pyproject.toml new file mode 100644 index 000000000000..a3d429149630 --- /dev/null +++ b/databases/py-flask-sqlalchemy30/files/patch-pyproject.toml @@ -0,0 +1,9 @@ +--- pyproject.toml.orig 2023-01-31 16:07:22 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [project] +-name = "Flask-SQLAlchemy" ++name = "flask-sqlalchemy" + description = "Add SQLAlchemy support to your Flask application." + readme = "README.rst" + authors = [ diff --git a/databases/py-flask-sqlalchemy30/pkg-descr b/databases/py-flask-sqlalchemy30/pkg-descr new file mode 100644 index 000000000000..c76a3179685a --- /dev/null +++ b/databases/py-flask-sqlalchemy30/pkg-descr @@ -0,0 +1 @@ +Flask-SQLAlchemy adds support for SQLAlchemy to your Flask application.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403091409.429E9c2B092906>