[py-opendatalab] New package (#39302)
This commit is contained in:
parent
cead6ef98d
commit
97892bda18
1 changed files with 26 additions and 0 deletions
26
var/spack/repos/builtin/packages/py-opendatalab/package.py
Normal file
26
var/spack/repos/builtin/packages/py-opendatalab/package.py
Normal file
|
@ -0,0 +1,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 PyOpendatalab(PythonPackage):
|
||||||
|
"""OpenDataLab Python SDK"""
|
||||||
|
|
||||||
|
homepage = "https://github.com/opendatalab/opendatalab-python-sdk"
|
||||||
|
pypi = "opendatalab/opendatalab-0.0.9.tar.gz"
|
||||||
|
|
||||||
|
version("0.0.9", sha256="4648b66d5be096ba38fa087b6c7906c24218d02a49906c8b41c069b9a8747530")
|
||||||
|
|
||||||
|
depends_on("python@3.7:", type=("build", "run"))
|
||||||
|
depends_on("py-setuptools", type="build")
|
||||||
|
depends_on("py-pycryptodome", type=("build", "run"))
|
||||||
|
depends_on("py-click@7:", type=("build", "run"))
|
||||||
|
depends_on("py-requests@2.4.2:", type=("build", "run"))
|
||||||
|
depends_on("py-tqdm", type=("build", "run"))
|
||||||
|
depends_on("py-colorama", type=("build", "run"))
|
||||||
|
depends_on("py-rich", type=("build", "run"))
|
||||||
|
# depends_on("py-pywin32", when="platform=windows", type=("build", "run"))
|
||||||
|
conflicts("platform=windows", msg="Requires py-pywin32 to be packaged")
|
Loading…
Reference in a new issue