Convert REINPLACE_CMD to patch file

This commit is contained in:
Sunpoet Po-Chuan Hsieh
2020-10-04 14:13:21 +00:00
parent 4f0035d7af
commit b7863b692f
2 changed files with 10 additions and 3 deletions
-3
View File
@@ -19,7 +19,4 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|msgpack-python|msgpack|' ${WRKSRC}/setup.py
.include <bsd.port.mk>
@@ -0,0 +1,10 @@
--- setup.py.orig 2018-10-25 00:05:26 UTC
+++ setup.py
@@ -82,6 +82,6 @@ setup(
cmdclass=cmdclass,
command_options=command_options,
install_requires=[
- 'msgpack-python>=0.4',
+ 'msgpack>=0.4',
]
)