summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-04-07 14:59:24 -0400
committerGitHub <noreply@github.com>2020-04-07 13:59:24 -0500
commitdd463272e676ffe6869f0931be75a4686d8dd25a (patch)
treeb943f77a04e63f1abccce6c36eb5ff18a80ab3f3
parentcb9c86e5262e14bc257a7aef7f1fd0525dbe0bb8 (diff)
downloadspack-dd463272e676ffe6869f0931be75a4686d8dd25a.tar.gz
spack-dd463272e676ffe6869f0931be75a4686d8dd25a.tar.bz2
spack-dd463272e676ffe6869f0931be75a4686d8dd25a.tar.xz
spack-dd463272e676ffe6869f0931be75a4686d8dd25a.zip
New package(s): py-pydeps and py-stdlib-list (#15828)
* New package(s): py-pydeps and py-stdlib-list * requested changes * Update var/spack/repos/builtin/packages/py-stdlib-list/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-pydeps/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-stdlib-list/package.py18
2 files changed, 37 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pydeps/package.py b/var/spack/repos/builtin/packages/py-pydeps/package.py
new file mode 100644
index 0000000000..65eafb46cd
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pydeps/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2020 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)
+
+
+class PyPydeps(PythonPackage):
+ """Python module dependency visualization."""
+
+ homepage = "https://pypi.python.org/project/pydeps"
+ url = "https://pypi.io/packages/source/p/pydeps/pydeps-1.7.1.tar.gz"
+
+ version('1.9.0', sha256='ba9b8c7d72cb4dfd3f4dd6b8a250c240d15824850a415fd428f2660ed371361f')
+ version('1.7.1', sha256='7eeb8d0ec2713befe81dd0d15eac540e843b1daae13613df1c572528552d6340')
+
+ depends_on('py-setuptools', type=('build', 'run'))
+ depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3.99')
+ depends_on('py-stdlib-list', type=('build', 'run'))
+ depends_on('py-pyyaml', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-stdlib-list/package.py b/var/spack/repos/builtin/packages/py-stdlib-list/package.py
new file mode 100644
index 0000000000..3bbe840729
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-stdlib-list/package.py
@@ -0,0 +1,18 @@
+# Copyright 2013-2020 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)
+
+
+class PyStdlibList(PythonPackage):
+ """This package includes lists of all of the standard libraries
+ for Python, along with the code for scraping the official Python
+ docs to get said lists."""
+
+ homepage = "https://pypi.python.org/project/stdlib-list"
+ url = "https://pypi.io/packages/source/s/stdlib-list/stdlib-list-0.6.0.tar.gz"
+
+ version('0.6.0', sha256='133cc99104f5a4e1604dc88ebb393529bd4c2b99ae7e10d46c0b596f3c67c3f0')
+
+ depends_on('py-functools32', when="^python@:3.1", type=('build', 'run'))
+ depends_on('py-setuptools', type='build')