Index: head/sysutils/py-consul/Makefile =================================================================== --- head/sysutils/py-consul/Makefile (revision 489651) +++ head/sysutils/py-consul/Makefile (revision 489652) @@ -1,29 +1,30 @@ # $FreeBSD$ PORTNAME= consul PORTVERSION= 1.1.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= sysutils PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jhixson@FreeBSD.org COMMENT= Python client for consul LICENSE= MIT BUILD_DEPENDS= ${LOCALBASE}/bin/consul:sysutils/consul \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} RUN_DEPENDS= ${LOCALBASE}/bin/consul:sysutils/consul \ ${PYTHON_PKGNAMEPREFIX}requests>=2.0.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}six>=1.4:devel/py-six@${PY_FLAVOR} -USES= python:3.6+ +USES= python:2.7-3.6+ USE_GITHUB= yes GH_ACCOUNT= cablehead GH_PROJECT= python-consul USE_PYTHON= distutils autoplist .include Index: head/sysutils/py-consul/files/patch-setup.py =================================================================== --- head/sysutils/py-consul/files/patch-setup.py (nonexistent) +++ head/sysutils/py-consul/files/patch-setup.py (revision 489652) @@ -0,0 +1,23 @@ +--- setup.py.orig 2018-07-09 03:59:48 UTC ++++ setup.py +@@ -22,14 +22,15 @@ description = "Python client for Consul (http://www.co + + py_modules = [os.path.splitext(x)[0] for x in glob.glob('consul/*.py')] + ++# Issue #123: skip installation of consul.aio if python version < 3.4.2 ++# as this version or later is required by aiohttp ++if sys.version_info < (3, 4, 2): ++ if 'consul/aio' in py_modules: ++ py_modules.remove('consul/aio') + ++ + class Install(install): + def run(self): +- # Issue #123: skip installation of consul.aio if python version < 3.4.2 +- # as this version or later is required by aiohttp +- if sys.version_info < (3, 4, 2): +- if 'consul/aio' in self.distribution.py_modules: +- self.distribution.py_modules.remove('consul/aio') + install.run(self) + + Property changes on: head/sysutils/py-consul/files/patch-setup.py ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property