From 57226a870baa29fedb129234e1d5177a9a09db0d Mon Sep 17 00:00:00 2001 From: Luke Diorio-Toth Date: Thu, 27 Oct 2022 11:51:36 -0500 Subject: [PATCH] py-ncbi-genome-download: new package (#33511) * py-ncbi-genome-download: new package * fixed style --- .../py-ncbi-genome-download/package.py | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-ncbi-genome-download/package.py diff --git a/var/spack/repos/builtin/packages/py-ncbi-genome-download/package.py b/var/spack/repos/builtin/packages/py-ncbi-genome-download/package.py new file mode 100644 index 0000000000..3124f45ae3 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ncbi-genome-download/package.py @@ -0,0 +1,21 @@ +# Copyright 2013-2022 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.package import * + + +class PyNcbiGenomeDownload(PythonPackage): + """Scripts to download genomes from the NCBI FTP servers""" + + homepage = "https://github.com/kblin/ncbi-genome-download/" + pypi = "ncbi-genome-download/ncbi-genome-download-0.3.1.tar.gz" + + version("0.3.1", sha256="74675e94f184b8d80429641b27ed6d46ed81028d95156337de6d09f8dd739c6e") + + depends_on("py-setuptools", type="build") + depends_on("py-appdirs", type=("build", "run")) + depends_on("py-requests@2.4.3:", type=("build", "run")) + depends_on("py-tqdm", type=("build", "run"))