summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-biopandas/package.py
blob: ac1cd5e9e008d9ae2625d4585fbf136f96f2fa94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright 2013-2023 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 PyBiopandas(PythonPackage):
    """Working with molecular structures in pandas DataFrames"""

    homepage = "https://rasbt.github.io/biopandas"
    pypi = "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

    license("BSD-3-Clause")

    version("0.2.5", branch="v0.2.5")

    depends_on("python@3.5:", type=("build", "run"))
    depends_on("py-setuptools", type="build")
    depends_on("py-pandas@0.24.2:", type=("build", "run"))
    depends_on("py-numpy@1.16.2:", type=("build", "run"))