Skip to content

Commit

Permalink
[py-pyprecice] add v2.4.0.0 (#31697)
Browse files Browse the repository at this point in the history
* Add py-pyprecice v2.4.0.0

* Adding lower bound to pip dependency

* Removing when=@:2.1 from dependencies packaging and pip
  • Loading branch information
IshaanDesai committed Jul 24, 2022
1 parent 85b3c1d commit 241c7f7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions var/spack/repos/builtin/packages/py-pyprecice/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ class PyPyprecice(PythonPackage):

homepage = "https://precice.org"
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"]

# Always prefer final version of release candidate
version("develop", branch="develop")
version('2.4.0.0', sha256='8877da85df97d66966892440c7e777b667d8e6a33747304ed3762f4c33b729ec')
version('2.3.0.1', sha256='ed4e48729b662680beaa4ee2a9aff724a79e760534c6c58181be739988da2789')
version('2.2.1.1', sha256='139bac5077c3807e1b7b83d8d0da5ca0fc8c17393fd0df4bc5999cd63a351b78')
version('2.2.0.2', sha256='2287185f9ad7500dced53459543d27bb66bd2438c2e4bf81ee3317e6a00513d5')
Expand All @@ -32,6 +33,7 @@ class PyPyprecice(PythonPackage):
version("2.0.0.1", sha256="96eafdf421ec61ad6fcf0ab1d3cf210831a815272984c470b2aea57d4d0c9e0e")

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.2.1", when="@2.2.1.1:2.2.1")
depends_on("precice@2.2.0", when="@2.2.0.1:2.2.0")
Expand All @@ -46,8 +48,8 @@ class PyPyprecice(PythonPackage):
depends_on("py-numpy", type=("build", "link", "run"))
depends_on("py-mpi4py", type=("build", "run"))
depends_on("py-cython@0.29:", type="build")
depends_on("py-packaging", when="@:2.1", type="build")
depends_on("py-pip", when="@:2.1", type="build")
depends_on("py-packaging", type="build")
depends_on("py-pip@19.0.0:", type="build")

@when("@:2.1")
def patch(self):
Expand Down

0 comments on commit 241c7f7

Please sign in to comment.