new package: py-deap (#18378)

* new package: py-deap

* flake8

* fix sha sum

* add missing dependency

Co-authored-by: sbulut <sbulut@3vgeomatics.com>
Co-authored-by: Sinan81 <Sinan81@earth>
This commit is contained in:
Sinan 2020-08-30 08:44:43 -07:00 committed by GitHub
parent 855e77036e
commit 06b551f98e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# Copyright 2013-2020 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 PyDeap(PythonPackage):
"""Distributed Evolutionary Algorithms in Python."""
homepage = "http://deap.readthedocs.org/"
url = "https://pypi.io/packages/source/d/deap/deap-1.3.1.tar.gz"
version('1.3.1', sha256='11f54493ceb54aae10dde676577ef59fc52d52f82729d5a12c90b0813c857a2f')
depends_on('py-setuptools', type='build')
depends_on('py-numpy', type=('build', 'run'))