Skip to content

Commit 31c9baa

Browse files
authored
UWtools: new package (#554)
Add new package UW Tools and its dependency Iotaa
1 parent b384366 commit 31c9baa

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
2+
#
3+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
4+
5+
from spack.package import *
6+
7+
8+
class Iotaa(PythonPackage):
9+
"""A simple workflow engine with semantics inspired by Luigi
10+
and tasks expressed as decorated Python functions"""
11+
12+
homepage = "https://github.com/maddenp/iotaa"
13+
url = "https://github.com/maddenp/iotaa/archive/refs/tags/v1.2.3-0.tar.gz"
14+
15+
maintainers("maddenp")
16+
17+
license("Apache-2.0", checked_by="WeirAE")
18+
19+
version("1.2.3", sha256="010842cc3f20f203f1154b29befe7d58db7ed45ca7c8d972c08487de5d7dc43e")
20+
21+
version("1.1.6", sha256="b375edafec7dc00f854f7122e0817924ce53f05e0a62e01422ea44aff25c5f8d")
22+
23+
version("0.8.3", sha256="d92bf7a1a41f46987effb7aeeacc12b1fc7dbe8bbaedda8ec71dcf188e5d05bb")
24+
25+
depends_on("py-setuptools@42:", type="build")
26+
27+
build_directory = "src"
28+
29+
def url_for_version(self, version):
30+
return f"https://github.com/maddenp/iotaa/archive/refs/tags/v{version}-0.tar.gz"
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
2+
#
3+
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
4+
5+
from spack.package import *
6+
7+
8+
class Uwtools(PythonPackage):
9+
"""UW Tools is a modern, open-source Python package that helps
10+
automate common tasks needed for many standard numerical weather
11+
prediction (NWP) workflows. It also provides drivers to automate
12+
the configuration and execution of Unified Forecast System (UFS)
13+
components, providing flexibility, interoperability, and
14+
usability to various UFS Applications."""
15+
16+
homepage = "https://uwtools.readthedocs.io/en/stable/"
17+
url = "https://github.com/ufs-community/uwtools/archive/refs/tags/v2.7.1.tar.gz"
18+
git = "https://github.com/ufs-community/uwtools.git"
19+
20+
maintainers("NaureenBharwaniNOAA", "christinaholtNOAA", "elcarpenterNOAA", "maddenp-cu")
21+
22+
license("GPL-2.0-or-later", checked_by="WeirAE")
23+
24+
version("2.7.1", sha256="2764aa5fa9f4ebb3eb43bf6ee3cf9e37d3889f374bfc536faabdfb3dc46b26c8")
25+
version("2.7.0", sha256="778c935256c9511d81e32a7548412ace3a1901d8afc22bdb042639156e45bcc5")
26+
version("2.6.3", sha256="0b9cd205c91202cf20eef64fa462176b37d6fbbceb752097a065d1772855bfc4")
27+
version("2.6.2", sha256="d0922ddd2b3bdbeb925c2e4694f929f3e966145d2929e74ab9f9c9ecd27b674a")
28+
version("2.6.1", sha256="cd3fb06b153ddba3b5256c79c3be4d84c6b388b7c2f7737e8b32bcb28081774b")
29+
version("2.6.0", sha256="25f350a3f69b29a4b685ce9c93edfc11a39b99192040bc44250495c0e6a09b68")
30+
version("2.5.3", sha256="fec29a1c1b07788d3144fa45a263566bab6cfd286da0cfbefe2b2a02f7bacad1")
31+
version("2.5.2", sha256="358da7473205456720e2f8231a43ad7ef0b9946dfdad41ea542963f444d258b9")
32+
version("2.5.1", sha256="f389f63195492196c8009d5843a3861ad350b5fd1cea1fdb8a6bfdc7cbfd660f")
33+
version("2.5.0", sha256="246f1cb1d3b7c507eae833f5223d3be5efaea16204a71cafba820901edc0e19e")
34+
35+
depends_on("py-pip", type="build")
36+
depends_on("[email protected]:3.11")
37+
depends_on("py-setuptools", type="build")
38+
depends_on("[email protected]")
39+
depends_on("[email protected]")
40+
depends_on("[email protected]:", when="@:2.6.3")
41+
depends_on("[email protected]:", when="@2.6.3:")
42+
depends_on("[email protected]:", when="@2.7.1:")
43+
depends_on("[email protected]:4.24")
44+
depends_on("[email protected]")
45+
depends_on("[email protected]")
46+
depends_on("[email protected]", when="@2.6.3:")
47+
48+
build_directory = "src"

0 commit comments

Comments
 (0)