summaryrefslogtreecommitdiff
path: root/var/spack/repos/duplicates.test/packages/py-floating/package.py
blob: 2921b617bd76ada8a6d9087c6f73d40ef9c5afd2 (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
# 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 PyFloating(Package):
    """An extension that depends on:
    - py-setuptools without further constraints
    - py-shapely, which depends on py-setuptools@=60
    - py-numpy, which depends on py-setuptools@=59

    We need to ensure that by default the root node gets the best version
    of setuptools it could.
    """

    homepage = "http://www.example.com"
    url = "http://www.example.com/tdep-1.0.tar.gz"

    version("1.25.0", md5="0123456789abcdef0123456789abcdef")

    extends("python")
    depends_on("py-numpy", type=("build", "run"))
    depends_on("py-shapely", type=("build", "run"))
    depends_on("py-setuptools", type="build")