summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorLuigi Calori <l.calori@cineca.it>2017-05-08 02:00:25 +0200
committerAdam J. Stewart <ajstewart426@gmail.com>2017-05-07 19:00:25 -0500
commitb65daa93be5d88ac1b2b5d9572f57acf4d9d0f9a (patch)
tree55ccb7e41117b4f1e3a5e7e2ed1f5e7544f25869 /var
parentbb1a8efaca5825e6e4323bb14a40c5e5d9074344 (diff)
downloadspack-b65daa93be5d88ac1b2b5d9572f57acf4d9d0f9a.tar.gz
spack-b65daa93be5d88ac1b2b5d9572f57acf4d9d0f9a.tar.bz2
spack-b65daa93be5d88ac1b2b5d9572f57acf4d9d0f9a.tar.xz
spack-b65daa93be5d88ac1b2b5d9572f57acf4d9d0f9a.zip
Paramiko python extensions + his deps and other related extensions (#4158)
* adding paramiko and missing dependencies, setup to work with #2548 * adding other deps for paramiko * fix flake8 errors * removed spurious add * address suggestion for proper dependencies * fix cryptography deps * remove FIXME comments and commented depends lines
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-asn1crypto/package.py37
-rw-r--r--var/spack/repos/builtin/packages/py-cryptography/package.py46
-rw-r--r--var/spack/repos/builtin/packages/py-idna/package.py38
-rw-r--r--var/spack/repos/builtin/packages/py-ipaddress/package.py37
-rw-r--r--var/spack/repos/builtin/packages/py-paramiko/package.py39
-rw-r--r--var/spack/repos/builtin/packages/py-pyasn1/package.py37
-rw-r--r--var/spack/repos/builtin/packages/py-pycrypto/package.py38
7 files changed, 272 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-asn1crypto/package.py b/var/spack/repos/builtin/packages/py-asn1crypto/package.py
new file mode 100644
index 0000000000..838a8a4182
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-asn1crypto/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2013-2016, 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/llnl/spack
+# Please also see the LICENSE file 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 PyAsn1crypto(PythonPackage):
+ """Python ASN.1 library with a focus on performance and a pythonic API """
+
+ homepage = "https://github.com/wbond/asn1crypto"
+ url = "https://pypi.io/packages/source/a/asn1crypto/asn1crypto-0.22.0.tar.gz"
+
+ version('0.22.0', '74a8b9402625b38ef19cf3fa69ef8470')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-cryptography/package.py b/var/spack/repos/builtin/packages/py-cryptography/package.py
new file mode 100644
index 0000000000..93531acc21
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-cryptography/package.py
@@ -0,0 +1,46 @@
+##############################################################################
+# Copyright (c) 2013-2016, 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/llnl/spack
+# Please also see the LICENSE file 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 PyCryptography(PythonPackage):
+ """cryptography is a package which provides cryptographic recipes
+ and primitives to Python developers"""
+
+ homepage = "https://pypi.python.org/pypi/cryptography"
+ url = "https://pypi.io/packages/source/c/cryptography/cryptography-1.8.1.tar.gz"
+
+ version('1.8.1', '9f28a9c141995cd2300d0976b4fac3fb')
+
+ # dependencies taken from https://github.com/pyca/cryptography/blob/master/setup.py
+ depends_on('py-setuptools@20.5:', type='build')
+ depends_on('py-cffi@1.4.1:', type=('build', 'run'))
+ depends_on('py-asn1crypto@0.21.0:', type=('build', 'run'))
+ depends_on('py-six@1.4.1:', type=('build', 'run'))
+ depends_on('py-idna@2.1:', type=('build', 'run'))
+ depends_on('py-enum34', type=('build', 'run'), when='^python@:3.4')
+ depends_on('py-ipaddress', type=('build', 'run'), when='^python@:3.3')
+ depends_on('openssl')
diff --git a/var/spack/repos/builtin/packages/py-idna/package.py b/var/spack/repos/builtin/packages/py-idna/package.py
new file mode 100644
index 0000000000..5a191430f2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-idna/package.py
@@ -0,0 +1,38 @@
+##############################################################################
+# Copyright (c) 2013-2016, 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/llnl/spack
+# Please also see the LICENSE file 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 PyIdna(PythonPackage):
+ """Internationalized Domain Names for Python (IDNA 2008 and UTS #46) """
+
+ homepage = "https://github.com/kjd/idna"
+ url = "https://pypi.io/packages/source/i/idna/idna-2.5.tar.gz"
+
+ version('2.5', 'fc1d992bef73e8824db411bb5d21f012')
+
+ depends_on('py-setuptools', type=('build', 'link'))
+ depends_on('python@2.6:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-ipaddress/package.py b/var/spack/repos/builtin/packages/py-ipaddress/package.py
new file mode 100644
index 0000000000..5e088ed75e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-ipaddress/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2013-2016, 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/llnl/spack
+# Please also see the LICENSE file 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 PyIpaddress(PythonPackage):
+ """Python 3.3's ipaddress for older Python versions"""
+
+ homepage = "https://github.com/phihag/ipaddress"
+ url = "https://pypi.io/packages/source/i/ipaddress/ipaddress-1.0.18.tar.gz"
+
+ version('1.0.18', '310c2dfd64eb6f0df44aa8c59f2334a7')
+
+ depends_on('py-setuptools', type='build')
diff --git a/var/spack/repos/builtin/packages/py-paramiko/package.py b/var/spack/repos/builtin/packages/py-paramiko/package.py
new file mode 100644
index 0000000000..94ddb85ec2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-paramiko/package.py
@@ -0,0 +1,39 @@
+##############################################################################
+# Copyright (c) 2013-2016, 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/llnl/spack
+# Please also see the LICENSE file 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 PyParamiko(PythonPackage):
+ """SSH2 protocol library"""
+
+ homepage = "http://www.paramiko.org/"
+ url = "https://pypi.io/packages/source/p/paramiko/paramiko-2.1.2.tar.gz"
+
+ version('2.1.2', '41a8ea0e8abb03a6bf59870670d4f46c')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-pyasn1@0.1.7:', type=('build', 'run'))
+ depends_on('py-cryptography@1.1:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pyasn1/package.py b/var/spack/repos/builtin/packages/py-pyasn1/package.py
new file mode 100644
index 0000000000..885ef06389
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pyasn1/package.py
@@ -0,0 +1,37 @@
+##############################################################################
+# Copyright (c) 2013-2016, 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/llnl/spack
+# Please also see the LICENSE file 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 PyPyasn1(PythonPackage):
+ """ Generic ASN.1 library for Python http://pyasn1.sf.net"""
+
+ homepage = "https://github.com/etingof/pyasn1"
+ url = "https://pypi.io/packages/source/p/pyasn1/pyasn1-0.2.3.tar.gz"
+
+ version('0.2.3', '79f98135071c8dd5c37b6c923c51be45')
+ depends_on('py-setuptools', type='build')
+ depends_on('python@2.4:', type=('build', 'run'))
diff --git a/var/spack/repos/builtin/packages/py-pycrypto/package.py b/var/spack/repos/builtin/packages/py-pycrypto/package.py
new file mode 100644
index 0000000000..e791d38cf1
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pycrypto/package.py
@@ -0,0 +1,38 @@
+##############################################################################
+# Copyright (c) 2013-2016, 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/llnl/spack
+# Please also see the LICENSE file 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 PyPycrypto(PythonPackage):
+ """The Python Cryptography Toolkit"""
+
+ homepage = "https://www.dlitz.net/software/pycrypto/"
+ url = "https://pypi.python.org/packages/source/p/pycrypto/pycrypto-2.6.1.tar.gz"
+
+ version('2.6.1', '55a61a054aa66812daf5161a0d5d7eda')
+
+ # depends_on('py-setuptools', type='build')
+ depends_on('gmp')