|
1 | | -# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other |
2 | | -# Spack Project Developers. See the top-level COPYRIGHT file for details. |
| 1 | +# Copyright Spack Project Developers. See COPYRIGHT file for details. |
3 | 2 | # |
4 | 3 | # SPDX-License-Identifier: (Apache-2.0 OR MIT) |
5 | 4 |
|
6 | | -from spack import * |
| 5 | +from spack_repo.builtin.build_systems.python import PythonPackage |
| 6 | +from spack.package import * |
7 | 7 |
|
8 | 8 |
|
9 | | -class PyPandas(PythonPackage): |
10 | | - """pandas is a Python package providing fast, flexible, and expressive |
11 | | - data structures designed to make working with relational or |
12 | | - labeled data both easy and intuitive. It aims to be the |
13 | | - fundamental high-level building block for doing practical, real |
14 | | - world data analysis in Python. Additionally, it has the broader |
15 | | - goal of becoming the most powerful and flexible open source data |
16 | | - analysis / manipulation tool available in any language. |
17 | | - """ |
18 | | - homepage = "http://pandas.pydata.org/" |
19 | | - url = "https://pypi.io/packages/source/p/pandas/pandas-0.19.0.tar.gz" |
| 9 | +class PyPythonDateutil(PythonPackage): |
| 10 | + """Extensions to the standard Python datetime module.""" |
20 | 11 |
|
21 | | - version('0.19.0', 'bc9bb7188e510b5d44fbdd249698a2c3') |
22 | | - version('0.18.0', 'f143762cd7a59815e348adf4308d2cf6') |
23 | | - version('0.16.1', 'fac4f25748f9610a3e00e765474bdea8') |
24 | | - version('0.16.0', 'bfe311f05dc0c351f8955fbd1e296e73') |
| 12 | + homepage = "https://dateutil.readthedocs.io/" |
| 13 | + pypi = "python-dateutil/python-dateutil-2.9.0.post0.tar.gz" |
| 14 | + |
| 15 | + version("2.9.0.post0", sha256="37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3") |
| 16 | + |
| 17 | + depends_on("py-setuptools", type="build") |
| 18 | + depends_on("py-setuptools-scm@:7", type="build") |
| 19 | + depends_on("py-wheel", type="build") |
| 20 | + depends_on("py-six", type=("build", "run")) |
25 | 21 |
|
26 | | - depends_on('py-dateutil', type=('build', 'run')) |
27 | | - depends_on('py-numpy', type=('build', 'run')) |
28 | | - depends_on('py-setuptools', type='build') |
29 | | - depends_on('py-cython', type='build') |
30 | | - depends_on('py-pytz', type=('build', 'run')) |
31 | | - depends_on('py-numexpr', type=('build', 'run')) |
32 | | - depends_on('py-bottleneck', type=('build', 'run')) |
0 commit comments