summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorJen Herting <jen@herting.cc>2022-11-23 21:26:21 -0500
committerGitHub <noreply@github.com>2022-11-23 19:26:21 -0700
commitf0bc55171871838edef02ac836bac12f132b1909 (patch)
tree91760eb364aeae878a9263dbcc7af3ad398013df /var
parent46b9a098439db408ad1ccb2f235f53ce8c2d1b66 (diff)
downloadspack-f0bc55171871838edef02ac836bac12f132b1909.tar.gz
spack-f0bc55171871838edef02ac836bac12f132b1909.tar.bz2
spack-f0bc55171871838edef02ac836bac12f132b1909.tar.xz
spack-f0bc55171871838edef02ac836bac12f132b1909.zip
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>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-kt-legacy/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-kt-legacy/package.py b/var/spack/repos/builtin/packages/py-kt-legacy/package.py
new file mode 100644
index 0000000000..80c7f2fab9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-kt-legacy/package.py
@@ -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")