Blame SOURCES/python-zstd-1.4.5.1-test-external.patch

rdobuilder 278a57
--- zstd-1.3.8.1/setup.py.orig	2019-03-04 17:40:51.208528890 +0700
rdobuilder 278a57
+++ zstd-1.3.8.1/setup.py	2019-03-04 17:58:37.644953996 +0700
rdobuilder 278a57
@@ -97,6 +97,8 @@
rdobuilder 278a57
 class ZstdBuildExt( build_ext ):
rdobuilder 278a57
 
rdobuilder 278a57
     def build_extensions(self):
rdobuilder 278a57
+        if 'test' in sys.argv: return
rdobuilder 278a57
+
rdobuilder 278a57
         c = self.compiler.compiler_type
rdobuilder 278a57
         if c in COPT:
rdobuilder 278a57
            for e in self.extensions: