New package: py-kt-legacy (#34104)

* first build of keras-tuner with dataset kt-legacy

* [py-kt-legacy] fixed homepage

* [py-kt-legacy] depends on setuptools

* [py-kt-legacy] fixed import

* [@spackbot] updating style on behalf of qwertos

Co-authored-by: Sid Pendelberry <sid@rit.edu>
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
This commit is contained in:
Jen Herting 2022-11-23 21:26:21 -05:00 committed by GitHub
parent 46b9a09843
commit f0bc551718
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,19 @@
# Copyright 2013-2022 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 PyKtLegacy(PythonPackage):
"""This repository is to support the deprecated import name of Keras Tuner.
With this repo, you can import Keras Tuner as kerastuner. In the main Keras
Tuner repository the import name has been changed to keras_tuner."""
homepage = "https://github.com/haifeng-jin/kt-legacy"
pypi = "kt-legacy/kt-legacy-1.0.4.tar.gz"
version("1.0.4", sha256="a94112e42a50e7cc3aad31f3287aa384c23555ea1432c55b5823852e09e706cf")
depends_on("py-setuptools", type="build")