From 1f59163e8cca886771ddd2457155679d4b3e03c0 Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Wed, 21 Jul 2021 14:33:45 -0500 Subject: [PATCH] py-efficientnet-pytorch: add new package (#25021) --- .../py-efficientnet-pytorch/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-efficientnet-pytorch/package.py diff --git a/var/spack/repos/builtin/packages/py-efficientnet-pytorch/package.py b/var/spack/repos/builtin/packages/py-efficientnet-pytorch/package.py new file mode 100644 index 0000000000..1da4280680 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-efficientnet-pytorch/package.py @@ -0,0 +1,19 @@ +# Copyright 2013-2021 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 import * + + +class PyEfficientnetPytorch(PythonPackage): + """EfficientNet implemented in PyTorch.""" + + homepage = "https://github.com/lukemelas/efficientnet_pytorch" + pypi = "efficientnet_pytorch/efficientnet_pytorch-0.6.3.tar.gz" + + version('0.6.3', sha256='6667459336893e9bf6367de3788ba449fed97f65da3b6782bf2204b6273a319f') + + depends_on('python@3.5.0:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-torch', type=('build', 'run'))