Date: Sun, 18 Apr 2021 07:12:53 GMT From: Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 680358d7f6c2 - main - net/py-geopy: Add AIOHTTP, REQUESTS and TIMEZONE options Message-ID: <202104180712.13I7Crst011788@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=680358d7f6c264a2dabd68a14553204fc9cf8daf commit 680358d7f6c264a2dabd68a14553204fc9cf8daf Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-04-18 05:05:07 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-04-18 05:43:56 +0000 net/py-geopy: Add AIOHTTP, REQUESTS and TIMEZONE options --- net/py-geopy/Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/net/py-geopy/Makefile b/net/py-geopy/Makefile index b59e4f5c64a0..5fbde8dcd9ea 100644 --- a/net/py-geopy/Makefile +++ b/net/py-geopy/Makefile @@ -23,6 +23,16 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes +OPTIONS_DEFINE= AIOHTTP REQUESTS TIMEZONE +AIOHTTP_DESC= Async HTTP adapter support +REQUESTS_DESC= Requests adapter support +TIMEZONE_DESC= Locate timezones + +AIOHTTP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR} +REQUESTS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.16.2:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}urllib3>=1.24.2,1:net/py-urllib3@${PY_FLAVOR} +TIMEZONE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz@${PY_FLAVOR} + do-test: cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104180712.13I7Crst011788>