git: 3cd860fb9fb0 - main - www/py-flask-migrate: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 30 Jun 2023 07:21:17 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3cd860fb9fb038fc113b7c267de63fa7d68e49a6
commit 3cd860fb9fb038fc113b7c267de63fa7d68e49a6
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-06-30 07:06:08 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-06-30 07:06:08 +0000
www/py-flask-migrate: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for package change
---
www/py-flask-migrate/Makefile | 5 ++++-
www/py-flask-migrate/files/patch-setup.cfg | 9 +++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/www/py-flask-migrate/Makefile b/www/py-flask-migrate/Makefile
index 0b0c2723ab75..62458ad16aaf 100644
--- a/www/py-flask-migrate/Makefile
+++ b/www/py-flask-migrate/Makefile
@@ -1,5 +1,6 @@
PORTNAME= flask-migrate
PORTVERSION= 4.0.4
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,12 +13,14 @@ WWW= https://github.com/miguelgrinberg/Flask-Migrate
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}alembic>=1.9.0:databases/py-alembic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Flask>=0.9:www/py-flask@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}flask-sqlalchemy>=1.0:databases/py-flask-sqlalchemy@${PY_FLAVOR}
USES= python
-USE_PYTHON= autoplist concurrent distutils
+USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
diff --git a/www/py-flask-migrate/files/patch-setup.cfg b/www/py-flask-migrate/files/patch-setup.cfg
new file mode 100644
index 000000000000..0460818064fc
--- /dev/null
+++ b/www/py-flask-migrate/files/patch-setup.cfg
@@ -0,0 +1,9 @@
+--- setup.cfg.orig 2023-02-02 23:22:31 UTC
++++ setup.cfg
+@@ -1,5 +1,5 @@
+ [metadata]
+-name = Flask-Migrate
++name = flask-migrate
+ version = 4.0.4
+ author = Miguel Grinberg
+ author_email = miguel.grinberg@gmail.com