From ebdba2c6a75def60b69669bfdba3a0a5f0f4db28 Mon Sep 17 00:00:00 2001
From: Vivian Hafener <79525734+viv-codes@users.noreply.github.com>
Date: Thu, 3 Mar 2022 17:42:55 -0800
Subject: New package: py-npx (#29324)

* New package py-npx

* Fixed linked issue
---
 var/spack/repos/builtin/packages/py-npx/package.py | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/py-npx/package.py

(limited to 'var')

diff --git a/var/spack/repos/builtin/packages/py-npx/package.py b/var/spack/repos/builtin/packages/py-npx/package.py
new file mode 100644
index 0000000000..c63e3ed380
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-npx/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 import *
+
+
+class PyNpx(PythonPackage):
+    """Some useful extensions for NumPy"""
+
+    homepage = "https://github.com/nschloe/npx"
+    pypi     = "npx/npx-0.1.0.tar.gz"
+
+    version('0.1.0', sha256='3edec9508326b6724d7c176dbcba2098508788241b8a671aab583d0c72b2f05b')
+
+    depends_on('python@3.7:', type=('build', 'run'))
+    depends_on('py-flit-core@3.2:3', type='build')
+    depends_on('py-numpy@1.20.0:', type=('build', 'run'))
-- 
cgit v1.2.3-70-g09d2