From 5d1bcf67cf5220dfc31ca38ae2acfd4ec8c0420b Mon Sep 17 00:00:00 2001 From: darmac Date: Mon, 4 Jan 2021 01:07:37 +0800 Subject: [PATCH] Add new package: py-holland (#19924) * Add new package: py-holland * rename py-holland to py-holland-backup * fix dependencies --- .../packages/py-holland-backup/package.py | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-holland-backup/package.py diff --git a/var/spack/repos/builtin/packages/py-holland-backup/package.py b/var/spack/repos/builtin/packages/py-holland-backup/package.py new file mode 100644 index 0000000000..737824ae26 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-holland-backup/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 PyHollandBackup(PythonPackage): + """Holland is an Open Source backup framework originally developed + by Rackspace and written in Python. Its goal is to help facilitate + backing up databases with greater configurability, consistency, and ease. + Holland currently focuses on MySQL, however future development will include + other database platforms and even non-database related applications. + Because of its plugin structure, Holland can be used to backup anything + you want by whatever means you want.""" + + homepage = "http://hollandbackup.org/" + url = "https://github.com/holland-backup/holland/archive/1.2.2.tar.gz" + + version('1.2.2', sha256='836337c243b2dff5ff6a3ce0b647f123ab24697a5de8ac8ae8b7839aa23dff68') + + depends_on('py-setuptools', type=('build', 'run')) + depends_on('py-configobj@4.6.0:', type=('build', 'run'))