summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDani <44979434+d-beltran@users.noreply.github.com>2024-01-29 13:52:57 +0100
committerGitHub <noreply@github.com>2024-01-29 13:52:57 +0100
commitb09d741aede8584d9537e64209b18a873e0297d1 (patch)
treebe239d4ef1daf5dbb7810a177321f957e6be1ce4
parent594069961ab357926abaa76df82e77de51284d31 (diff)
downloadspack-b09d741aede8584d9537e64209b18a873e0297d1.tar.gz
spack-b09d741aede8584d9537e64209b18a873e0297d1.tar.bz2
spack-b09d741aede8584d9537e64209b18a873e0297d1.tar.xz
spack-b09d741aede8584d9537e64209b18a873e0297d1.zip
new builtin package: py-biobb-common (#41993)
* new builtin package: biobb-common * removed whitespace for the style test * replaced ' by " for the style test * changed import line for the style test * Update var/spack/repos/builtin/packages/biobb-common/package.py Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * Update var/spack/repos/builtin/packages/biobb-common/package.py Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> * Update var/spack/repos/builtin/packages/biobb-common/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * removed test * using pypi instead of git I hope this is declared the right way. I tried to test it locally but I am having problems with a dependency (openblas) thus I can not even try if this works. * upgraded version * Added py prefix * removed biopython version restriction * directory with new py-prefixed name * Delete old non-prefixed package * Update var/spack/repos/builtin/packages/py-biobb-common/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-biobb-common/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-biobb-common/package.py b/var/spack/repos/builtin/packages/py-biobb-common/package.py
new file mode 100644
index 0000000000..64887f8d97
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-biobb-common/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2024 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 PyBiobbCommon(PythonPackage):
+ """Biobb_common is the base package required to use the biobb packages"""
+
+ pypi = "biobb_common/biobb_common-4.1.0.tar.gz"
+
+ maintainers("d-beltran")
+
+ # Versions
+ version("4.1.0", sha256="97637f359a3bb8ad79aca72b6c26f73fe2424845dc7f43005643971046e9d117")
+
+ # Dependencies
+ depends_on("py-setuptools", type="build")
+ depends_on("python@3.8:", type=("build", "run"))
+ depends_on("py-pyyaml", type=("build", "run"))
+ depends_on("py-requests", type=("build", "run"))
+ depends_on("py-biopython", type=("build", "run"))