From 4eeec729ea6d36b0eb26700e3ce4bfade65ad045 Mon Sep 17 00:00:00 2001 From: healther Date: Wed, 11 Apr 2018 03:22:45 +0200 Subject: [PATCH] add package py-eventlet (#7722) --- .../builtin/packages/py-eventlet/package.py | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-eventlet/package.py diff --git a/var/spack/repos/builtin/packages/py-eventlet/package.py b/var/spack/repos/builtin/packages/py-eventlet/package.py new file mode 100644 index 0000000000..2617891b87 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-eventlet/package.py @@ -0,0 +1,37 @@ +############################################################################## +# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC. +# Produced at the Lawrence Livermore National Laboratory. +# +# This file is part of Spack. +# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved. +# LLNL-CODE-647188 +# +# For details, see https://github.com/spack/spack +# Please also see the NOTICE and LICENSE files for our notice and the LGPL. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License (as +# published by the Free Software Foundation) version 2.1, February 1999. +# +# This program is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and +# conditions of the GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +from spack import * + + +class PyEventlet(PythonPackage): + """Concurrent networking library for Python""" + + homepage = "https://github.com/eventlet/eventlet" + url = "https://github.com/eventlet/eventlet/releases/download/v0.22.0/eventlet-0.22.0.tar.gz" + + version('0.22.0', 'a1199cecd44d7ce2ea624ac6c21db877') + + depends_on('py-setuptools', type='build') + depends_on('py-greenlet@0.3:') + depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3.99')