[py-pyprecice] add v2.4.0.0 (#31697)

* Add py-pyprecice v2.4.0.0

* Adding lower bound to pip dependency

* Removing when=@:2.1 from dependencies packaging and pip
This commit is contained in:
Ishaan Desai 2022-07-24 22:31:51 +02:00 committed by GitHub
parent 85b3c1d812
commit 241c7f7914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,11 +14,12 @@ class PyPyprecice(PythonPackage):
homepage = "https://precice.org" homepage = "https://precice.org"
git = "https://github.com/precice/python-bindings.git" git = "https://github.com/precice/python-bindings.git"
url = "https://github.com/precice/python-bindings/archive/v2.0.0.1.tar.gz" url = "https://github.com/precice/python-bindings/archive/v2.4.0.0.tar.gz"
maintainers = ["ajaust", "BenjaminRodenberg", "IshaanDesai"] maintainers = ["ajaust", "BenjaminRodenberg", "IshaanDesai"]
# Always prefer final version of release candidate # Always prefer final version of release candidate
version("develop", branch="develop") version("develop", branch="develop")
version('2.4.0.0', sha256='8877da85df97d66966892440c7e777b667d8e6a33747304ed3762f4c33b729ec')
version('2.3.0.1', sha256='ed4e48729b662680beaa4ee2a9aff724a79e760534c6c58181be739988da2789') version('2.3.0.1', sha256='ed4e48729b662680beaa4ee2a9aff724a79e760534c6c58181be739988da2789')
version('2.2.1.1', sha256='139bac5077c3807e1b7b83d8d0da5ca0fc8c17393fd0df4bc5999cd63a351b78') version('2.2.1.1', sha256='139bac5077c3807e1b7b83d8d0da5ca0fc8c17393fd0df4bc5999cd63a351b78')
version('2.2.0.2', sha256='2287185f9ad7500dced53459543d27bb66bd2438c2e4bf81ee3317e6a00513d5') version('2.2.0.2', sha256='2287185f9ad7500dced53459543d27bb66bd2438c2e4bf81ee3317e6a00513d5')
@ -32,6 +33,7 @@ class PyPyprecice(PythonPackage):
version("2.0.0.1", sha256="96eafdf421ec61ad6fcf0ab1d3cf210831a815272984c470b2aea57d4d0c9e0e") version("2.0.0.1", sha256="96eafdf421ec61ad6fcf0ab1d3cf210831a815272984c470b2aea57d4d0c9e0e")
depends_on("precice@develop", when="@develop") depends_on("precice@develop", when="@develop")
depends_on("precice@2.4.0", when="@2.4.0.1:2.4.0")
depends_on("precice@2.3.0", when="@2.3.0.1:2.3.1") depends_on("precice@2.3.0", when="@2.3.0.1:2.3.1")
depends_on("precice@2.2.1", when="@2.2.1.1:2.2.1") depends_on("precice@2.2.1", when="@2.2.1.1:2.2.1")
depends_on("precice@2.2.0", when="@2.2.0.1:2.2.0") depends_on("precice@2.2.0", when="@2.2.0.1:2.2.0")
@ -46,8 +48,8 @@ class PyPyprecice(PythonPackage):
depends_on("py-numpy", type=("build", "link", "run")) depends_on("py-numpy", type=("build", "link", "run"))
depends_on("py-mpi4py", type=("build", "run")) depends_on("py-mpi4py", type=("build", "run"))
depends_on("py-cython@0.29:", type="build") depends_on("py-cython@0.29:", type="build")
depends_on("py-packaging", when="@:2.1", type="build") depends_on("py-packaging", type="build")
depends_on("py-pip", when="@:2.1", type="build") depends_on("py-pip@19.0.0:", type="build")
@when("@:2.1") @when("@:2.1")
def patch(self): def patch(self):