spack/var/spack/repos/builtin/packages/py-fn-py/package.py
Harmen Stoppels 092a5a8d75
py-gpy: re-cythonize & drop python upperbound (#40089)
* py-gpy: drop cython induced python upperbound

* py-gpy: bump scipy

* py-fn-py: python bounds for old version, new version w/o

* py-statsmodels: force recythonization

* py-gpy: clarifying comment about cython build type
2023-09-22 04:18:01 -05:00

23 lines
804 B
Python

# 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 PyFnPy(PythonPackage):
"""Functional programming in Python: implementation of missing features
to enjoy FP."""
homepage = "https://github.com/fnpy/fn.py"
url = "https://github.com/fnpy/fn.py/archive/v0.5.2.tar.gz"
version("0.6.0", sha256="85d4d4ae6ce3c13e9dbe45df2895188f742ebddbf100a95d360d73a8965ee0c8")
version("0.5.2", sha256="fda2253d792867a79514496932630622df9340f214a2f4b2d597b60a8cc3d96b")
depends_on("py-setuptools", type="build")
# Uses inspect.getargspec
depends_on("python@:3.10", when="@:0.5", type=("run", "build"))