From e227a684b93b9eabf78deaa51847a6f14fa322fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=A5=E7=BE=8E=E7=8C=9E=E7=8C=81?= Date: Fri, 3 Apr 2020 16:29:25 +0800 Subject: [PATCH] py-d2to1: added v0.2.12 (#15844) --- .../builtin/packages/py-d2to1/package.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-d2to1/package.py diff --git a/var/spack/repos/builtin/packages/py-d2to1/package.py b/var/spack/repos/builtin/packages/py-d2to1/package.py new file mode 100644 index 0000000000..040d0b8d4b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-d2to1/package.py @@ -0,0 +1,20 @@ +# 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) + +from spack import * + + +class PyD2to1(PythonPackage): + """d2to1 (the 'd' is for 'distutils') allows + using distutils2-like setup.cfg files for a package's + metadata with a distribute/setuptools setup.py script.""" + + homepage = "https://github.com/embray/d2to1" + url = "https://github.com/embray/d2to1/archive/0.2.12.tar.gz" + + version('0.2.12.post1', sha256='80e026ccc604850d8171fd8599b3130d234c0d443e1dc4e2039be0b204cea9b4') + version('0.2.12', sha256='04ab9f3ac255d367ecda1eb59379e5031816740c3a3eda95d0dba9f6bb3b7ca4') + + depends_on('py-setuptools', type='build')