py-portpicker: add new package (#36638)
This commit is contained in:
parent
a70f307f7e
commit
6922e8f282
1 changed files with 18 additions and 0 deletions
18
var/spack/repos/builtin/packages/py-portpicker/package.py
Normal file
18
var/spack/repos/builtin/packages/py-portpicker/package.py
Normal file
|
@ -0,0 +1,18 @@
|
|||
# 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 PyPortpicker(PythonPackage):
|
||||
"""A library to choose unique available network ports."""
|
||||
|
||||
homepage = "https://github.com/google/python_portpicker"
|
||||
pypi = "portpicker/portpicker-1.5.2.tar.gz"
|
||||
|
||||
version("1.5.2", sha256="c55683ad725f5c00a41bc7db0225223e8be024b1fa564d039ed3390e4fd48fb3")
|
||||
|
||||
depends_on("py-setuptools@40.9:", type="build")
|
||||
depends_on("py-psutil", type=("build", "run"))
|
Loading…
Reference in a new issue