From 71309f75b21b117bb90e3f34bde09009be563341 Mon Sep 17 00:00:00 2001 From: Andrew-Dunning-NNL <67964561+Andrew-Dunning-NNL@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:15:34 -0500 Subject: py-dulwich: new recipe (#21330) * py-dulwich: new recipe * py-dulwhich: add python dependency * py-dulwich: fix flake8 whitespace --- .../repos/builtin/packages/py-dulwich/package.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-dulwich/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-dulwich/package.py b/var/spack/repos/builtin/packages/py-dulwich/package.py new file mode 100644 index 0000000000..0a450530b9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-dulwich/package.py @@ -0,0 +1,24 @@ +# 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 PyDulwich(PythonPackage): + """Dulwich aims to provide an interface to Git repos + (both local and remote) that doesn't call out to Git + directory, but instead uses pure Python.""" + + homepage = "https://www.dulwich.io" + pypi = "dulwich/dulwich-0.20.15.tar.gz" + + version('0.20.15', sha256='fb1773373ec2af896031f8312af6962a1b8b0176a2de3fb3d84a84ec04498888') + version('0.20.14', sha256='21d6ee82708f7c67ce3fdcaf1f1407e524f7f4f7411a410a972faa2176baec0d') + + depends_on('python@3.5', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-certifi', type=('build', 'run')) + depends_on('py-urllib3@1.24.1:', type=('build', 'run')) -- cgit v1.2.3-70-g09d2