Add py-pkginfo package (#13448)

This commit is contained in:
Adam J. Stewart 2019-10-25 21:27:29 -05:00 committed by GitHub
parent d6735aa5cd
commit 85597be4d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,19 @@
# Copyright 2013-2019 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 PyPkginfo(PythonPackage):
"""Query metadatdata from sdists / bdists / installed packages."""
homepage = "https://code.launchpad.net/~tseaver/pkginfo/trunk"
url = "https://pypi.io/packages/source/p/pkginfo/pkginfo-1.5.0.1.tar.gz"
version('1.5.0.1', sha256='7424f2c8511c186cd5424bbf31045b77435b37a8d604990b79d4e70d741148bb')
depends_on('py-setuptools', type='build')
depends_on('py-nose', type='test')
depends_on('py-coverage', type='test')