Skip to content

Commit

Permalink
Adds the spack recipe for building the pynpm python package (spack#42582
Browse files Browse the repository at this point in the history
)

* 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>
  • Loading branch information
jeremyfix and adamjstewart authored Feb 13, 2024
1 parent 29cb1d0 commit fc38fe1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions var/spack/repos/builtin/packages/py-pynpm/package.py
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit fc38fe1

Please sign in to comment.