diff options
author | Teague Sterling <teaguesterling@users.noreply.github.com> | 2024-06-06 14:40:07 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 14:40:07 -0700 |
commit | 8c93fb747b9c55b0b694c0579b786195b1e222d3 (patch) | |
tree | f341f66e717dfdb59d6ee9923d339906effdc8ad | |
parent | 1701e929bc2d7c585aa52cfae7450f3f90e3eb75 (diff) | |
download | spack-8c93fb747b9c55b0b694c0579b786195b1e222d3.tar.gz spack-8c93fb747b9c55b0b694c0579b786195b1e222d3.tar.bz2 spack-8c93fb747b9c55b0b694c0579b786195b1e222d3.tar.xz spack-8c93fb747b9c55b0b694c0579b786195b1e222d3.zip |
py-jproperties: add v1.0.1, v2.0.0, v2.1.0, v2.1.1 (#44519)
* py-jproperties: add v1.0.1, v2.0.0, v2.1.0, v2.1.1
* Incorporating changes from review: https://github.com/spack/spack/pull/44519#discussion_r1625170596
-rw-r--r-- | var/spack/repos/builtin/packages/py-jproperties/package.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-jproperties/package.py b/var/spack/repos/builtin/packages/py-jproperties/package.py new file mode 100644 index 0000000000..df024a6ed6 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jproperties/package.py @@ -0,0 +1,31 @@ +# Copyright 2013-2024 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 PyJproperties(PythonPackage): + """Java Property file parser and writer for Python""" + + homepage = "https://github.com/Tblue/python-jproperties" + pypi = "jproperties/jproperties-2.1.1.tar.gz" + + maintainers("teaguesterling") + + license("BSD", checked_by="teaguesterling") + + version("2.1.1", sha256="40b71124e8d257e8954899a91cd2d5c0f72e0f67f1b72048a5ba264567604f29") + version("2.1.0", sha256="504d7b8d3b2f5f0f52c22c1f72bd50576dca17b01b4cd00d4359c6b0607a59ce") + version("2.0.0", sha256="b6709652f5c602e5271f519cf14cb9bf5d5a101df06e6c1d300123477a239588") + version("1.0.1", sha256="327e14082653a4f2212ff81a96fbf141382f727f421e8afc933bf56ff7c010f4") + + depends_on("py-setuptools", type="build") + with default_args(type=("build", "run")): + depends_on("python@2.7,3:") + depends_on("py-six@1.10:1", when="@2.0.0") + depends_on("py-six@1.12:1", when="@2.1.0") + depends_on("py-six@1.13:1", when="@2.1.1") + depends_on("py-setuptools-scm@3.3:3", when="@2.1.1") |