[add] py-metomi-isodatetime: new recipe, required by py-cylc-flow (#39990)

* [add] py-metomi-isodatetime: new recipe, required by py-cylc-flow

* py-metomi-isodatetime: use sources from pypi instead of github
This commit is contained in:
Lydéric Debusschère 2023-10-03 12:42:46 +02:00 committed by GitHub
parent b7cb3462d4
commit 7a390f503d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class PyMetomiIsodatetime(PythonPackage):
"""Python ISO 8601 date time parser and data model/manipulation utilities."""
homepage = "https://github.com/metomi/isodatetime"
pypi = "metomi-isodatetime/metomi-isodatetime-1!3.0.0.tar.gz"
maintainers("LydDeb")
version("3.0.0", sha256="2141e8aaa526ea7f7f1cb883e6c8ed83ffdab73269658d84d0624f63a6e1357e")
depends_on("py-setuptools", type="build")