py-pyppeteer: new package (#47375)

* py-pyppeteer: new package
* py-pyee: new package (v11.1.1, v12.0.0)
This commit is contained in:
Wouter Deconinck 2024-11-11 19:44:28 -06:00 committed by GitHub
parent 09a88ad3bd
commit b98e5886e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 54 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Copyright 2013-2024 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 PyPyee(PythonPackage):
"""A rough port of Node.js's EventEmitter to Python
with a few tricks of its own."""
homepage = "https://github.com/jfhbrook/pyee"
pypi = "pyee/pyee-12.0.0.tar.gz"
license("MIT", checked_by="wdconinc")
version("12.0.0", sha256="c480603f4aa2927d4766eb41fa82793fe60a82cbfdb8d688e0d08c55a534e145")
version("11.1.1", sha256="82e1eb1853f8497c4ff1a0c7fa26b9cd2f1253e2b6ffb93b4700fda907017302")
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-setuptools", type="build")
depends_on("py-setuptools-scm", type="build")
depends_on("py-wheel", type="build")
depends_on("py-typing-extensions", type=("build", "run"))

View File

@ -0,0 +1,29 @@
# Copyright 2013-2024 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 PyPyppeteer(PythonPackage):
"""Headless chrome/chromium automation library
(unofficial port of puppeteer)."""
homepage = "https://github.com/pyppeteer/pyppeteer"
pypi = "pyppeteer/pyppeteer-2.0.0.tar.gz"
license("MIT")
version("2.0.0", sha256="4af63473ff36a746a53347b2336a49efda669bcd781e400bc1799b81838358d9")
depends_on("py-poetry-core", type="build")
depends_on("python@3.8:", type=("build", "run"))
depends_on("py-appdirs@1.4.3:1", type=("build", "run"))
depends_on("py-importlib-metadata@1.4:", type=("build", "run"))
depends_on("py-pyee@11", type=("build", "run"))
depends_on("py-tqdm@4.42.1:4", type=("build", "run"))
depends_on("py-urllib3@1.25.8:1", type=("build", "run"))
depends_on("py-websockets@10", type=("build", "run"))
depends_on("py-certifi@2023:", type=("build", "run"))