From c3ae592ddc109f38303611b33eea318e060789ce Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sun, 13 Dec 2020 14:43:46 +0000 Subject: [PATCH] Convert REINPLACE_CMD to patch file --- science/py-pysal/Makefile | 3 --- science/py-pysal/files/patch-pysal-config.py | 5 +++++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 science/py-pysal/files/patch-pysal-config.py diff --git a/science/py-pysal/Makefile b/science/py-pysal/Makefile index 2a4ab6a5c214..add6016f4bac 100644 --- a/science/py-pysal/Makefile +++ b/science/py-pysal/Makefile @@ -25,7 +25,4 @@ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -post-patch: - @${REINPLACE_CMD} -e '/check_stable=/ s|True|False|' ${WRKSRC}/pysal/config.py - .include diff --git a/science/py-pysal/files/patch-pysal-config.py b/science/py-pysal/files/patch-pysal-config.py new file mode 100644 index 000000000000..5658aead496d --- /dev/null +++ b/science/py-pysal/files/patch-pysal-config.py @@ -0,0 +1,5 @@ +--- pysal/config.py.orig 2018-07-17 21:40:06 UTC ++++ pysal/config.py +@@ -1 +1 @@ +-check_stable=True ++check_stable=False