forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
py-dataclasses-json: add new package (spack#39493)
* [py-dataclasses-json] New package * [py-dataclasses-json] limiting py-poetry-core versions
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
var/spack/repos/builtin/packages/py-dataclasses-json/package.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# 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 PyDataclassesJson(PythonPackage): | ||
"""Easily serialize dataclasses to and from JSON.""" | ||
|
||
homepage = "https://github.com/lidatong/dataclasses-json" | ||
pypi = "dataclasses_json/dataclasses_json-0.5.12.tar.gz" | ||
|
||
version("0.5.12", sha256="70e28da52e36f4be6b724e1f1e77fbcd19e0e0a6bf9a4c4c6e5abf713d4dab5a") | ||
|
||
depends_on("[email protected]:3.11", type=("build", "run")) | ||
depends_on("[email protected]:", type="build") | ||
depends_on("[email protected]:0", type=("build", "run")) | ||
depends_on("[email protected]:3", type=("build", "run")) |