summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorilbiondo <61497728+ilbiondo@users.noreply.github.com>2020-04-17 16:50:33 +0200
committerGitHub <noreply@github.com>2020-04-17 09:50:33 -0500
commit854a82bbecc368291daec4a57a38c1fa36fbcfb1 (patch)
tree90d7168260f8ad02e2918b6d26d183bde247a445
parent950180ab034d85afb76ed91b46e3476558add786 (diff)
downloadspack-854a82bbecc368291daec4a57a38c1fa36fbcfb1.tar.gz
spack-854a82bbecc368291daec4a57a38c1fa36fbcfb1.tar.bz2
spack-854a82bbecc368291daec4a57a38c1fa36fbcfb1.tar.xz
spack-854a82bbecc368291daec4a57a38c1fa36fbcfb1.zip
New package: Biopandas python package (#16066)
* Biopandas python package * Update var/spack/repos/builtin/packages/py-biopandas/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-biopandas/package.py Co-Authored-By: Adam J. Stewart <ajstewart426@gmail.com> * remove scipy dependency Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
-rw-r--r--var/spack/repos/builtin/packages/py-biopandas/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-biopandas/package.py b/var/spack/repos/builtin/packages/py-biopandas/package.py
new file mode 100644
index 0000000000..720bd34d28
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-biopandas/package.py
@@ -0,0 +1,24 @@
+# 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 PyBiopandas(PythonPackage):
+ """Working with molecular structures in pandas DataFrames"""
+
+ homepage = "http://rasbt.github.io/biopandas"
+ url = "https://pypi.io/packages/source/b/biopandas/biopandas-0.2.5.tar.gz"
+ git = "https://github.com/rasbt/biopandas.git"
+
+ # Note that the source package on PyPi is broken as it
+ # is missing the requirements.txt so we have to download
+ # from github
+
+ version('0.2.5', branch="v0.2.5")
+
+ depends_on('python@3.5:', type=('build', 'run'))
+ depends_on('py-pandas@0.24.2:', type=('build', 'run'))
+ depends_on('py-numpy@1.16.2:', type=('build', 'run'))