Index: head/devel/py-anyio/Makefile =================================================================== --- head/devel/py-anyio/Makefile (revision 563749) +++ head/devel/py-anyio/Makefile (revision 563750) @@ -1,37 +1,41 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= anyio PORTVERSION= 2.0.2 +PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= High level compatibility layer for multiple asynchronous event loop implementations LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}idna>=2.8:dns/py-idna@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sniffio>=1.1:devel/py-sniffio@${PY_FLAVOR} USES= python:3.7+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes OPTIONS_DEFINE= CURIO TRIO CURIO_DESC= Use curio as backend TRIO_DESC= Use trio as backend CURIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}curio>=1.4:devel/py-curio@${PY_FLAVOR} TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.16:net/py-trio@${PY_FLAVOR} .include .if ${PYTHON_REL} < 3800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}typing-extensions>=0:devel/py-typing-extensions@${PY_FLAVOR} .endif + +post-patch: + @${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/setup.cfg .include Index: head/devel/py-anyio/files/patch-setup.cfg =================================================================== --- head/devel/py-anyio/files/patch-setup.cfg (nonexistent) +++ head/devel/py-anyio/files/patch-setup.cfg (revision 563750) @@ -0,0 +1,9 @@ +--- setup.cfg.orig 2020-09-26 16:32:29 UTC ++++ setup.cfg +@@ -1,5 +1,6 @@ + [metadata] + name = anyio ++version = %%PORTVERSION%% + description = High level compatibility layer for multiple asynchronous event loop implementations + long_description = file: README.rst + author = Alex Grönholm Property changes on: head/devel/py-anyio/files/patch-setup.cfg ___________________________________________________________________ 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