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>
This commit is contained in:
Andrew W Elble 2020-04-07 14:59:24 -04:00 committed by GitHub
parent cb9c86e526
commit dd463272e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 0 deletions

View File

@ -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'))

View File

@ -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')