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,24 +1,27 @@ PORTNAME= dropbox PORTVERSION= 11.36.0 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Official Dropbox API Client WWW= https://dropbox-sdk-python.readthedocs.io/en/latest/ \ https://github.com/dropbox/dropbox-sdk-python 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 .include 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,12 +1,17 @@ ---- 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 = [ - # Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in - # Python 2.7 - 'pytest-runner == 5.2.0', ] # WARNING: This imposes limitations on test/requirements.txt such that the