py-espresso: apply patch to v4.0.0 only (#9196)

This commit is contained in:
Christoph Junghans 2018-09-13 10:00:21 +00:00 committed by GitHub
parent 22fbb3dba7
commit 98d8c4d7ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,8 +44,8 @@ class PyEspresso(CMakePackage):
version('develop', branch='python')
version('4.0.0', sha256='8e128847447eebd843de24be9b4ad14aa19c028ae48879a5a4535a9683836e6b')
# https://github.com/espressomd/espresso/pull/2244
patch('2244.patch')
# espressomd/espresso#2244 merge upstream
patch('2244.patch', when="@4.0.0")
depends_on("cmake@3.0:", type='build')
depends_on("mpi")