Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2021 08:23:28 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r560978 - head/www/py-google-resumable-media
Message-ID:  <202101100823.10A8NS8a020327@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jan 10 08:23:28 2021
New Revision: 560978
URL: https://svnweb.freebsd.org/changeset/ports/560978

Log:
  Remove PYTHON_REL check after r559531 (USES=python:3.6+)

Modified:
  head/www/py-google-resumable-media/Makefile

Modified: head/www/py-google-resumable-media/Makefile
==============================================================================
--- head/www/py-google-resumable-media/Makefile	Sun Jan 10 08:23:23 2021	(r560977)
+++ head/www/py-google-resumable-media/Makefile	Sun Jan 10 08:23:28 2021	(r560978)
@@ -12,7 +12,8 @@ COMMENT=	Utilities for Google Media Downloads and Resu
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-crc32c>=1.0<2.0:devel/py-google-crc32c@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR}
 
 USES=		python:3.6+
 USE_PYTHON=	autoplist concurrent distutils
@@ -24,20 +25,7 @@ OPTIONS_DEFAULT=AIOHTTP REQUESTS
 AIOHTTP_DESC=	Use aiohttp
 REQUESTS_DESC=	Use requests
 
+AIOHTTP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR}
 REQUESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.18.0:www/py-requests@${PY_FLAVOR}
 
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 3000
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}crcmod>=1.7:devel/py-crcmod@${PY_FLAVOR}
-.endif
-
-.if ${PYTHON_REL} >= 3500
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}google-crc32c>=1.0<2.0:devel/py-google-crc32c@${PY_FLAVOR}
-.endif
-
-.if ${PORT_OPTIONS:MAIOHTTP} && ${PYTHON_REL} >= 3600
-RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2<4.0.0:www/py-aiohttp@${PY_FLAVOR}
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101100823.10A8NS8a020327>