Skip to content

Commit ed897c9

Browse files
committed
using maintainers() primitive
1 parent 3b81e4c commit ed897c9

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

packages/py-deephyper/package.py

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class PyDeephyper(PythonPackage):
1515
pypi = "deephyper/deephyper-0.4.2.tar.gz"
1616
git = "https://github.com/deephyper/deephyper.git"
1717

18-
maintainers = ["mdorier", "Deathn0t"]
18+
maintainers("mdorier", "Deathn0t")
1919

2020
# Versions
2121
version("master", branch="master")
@@ -46,19 +46,31 @@ class PyDeephyper(PythonPackage):
4646
depends_on("py-packaging", type=("build", "run"))
4747
depends_on("py-parse", type=("build", "run"))
4848
depends_on("[email protected]:", type=("build", "run"))
49-
# depends_on("[email protected]:", type=("build", "run"))
5049
depends_on("[email protected]:", type=("build", "run"))
5150
depends_on("py-pyyaml", type=("build", "run"))
5251
depends_on("py-tinydb", type=("build", "run"))
5352
depends_on("[email protected]:", type=("build", "run"))
5453
depends_on("[email protected]:", type=("build", "run"))
5554

56-
# depends_on("py-tensorflow@2:", type=("build", "run"), when="+nas")
55+
with when("+nas"):
56+
depends_on("py-tensorflow@2:", type=("build", "run"))
57+
depends_on("py-networkx", type=("build", "run"))
58+
depends_on("py-pydot", type=("build", "run"))
59+
60+
# :2.6.3 is failing on "darwin-ventura-m1"
61+
depends_on("[email protected]", type=("build", "run"), when="platform=darwin target=aarch64:")
62+
63+
with when("+autodeuq"):
64+
depends_on("py-tensorflow@2:", type=("build", "run"))
65+
depends_on("py-tensorflow-probability", type=("build", "run"))
66+
depends_on("py-ray", type=("build", "run"))
67+
5768
depends_on("[email protected]", type=("build", "run"), when="+hps-tl")
5869

5970
depends_on("py-mpi4py", type=("build", "run"), when="+mpi")
6071
depends_on("py-ray", type=("build", "run"), when="+ray")
6172

62-
depends_on("py-redis", type=("build", "run"), when="+redis")
63-
depends_on("redisjson", type=("build", "run"), when="+redis")
73+
with when("+redis"):
74+
depends_on("py-redis", type=("build", "run"))
75+
depends_on("redisjson", type=("build", "run"))
6476

0 commit comments

Comments
 (0)