Skip to content

Commit

Permalink
www/py-flask-json: Convert to USE_PYTHON=pep517
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change
  • Loading branch information
sunpoet committed May 13, 2024
1 parent 63b2c6d commit 7dfe432
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion www/py-flask-json/Makefile
@@ -1,5 +1,6 @@
PORTNAME= flask-json
PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand All @@ -12,12 +13,14 @@ WWW= https://github.com/skozlovf/flask-json
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flask>=2.2.0:www/py-flask@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}

USES= python
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= autoplist concurrent pep517

NO_ARCH= yes

Expand Down
11 changes: 11 additions & 0 deletions www/py-flask-json/files/patch-setup.py
@@ -0,0 +1,11 @@
--- setup.py.orig 2023-05-03 06:19:42 UTC
+++ setup.py
@@ -17,7 +17,7 @@ setup(


setup(
- name='Flask-JSON',
+ name='flask-json',
version=ext_version,
url='https://github.com/skozlovf/flask-json',
license='BSD',

0 comments on commit 7dfe432

Please sign in to comment.