summaryrefslogtreecommitdiff
path: root/var/spack/repos
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2022-09-23 10:17:42 +0200
committerGitHub <noreply@github.com>2022-09-23 02:17:42 -0600
commit86958669cf52f36efc10fb71bb52e579c0ea0e48 (patch)
treec5364c3a877edcf368357293ede38728989c10e2 /var/spack/repos
parent0a050785e98b07d4b7b4c791a3420a50a23387ca (diff)
downloadspack-86958669cf52f36efc10fb71bb52e579c0ea0e48.tar.gz
spack-86958669cf52f36efc10fb71bb52e579c0ea0e48.tar.bz2
spack-86958669cf52f36efc10fb71bb52e579c0ea0e48.tar.xz
spack-86958669cf52f36efc10fb71bb52e579c0ea0e48.zip
New packages: py-conan, py-node-semver, py-patch-ng (#32753)
* New packages: py-conan, py-node-semver, py-patch-ng * Update var/spack/repos/builtin/packages/py-conan/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-conan/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var/spack/repos')
-rw-r--r--var/spack/repos/builtin/packages/py-conan/package.py34
-rw-r--r--var/spack/repos/builtin/packages/py-node-semver/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-patch-ng/package.py17
3 files changed, 70 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-conan/package.py b/var/spack/repos/builtin/packages/py-conan/package.py
new file mode 100644
index 0000000000..64b1516692
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-conan/package.py
@@ -0,0 +1,34 @@
+# Copyright 2013-2022 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 PyConan(PythonPackage):
+ """Conan C/C++ package manager"""
+
+ homepage = "https://conan.io/"
+ pypi = "conan/conan-1.52.0.tar.gz"
+
+ version("1.52.0", sha256="184761f16d00fde17615e60125d2f14fca692ffba7666cc7d6d834fc3858cf82")
+
+ depends_on("python@3.6:", type=("build", "run"))
+ depends_on("py-setuptools", type="build")
+ depends_on("py-requests@2.25:2", type=("build", "run"))
+ depends_on("py-urllib3@1.26.6:1.26", type=("build", "run"))
+ depends_on("py-colorama@0.3.3:0.4", type=("build", "run"))
+ depends_on("py-pyyaml@3.11:6.0", type=("build", "run"))
+ depends_on("py-patch-ng@1.17.4:1.17", type=("build", "run"))
+ depends_on("py-fasteners@0.14.1:", type=("build", "run"))
+ depends_on("py-six@1.10.0:1.16.0", type=("build", "run"))
+ depends_on("py-node-semver@0.6.1", type=("build", "run"))
+ depends_on("py-distro@1.0.2:1.6.0", type=("build", "run"), when="platform=linux")
+ depends_on("py-pygments@2.0:2", type=("build", "run"))
+ depends_on("py-tqdm@4.28.1:4", type=("build", "run"))
+ depends_on("py-jinja2@2.9:2", type=("build", "run"), when="^python@:2.7")
+ depends_on("py-markupsafe@:2.0.1", type=("build", "run"), when="^python@:2.7")
+ depends_on("py-jinja2@3.0:3", type=("build", "run"), when="^python@3:")
+ depends_on("py-python-dateutil@2.7.0:2", type=("build", "run"))
+ depends_on("py-configparser@3.5:", type=("build", "run"), when="^python@:2.7")
diff --git a/var/spack/repos/builtin/packages/py-node-semver/package.py b/var/spack/repos/builtin/packages/py-node-semver/package.py
new file mode 100644
index 0000000000..c7674df4bb
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-node-semver/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2022 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 PyNodeSemver(PythonPackage):
+ """python version of node-semver (https://github.com/isaacs/node-semver)"""
+
+ homepage = "https://github.com/podhmo/python-semver"
+ pypi = "node-semver/node-semver-0.8.1.tar.gz"
+
+ version("0.8.1", sha256="281600d009606f4f63ddcbe148992e235b39a69937b9c20359e2f4a2adbb1e00")
+ version("0.6.1", sha256="4016f7c1071b0493f18db69ea02d3763e98a633606d7c7beca811e53b5ac66b7")
+
+ depends_on("python@3:", type=("build", "run"))
+ depends_on("py-setuptools", type="build")
diff --git a/var/spack/repos/builtin/packages/py-patch-ng/package.py b/var/spack/repos/builtin/packages/py-patch-ng/package.py
new file mode 100644
index 0000000000..99666c7535
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-patch-ng/package.py
@@ -0,0 +1,17 @@
+# Copyright 2013-2022 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 PyPatchNg(PythonPackage):
+ """Library to parse and apply unified diffs."""
+
+ homepage = "https://github.com/conan-io/python-patch"
+ pypi = "patch-ng/patch-ng-1.17.4.tar.gz"
+
+ version("1.17.4", sha256="627abc5bd723c8b481e96849b9734b10065426224d4d22cd44137004ac0d4ace")
+
+ depends_on("py-setuptools", type="build")