From b7863b692f42e7caa949ce2fc2d060d6f6fd94d7 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 4 Oct 2020 14:13:21 +0000 Subject: [PATCH] Convert REINPLACE_CMD to patch file --- databases/py-tarantool/Makefile | 3 --- databases/py-tarantool/files/patch-setup.py | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 databases/py-tarantool/files/patch-setup.py diff --git a/databases/py-tarantool/Makefile b/databases/py-tarantool/Makefile index 8af53371cefe..90526e415846 100644 --- a/databases/py-tarantool/Makefile +++ b/databases/py-tarantool/Makefile @@ -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 diff --git a/databases/py-tarantool/files/patch-setup.py b/databases/py-tarantool/files/patch-setup.py new file mode 100644 index 000000000000..dc3a6f42aedd --- /dev/null +++ b/databases/py-tarantool/files/patch-setup.py @@ -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', + ] + )