svn commit: r563750 - in head/devel/py-anyio: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Feb 1 19:47:28 UTC 2021
Author: sunpoet
Date: Mon Feb 1 19:47:20 2021
New Revision: 563750
URL: https://svnweb.freebsd.org/changeset/ports/563750
Log:
Fix version
- Bump PORTREVISION for package change
PR: 253117
Reported by: rwatson
Added:
head/devel/py-anyio/files/
head/devel/py-anyio/files/patch-setup.cfg (contents, props changed)
Modified:
head/devel/py-anyio/Makefile
Modified: head/devel/py-anyio/Makefile
==============================================================================
--- head/devel/py-anyio/Makefile Mon Feb 1 19:47:15 2021 (r563749)
+++ head/devel/py-anyio/Makefile Mon Feb 1 19:47:20 2021 (r563750)
@@ -3,6 +3,7 @@
PORTNAME= anyio
PORTVERSION= 2.0.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -33,5 +34,8 @@ TRIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}trio>=0.16:ne
.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 <bsd.port.post.mk>
Added: head/devel/py-anyio/files/patch-setup.cfg
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-anyio/files/patch-setup.cfg Mon Feb 1 19:47:20 2021 (r563750)
@@ -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
More information about the svn-ports-all
mailing list