summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
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'],
+