summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJeremy Fix <Jeremy.fix@gmail.com>2024-02-13 17:42:11 +0100
committerGitHub <noreply@github.com>2024-02-13 09:42:11 -0700
commitfc38fe1c69d828ca08d13eb9c11975b169682b89 (patch)
treeae3dae63d855f7ad51f916e78e738931d87a683c /var
parent29cb1d0ce0f86b20b8c1e4a267b044f886863309 (diff)
downloadspack-fc38fe1c69d828ca08d13eb9c11975b169682b89.tar.gz
spack-fc38fe1c69d828ca08d13eb9c11975b169682b89.tar.bz2
spack-fc38fe1c69d828ca08d13eb9c11975b169682b89.tar.xz
spack-fc38fe1c69d828ca08d13eb9c11975b169682b89.zip
Adds the spack recipe for building the pynpm python package (#42582)
* Adds the spack recipe for building the pynpm python package * fix license header * Update var/spack/repos/builtin/packages/py-pynpm/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-pynpm/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pynpm/package.py b/var/spack/repos/builtin/packages/py-pynpm/package.py
new file mode 100644
index 0000000000..f14fabb4ae
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pynpm/package.py
@@ -0,0 +1,22 @@
+# 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 PyPynpm(PythonPackage):
+ """Python interface to your NPM and package.json."""
+
+ homepage = "https://pynpm.readthedocs.io/en/latest/"
+ pypi = "pynpm/pynpm-0.2.0.tar.gz"
+ git = "https://github.com/inveniosoftware/pynpm"
+ maintainers("jeremyfix")
+
+ license("BSD-3-Clause")
+
+ version("0.2.0", sha256="212a1e5f86fe8b790945dd856682c6dcd8eddc6f8803a51e7046fe427d7f801b")
+
+ depends_on("py-setuptools", type="build")
+ depends_on("py-babel@2.9:", type="build")