summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorValentin Volkl <valentin.volkl@cern.ch>2021-09-29 22:50:42 +0200
committerGitHub <noreply@github.com>2021-09-29 15:50:42 -0500
commit2ea1bf84ece3175c78a0474a3d53b6814ba4850c (patch)
tree8bb0c6553d1a9a0ee6aa8c9ee7c8f53e4697a982 /var
parent0a7804f52e732b1c2a03663fd3edc861d841c167 (diff)
downloadspack-2ea1bf84ece3175c78a0474a3d53b6814ba4850c.tar.gz
spack-2ea1bf84ece3175c78a0474a3d53b6814ba4850c.tar.bz2
spack-2ea1bf84ece3175c78a0474a3d53b6814ba4850c.tar.xz
spack-2ea1bf84ece3175c78a0474a3d53b6814ba4850c.zip
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>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-snappy/package.py2
-rw-r--r--var/spack/repos/builtin/packages/py-snappy/req.patch14
2 files changed, 16 insertions, 0 deletions
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'],
+