From 2ea1bf84ece3175c78a0474a3d53b6814ba4850c Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Wed, 29 Sep 2021 22:50:42 +0200 Subject: 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 Co-authored-by: Adam J. Stewart --- var/spack/repos/builtin/packages/py-snappy/package.py | 2 ++ var/spack/repos/builtin/packages/py-snappy/req.patch | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-snappy/req.patch diff --git a/var/spack/repos/builtin/packages/py-snappy/package.py b/var/spack/repos/builtin/packages/py-snappy/package.py index 699eb45cf1..97e6256aa1 100644 --- a/var/spack/repos/builtin/packages/py-snappy/package.py +++ b/var/spack/repos/builtin/packages/py-snappy/package.py @@ -14,5 +14,7 @@ class PySnappy(PythonPackage): version('0.1.0-alpha.1', sha256='f94c5bfc0b2bb42f7d442f0d84c9ffd9aa92876632d415612f25bafa61ddcfc4') + patch('req.patch') + depends_on('python@3.6:', type=('build', 'run')) depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-snappy/req.patch b/var/spack/repos/builtin/packages/py-snappy/req.patch new file mode 100644 index 0000000000..c0a75e108a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-snappy/req.patch @@ -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'], + -- cgit v1.2.3-70-g09d2