spack/var/spack/repos/builtin/packages/py-deap/package.py
Sinan 06b551f98e
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>
2020-08-30 10:44:43 -05:00

19 lines
621 B
Python

# 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'))