git: 557b0799b28f - main - www/py-dropbox: Convert to USE_PYTHON=pep517
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 May 2024 14:24:55 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=557b0799b28fb782669e5fafa18ae392d1b3109b commit 557b0799b28fb782669e5fafa18ae392d1b3109b Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-05-13 14:12:36 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-05-13 14:12:36 +0000 www/py-dropbox: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change --- www/py-dropbox/Makefile | 5 ++++- www/py-dropbox/files/patch-setup.py | 9 +++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/www/py-dropbox/Makefile b/www/py-dropbox/Makefile index 3e8b4a2a870a..900bd80aecb2 100644 --- a/www/py-dropbox/Makefile +++ b/www/py-dropbox/Makefile @@ -1,5 +1,6 @@ PORTNAME= dropbox PORTVERSION= 11.36.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,12 +13,14 @@ WWW= https://dropbox-sdk-python.readthedocs.io/en/latest/ \ LICENSE= MIT 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}requests>=0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}stone>=2.0:devel/py-stone@${PY_FLAVOR} USES= python -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes diff --git a/www/py-dropbox/files/patch-setup.py b/www/py-dropbox/files/patch-setup.py index f7d8d3b578a1..1a9de4bdd722 100644 --- a/www/py-dropbox/files/patch-setup.py +++ b/www/py-dropbox/files/patch-setup.py @@ -1,6 +1,11 @@ ---- setup.py.orig 2022-07-13 18:09:08 UTC +--- setup.py.orig 2022-11-09 23:21:58 UTC +++ setup.py -@@ -31,9 +31,6 @@ install_reqs = [ +@@ -27,13 +27,10 @@ install_reqs = [ + install_reqs = [ + 'requests >= 2.16.2', + 'six >= 1.12.0', +- 'stone >= 2.*', ++ 'stone >= 2.0', ] setup_requires = [