Adding dynaconf module (#39762)

* Adding dynaconf module

* Fixing style

* Adding dependency
This commit is contained in:
GeorgeJuniorGG 2023-10-03 08:23:29 -03:00 committed by GitHub
parent 12e51da102
commit 1e3c7abc1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
# 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 PyDynaconf(PythonPackage):
"""Dynaconf is a dynamic configuration management package for Python projects"""
homepage = "https://github.com/dynaconf/dynaconf"
pypi = "dynaconf/dynaconf-3.2.2.tar.gz"
version("3.2.2", sha256="2f98ec85a2b8edb767b3ed0f82c6d605d30af116ce4622932a719ba70ff152fc")
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-setuptools@38.6.0:", type="build")