forked from pool/python-zstd
- Initial spec for v1.3.8.1, adding test-external.patch to allow tests to run with an external library, and test-once to avoid custom hack to run tests which actually runs them twice. OBS-URL: https://build.opensuse.org/request/show/681403 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-zstd?expand=0&rev=1
12 lines
359 B
Diff
12 lines
359 B
Diff
--- zstd-1.3.8.1/setup.py.orig 2019-03-04 17:40:51.208528890 +0700
|
|
+++ zstd-1.3.8.1/setup.py 2019-03-04 17:58:37.644953996 +0700
|
|
@@ -97,6 +97,8 @@
|
|
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:
|