summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-pymysql/package.py
blob: 7045c721b00fe4d5ae7997ecfee9888dafbd6332 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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 PyPymysql(PythonPackage):
    """Pure-Python MySQL client library"""

    homepage = "https://github.com/PyMySQL/PyMySQL/"
    pypi = "pymysql/PyMySQL-0.9.2.tar.gz"

    license("MIT")

    version("0.9.2", sha256="9ec760cbb251c158c19d6c88c17ca00a8632bac713890e465b2be01fdc30713f")

    depends_on("py-setuptools", type="build")
    depends_on("py-cryptography", type=("build", "run"))