File test-external.patch of Package python-zstd

---
 setup.py |    2 ++
 1 file changed, 2 insertions(+)

--- a/setup.py
+++ b/setup.py
@@ -119,6 +119,8 @@ else:
 class ZstdBuildExt( build_ext ):
 
     def build_extensions(self):
+        if 'test' in sys.argv: return
+
         c = self.compiler.compiler_type
         if c in COPT:
            for e in self.extensions:
openSUSE Build Service is sponsored by