py-duecredit: add new package (#25006)

This commit is contained in:
Manuela Kuhn
2021-07-21 15:08:12 +02:00
committed by GitHub
parent bb985e40dd
commit 8a038ef64c

View File

@@ -0,0 +1,22 @@
# Copyright 2013-2021 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 PyDuecredit(PythonPackage):
"""Publications (and donations) tracer."""
homepage = "https://github.com/duecredit/duecredit"
pypi = "duecredit/duecredit-0.9.1.tar.gz"
version('0.9.1', sha256='f6192ce9315b35f6a67174761291e61d0831e496e8ff4acbc061731e7604faf8')
depends_on('python@3.6:', type=('build', 'run'))
depends_on('py-setuptools', type='build')
depends_on('py-requests', type=('build', 'run'))
depends_on('py-citeproc-py@0.4:', type=('build', 'run'))
depends_on('py-six', type=('build', 'run'))
depends_on('py-importlib-metadata', when='python@:3.7', type=('build', 'run'))