py-snappy: add patch to fix dependencies (#26352)
* py-snappy: add patch to fix dependencies * Update var/spack/repos/builtin/packages/py-snappy/req.patch Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
0a7804f52e
commit
2ea1bf84ec
@ -14,5 +14,7 @@ class PySnappy(PythonPackage):
|
|||||||
|
|
||||||
version('0.1.0-alpha.1', sha256='f94c5bfc0b2bb42f7d442f0d84c9ffd9aa92876632d415612f25bafa61ddcfc4')
|
version('0.1.0-alpha.1', sha256='f94c5bfc0b2bb42f7d442f0d84c9ffd9aa92876632d415612f25bafa61ddcfc4')
|
||||||
|
|
||||||
|
patch('req.patch')
|
||||||
|
|
||||||
depends_on('python@3.6:', type=('build', 'run'))
|
depends_on('python@3.6:', type=('build', 'run'))
|
||||||
depends_on('py-setuptools', type='build')
|
depends_on('py-setuptools', type='build')
|
||||||
|
14
var/spack/repos/builtin/packages/py-snappy/req.patch
Normal file
14
var/spack/repos/builtin/packages/py-snappy/req.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff --git a/setup.py b/setup.py
|
||||||
|
index d6ec42a..53725c7 100644
|
||||||
|
--- a/setup.py
|
||||||
|
+++ b/setup.py
|
||||||
|
@@ -49,7 +49,7 @@ setup(
|
||||||
|
url='https://github.com/ethereum/py-snappy',
|
||||||
|
include_package_data=True,
|
||||||
|
install_requires=[],
|
||||||
|
- setup_requires=['setuptools-markdown'],
|
||||||
|
+ setup_requires=[],
|
||||||
|
python_requires='>=3.6, <4',
|
||||||
|
extras_require=extras_require,
|
||||||
|
py_modules=['py_snappy'],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user