From 50a3e3bfd3e62c2ba5c99be2eeb8a75811c00e6b Mon Sep 17 00:00:00 2001 From: Jen Herting Date: Fri, 24 Dec 2021 10:38:09 -0500 Subject: New package: py-pyts (#28142) * [py-pyts] new package * [py-pyts] removed upperbound for python Co-authored-by: Sid Pendelberry --- .../repos/builtin/packages/py-pyts/package.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-pyts/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-pyts/package.py b/var/spack/repos/builtin/packages/py-pyts/package.py new file mode 100644 index 0000000000..8a965d4c70 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-pyts/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2021 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 PyPyts(PythonPackage): + """pyts is a Python package for time series classification. It aims to make + time series classification easily accessible by providing preprocessing and + utility tools, and implementations of state-of-the-art algorithms. Most of + these algorithms transform time series, thus pyts provides several tools to + perform these transformations.""" + + homepage = "https://github.com/johannfaouzi/pyts" + pypi = "pyts/pyts-0.12.0.tar.gz" + + version('0.12.0', sha256='af85e09a14334cbe384318de6ca4379e9a30bf5bbd1aaf3a1c4a94872e9765b1') + + depends_on('python@3.7:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-numpy@1.17.5:', type=('build', 'run')) + depends_on('py-scipy@1.3.0:', type=('build', 'run')) + depends_on('py-scikit-learn@0.22.1:', type=('build', 'run')) + depends_on('py-joblib@0.12:', type=('build', 'run')) + depends_on('py-numba@0.48.0:', type=('build', 'run')) -- cgit v1.2.3-70-g09d2