Fix version

- Bump PORTREVISION for package change

PR:		253117
Reported by:	rwatson
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-02-01 19:47:20 +00:00
parent 2e59383460
commit abdbf7af7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563750
2 changed files with 13 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= anyio
PORTVERSION= 2.0.2
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -34,4 +35,7 @@ TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.16:net/py-trio@${PY_FLAVOR}
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 <bsd.port.post.mk>

View file

@ -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