From nobody Sun Oct 09 15:39:44 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MlmSd1z0Fz4dwcp; Sun, 9 Oct 2022 15:39:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MlmSd17mDz3fSM; Sun, 9 Oct 2022 15:39:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665329985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=usaYC/cPDM3Hy+XXzQS/sago54INau++EYNC5f4BqSE=; b=RKlPgt2gzIFbHLuV5WM4xS5sOE8cLr8ajZzJIvCL63NL/oUSDu5cWWbvRjNJ1okMJvoj2b 4LV6nK7ZtFCC7f69Yotl/xiewT0njwDWAIbjFCHHxQf/kdX+IQUnRmsPklyoRVj+D08KYT 4y6sHQ0PEz5hxpl7U5Y7hSloefAT+uX1KB+lX4jwpP4TCB18J7k0JGfm/1tt5jXqLjLLMR GW2eFNz7McvGPJ7esD/To68neD/X6TV8/DtG3yS6sfIBzc78V2Lx5VsKQLq9uKk+ie1a6/ yhN6J3L2JofjkmSOnWZZtuA+nVDmxeyRnenBZVAyCwaXnOpTM/j0iHceERWmJw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MlmSd0992zKhr; Sun, 9 Oct 2022 15:39:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 299Fdi5n042751; Sun, 9 Oct 2022 15:39:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 299FdikV042750; Sun, 9 Oct 2022 15:39:44 GMT (envelope-from git) Date: Sun, 9 Oct 2022 15:39:44 GMT Message-Id: <202210091539.299FdikV042750@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7c4509b54033 - main - databases/py-flask-sqlalchemy: Update to 3.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7c4509b54033bb39dcd3dc63c216c113a9de966b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665329985; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=usaYC/cPDM3Hy+XXzQS/sago54INau++EYNC5f4BqSE=; b=a6gfwS3U5UjPQ/NPi/AwHvo0QayyLUpg2WbV12qwatqvP6r//0lmZmpk8M69czC+tv0/Mt +QRsrSA/KoVuyJWzSGJc4SXTIzNNHn8vvTBxFjig4whrbcvG4+7BiOUWpfUTWV9w91UyxT IRzhb+DzenfQ1sZiyHT4Ih/EwEuMwEhHlfhtamT9r2MpNXIgTmx30w9/OMc9SRSXKNKo6B KJgqerAT+WkgITtie6zdXzm8n5Gh/2v0zkX2z+k9HOtonfGdRsbF7/g/Thefot/8GrjpEM qW8NiA3S6+W2Ls8wr7Q1z6qc3QrWPkzykCk3rrtdBc+FiWkFIFGV/+DUdLiE1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665329985; a=rsa-sha256; cv=none; b=OT52icPpQug5aikdXm20QYjjY2worw24qrV/aL7qxGORRW3EAWT1/27xuYcz26hr4lK2tA iMt+Cw+0KcnSXawbaaca/MlVd14/gDndz37QMujTW/0MzQ06lDY2Sf6faXql0jLM51LrHg KY+u+tQtASIa+JcKS9URVhOX9EbO52wmyCUCHQajbDYj3UW5GLarZAacnke57eIex2oD6Y XRBOEbX3e/CP3HFXmwyQgKATHpp5Tcd7qjAEv3kskiF0NsMs8gBC/QM0ubcEt+n5dV0YSI 2LsPR6qP8+BMDJy9DQ8xHgIBAcZ3LcOAAWs8WzsQLhkaH9KycXA5eV61P4yZxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c4509b54033bb39dcd3dc63c216c113a9de966b commit 7c4509b54033bb39dcd3dc63c216c113a9de966b Author: Po-Chuan Hsieh AuthorDate: 2022-10-09 15:32:01 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-10-09 15:37:53 +0000 databases/py-flask-sqlalchemy: Update to 3.0.0 - Update WWW Changes: https://github.com/pallets-eco/flask-sqlalchemy/releases https://github.com/pallets-eco/flask-sqlalchemy/blob/main/CHANGES.rst --- databases/py-flask-sqlalchemy/Makefile | 15 ++++++---- databases/py-flask-sqlalchemy/distinfo | 6 ++-- databases/py-flask-sqlalchemy/files/setup.py | 43 ++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 9 deletions(-) diff --git a/databases/py-flask-sqlalchemy/Makefile b/databases/py-flask-sqlalchemy/Makefile index 3385cf2c7d45..d00d15c83a49 100644 --- a/databases/py-flask-sqlalchemy/Makefile +++ b/databases/py-flask-sqlalchemy/Makefile @@ -1,6 +1,5 @@ PORTNAME= flask-sqlalchemy -PORTVERSION= 2.5.1 -PORTREVISION= 1 +PORTVERSION= 3.0.0 CATEGORIES= databases python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -8,17 +7,21 @@ DISTNAME= Flask-SQLAlchemy-${PORTVERSION} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Add SQLAlchemy support to your Flask application -WWW= https://github.com/pallets/flask-sqlalchemy +WWW= https://github.com/pallets-eco/flask-sqlalchemy LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10:www/py-flask@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=0.8:databases/py-sqlalchemy14@${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:3.6+ +USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR} + +post-patch: + @${SED} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${FILESDIR}/setup.py > ${WRKSRC}/setup.py .include diff --git a/databases/py-flask-sqlalchemy/distinfo b/databases/py-flask-sqlalchemy/distinfo index de44997cab45..48472b4af2d4 100644 --- a/databases/py-flask-sqlalchemy/distinfo +++ b/databases/py-flask-sqlalchemy/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618320096 -SHA256 (Flask-SQLAlchemy-2.5.1.tar.gz) = 2bda44b43e7cacb15d4e05ff3cc1f8bc97936cc464623424102bfc2c35e95912 -SIZE (Flask-SQLAlchemy-2.5.1.tar.gz) = 132750 +TIMESTAMP = 1665073114 +SHA256 (Flask-SQLAlchemy-3.0.0.tar.gz) = b54939fd5f48184742b7d5b222d86983e233b43140c1071a36327353e86f3b56 +SIZE (Flask-SQLAlchemy-3.0.0.tar.gz) = 127234 diff --git a/databases/py-flask-sqlalchemy/files/setup.py b/databases/py-flask-sqlalchemy/files/setup.py new file mode 100644 index 000000000000..355572601882 --- /dev/null +++ b/databases/py-flask-sqlalchemy/files/setup.py @@ -0,0 +1,43 @@ +# -*- coding: utf-8 -*- +from setuptools import setup + +import codecs + +with codecs.open('README.rst', encoding="utf-8") as fp: + long_description = fp.read() +INSTALL_REQUIRES = [ + 'Flask>=2.2', + 'SQLAlchemy>=1.4.18', +] + +setup_kwargs = { + 'name': 'Flask-SQLAlchemy', + 'version': '%%PORTVERSION%%', + 'description': 'Add SQLAlchemy support to your Flask application.', + 'long_description': long_description, + 'license': 'BSD-3-Clause', + 'author': '', + 'author_email': 'Armin Ronacher ', + 'maintainer': '', + 'maintainer_email': 'Pallets ', + 'url': '', + 'packages': [ + 'flask_sqlalchemy', + ], + 'package_dir': {'': 'src'}, + 'package_data': {'': ['*']}, + 'long_description_content_type': 'text/x-rst', + 'classifiers': [ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Web Environment', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', + ], + 'install_requires': INSTALL_REQUIRES, + 'python_requires': '>=3.7', +} + +setup(**setup_kwargs)