From 9c42f246ed7ea9a3b901a1c1dbaa88487bb10b0d Mon Sep 17 00:00:00 2001
From: darmac <xiaojun2@hisilicon.com>
Date: Mon, 13 Jul 2020 10:32:02 +0800
Subject: [PATCH] Add new package: atf (#17472)

---
 .../repos/builtin/packages/atf/package.py     | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 var/spack/repos/builtin/packages/atf/package.py

diff --git a/var/spack/repos/builtin/packages/atf/package.py b/var/spack/repos/builtin/packages/atf/package.py
new file mode 100644
index 0000000000..25fc399fbf
--- /dev/null
+++ b/var/spack/repos/builtin/packages/atf/package.py
@@ -0,0 +1,23 @@
+# 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 Atf(AutotoolsPackage):
+    """ATF, or Automated Testing Framework, is a collection of libraries
+    to write test programs in C, C++ and POSIX shell."""
+
+    homepage = "https://github.com/jmmv/atf"
+    url      = "https://github.com/jmmv/atf/archive/atf-0.21.tar.gz"
+
+    version('0.21', sha256='da6b02d6e7242f768a7aaa7b7e52378680456e4bd9a913b6636187079c98f3cd')
+    version('0.20', sha256='3677cf957d7f574835b8bdd385984ba928d5695b3ff28f958e4227f810483ab7')
+    version('0.19', sha256='f9b1d76dad7c34ae61a75638edc517fc05b10fa4c8f97b1d13d739bffee79b16')
+
+    depends_on('m4',       type='build')
+    depends_on('autoconf', type='build')
+    depends_on('automake', type='build')
+    depends_on('libtool',  type='build')
-- 
GitLab