new package: py-lcls-krtc (#37263)

* new package: py-lcls-krtc

* new package: py-pykerberos

* py-lcls-krtc: ^py-pykerberos for link
This commit is contained in:
eugeneswalker 2023-05-01 22:21:54 -05:00 committed by GitHub
parent 1d2e30b8b2
commit bfe0bc1c6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# 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 PyLclsKrtc(PythonPackage):
"""Very small utility class for using Kerberos authentication with Python requests."""
pypi = "lcls-krtc/lcls-krtc-0.2.0.tar.gz"
maintainers = ["valmar"]
version("0.2.0", sha256="20e6327d488d23e29135be44504bf7df72e4425a518f4222841efcd2cd2985f9")
depends_on("py-setuptools", type="build")
depends_on("py-pykerberos", type=("build", "run"))

View file

@ -0,0 +1,19 @@
# 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 PyPykerberos(PythonPackage):
"""This Python package is a high-level wrapper for Kerberos (GSSAPI) operations."""
homepage = "https://github.com/02strich/pykerberos"
pypi = "pykerberos/pykerberos-1.2.4.tar.gz"
version("1.2.4", sha256="9d701ebd8fc596c99d3155d5ba45813bd5908d26ef83ba0add250edb622abed4")
depends_on("py-setuptools", type="build")
depends_on("krb5", type="link")