summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-cykhash/package.py
blob: bd27b5eba0fc2545e1456785cdaf0dd1fc365906 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 PyCykhash(PythonPackage):
    """Cython wrapper for khash-sets/maps, efficient implementation of isin and unique."""

    homepage = "https://github.com/realead/cykhash"
    pypi = "cykhash/cykhash-2.0.1.tar.gz"

    maintainers("snehring")

    license("MIT")

    version("2.0.1", sha256="b4794bc9f549114d8cf1d856d9f64e08ff5f246bf043cf369fdb414e9ceb97f7")

    depends_on("py-setuptools", type="build")
    depends_on("py-cython@0.28:", type="build")