forked from pool/python-zstd
Accepting request 681403 from home:jayvdb:python-imageio
- 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
This commit is contained in:
11
test-external.patch
Normal file
11
test-external.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- 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:
|
||||
Reference in New Issue
Block a user