diff options
author | Adam J. Stewart <ajstewart426@gmail.com> | 2020-06-25 20:15:21 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 20:15:21 -0500 |
commit | cecd300693e654ee0bbd516a05c430475bbb76e0 (patch) | |
tree | 83b1d5e38755bf9b35faf989a829d3be9a702cc6 | |
parent | e6bf0b01c43ba60a1e61cc77ebc37ccce6d51b05 (diff) | |
download | spack-cecd300693e654ee0bbd516a05c430475bbb76e0.tar.gz spack-cecd300693e654ee0bbd516a05c430475bbb76e0.tar.bz2 spack-cecd300693e654ee0bbd516a05c430475bbb76e0.tar.xz spack-cecd300693e654ee0bbd516a05c430475bbb76e0.zip |
py-azureml-sdk: add new package (and deps) (#17261)
45 files changed, 917 insertions, 9 deletions
diff --git a/var/spack/repos/builtin/packages/py-adal/package.py b/var/spack/repos/builtin/packages/py-adal/package.py new file mode 100644 index 0000000000..b1fac54c0f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-adal/package.py @@ -0,0 +1,23 @@ +# 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) + + +class PyAdal(PythonPackage): + """The ADAL for Python library makes it easy for python application to + authenticate to Azure Active Directory (AAD) in order to access AAD + protected web resources. + + DEPRECATED: replaced by MSAL Python.""" + + homepage = "https://github.com/AzureAD/azure-activedirectory-library-for-python" + url = "https://pypi.io/packages/source/a/adal/adal-1.2.4.tar.gz" + + version('1.2.4', sha256='7a15d22b1ee7ce1be92441199958748982feba6b7dec35fbf60f9b607bad1bc0') + + depends_on('py-setuptools', type='build') + depends_on('py-pyjwt@1.0.0:', type=('build', 'run')) + depends_on('py-requests@2.0.0:', type=('build', 'run')) + depends_on('py-python-dateutil@2.1.0:', type=('build', 'run')) + depends_on('py-cryptography@1.1.0:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-applicationinsights/package.py b/var/spack/repos/builtin/packages/py-applicationinsights/package.py new file mode 100644 index 0000000000..a14808abab --- /dev/null +++ b/var/spack/repos/builtin/packages/py-applicationinsights/package.py @@ -0,0 +1,16 @@ +# 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) + + +class PyApplicationinsights(PythonPackage): + """This project extends the Application Insights API surface to support + Python.""" + + homepage = "https://github.com/Microsoft/ApplicationInsights-Python" + url = "https://pypi.io/packages/source/a/applicationinsights/applicationinsights-0.11.9.tar.gz" + + version('0.11.9', sha256='30a11aafacea34f8b160fbdc35254c9029c7e325267874e3c68f6bdbcd6ed2c3') + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-azure-common/package.py b/var/spack/repos/builtin/packages/py-azure-common/package.py new file mode 100644 index 0000000000..72410b447e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-common/package.py @@ -0,0 +1,16 @@ +# 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) + + +class PyAzureCommon(PythonPackage): + """Microsoft Azure Client Library for Python (Common).""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-common/azure-common-1.1.25.zip" + + version('1.1.25', sha256='ce0f1013e6d0e9faebaf3188cc069f4892fc60a6ec552e3f817c1a2f92835054') + + depends_on('py-setuptools', type='build') + depends_on('py-azure-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-core/package.py b/var/spack/repos/builtin/packages/py-azure-core/package.py new file mode 100644 index 0000000000..cfe14b0dae --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-core/package.py @@ -0,0 +1,20 @@ +# 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) + + +class PyAzureCore(PythonPackage): + """Microsoft Azure Core Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/core/azure-core" + url = "https://pypi.io/packages/source/a/azure-core/azure-core-1.6.0.zip" + + version('1.6.0', sha256='d10b74e783cff90d56360e61162afdd22276d62dc9467e657ae866449eae7648') + + depends_on('py-setuptools', type='build') + depends_on('py-requests@2.18.4:', type=('build', 'run')) + depends_on('py-six@1.6:', type=('build', 'run')) + depends_on('py-azure-nspkg', when='^python@:2', type=('build', 'run')) + depends_on('py-enum34@1.0.4:', when='^python@:3.3', type=('build', 'run')) + depends_on('py-typing', when='^python@:3.4', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-graphrbac/package.py b/var/spack/repos/builtin/packages/py-azure-graphrbac/package.py new file mode 100644 index 0000000000..60a87b0a92 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-graphrbac/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyAzureGraphrbac(PythonPackage): + """Microsoft Azure Graph RBAC Client Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-graphrbac/azure-graphrbac-0.61.1.zip" + + version('0.61.1', sha256='53e98ae2ca7c19b349e9e9bb1b6a824aeae8dcfcbe17190d20fe69c0f185b2e2') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.5.0:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.32:1.999', type=('build', 'run')) + depends_on('py-azure-common@1.1:1.999', type=('build', 'run')) + depends_on('py-azure-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-identity/package.py b/var/spack/repos/builtin/packages/py-azure-identity/package.py new file mode 100644 index 0000000000..e3835d9cef --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-identity/package.py @@ -0,0 +1,24 @@ +# 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) + + +class PyAzureIdentity(PythonPackage): + """Microsoft Azure Identity Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/identity/azure-identity" + url = "https://pypi.io/packages/source/a/azure-identity/azure-identity-1.3.1.zip" + + version('1.3.1', sha256='5a59c36b4b05bdaec455c390feda71b6495fc828246593404351b9a41c2e877a') + version('1.2.0', sha256='b32acd1cdb6202bfe10d9a0858dc463d8960295da70ae18097eb3b85ab12cb91') + + depends_on('py-setuptools', type='build') + depends_on('py-azure-core@1.0.0:1.999', type=('build', 'run')) + depends_on('py-cryptography@2.1.4:', type=('build', 'run')) + depends_on('py-msal@1.0.0:1.999', type=('build', 'run')) + depends_on('py-msal-extensions@0.1.3:0.1.999', type=('build', 'run')) + depends_on('py-six@1.6:', type=('build', 'run')) + depends_on('py-azure-nspkg', when='^python@:2', type=('build', 'run')) + depends_on('py-mock', when='^python@:3.2', type=('build', 'run')) + depends_on('py-typing', when='^python@:3.4', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py new file mode 100644 index 0000000000..acc9d25e66 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-mgmt-authorization/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyAzureMgmtAuthorization(PythonPackage): + """Microsoft Azure Authorization Management Client Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-mgmt-authorization/azure-mgmt-authorization-0.60.0.zip" + + version('0.60.0', sha256='31e875a34ac2c5d6fefe77b4a8079a8b2bdbe9edb957e47e8b44222fb212d6a7') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.5.0:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.32:1.999', type=('build', 'run')) + depends_on('py-azure-common@1.1:1.999', type=('build', 'run')) + depends_on('py-azure-mgmt-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py new file mode 100644 index 0000000000..ac44498035 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-mgmt-containerregistry/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyAzureMgmtContainerregistry(PythonPackage): + """Microsoft Azure Container Registry Client Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-mgmt-containerregistry/azure-mgmt-containerregistry-2.8.0.zip" + + version('2.8.0', sha256='b24be1050d54f3158e8be7f6ad677f0c8888dddefd09fb8391ebfc73d40173a4') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.5.0:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.32:1.999', type=('build', 'run')) + depends_on('py-azure-common@1.1:1.999', type=('build', 'run')) + depends_on('py-azure-mgmt-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py new file mode 100644 index 0000000000..5273aec0ff --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-mgmt-keyvault/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyAzureMgmtKeyvault(PythonPackage): + """Microsoft Azure Key Vault Management Client Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-mgmt-keyvault/azure-mgmt-keyvault-2.2.0.zip" + + version('2.2.0', sha256='1883e12eeb5819064dc52bf3a3ade05c791f4b66e4aeec948bda28df6ce2bce4') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.5.0:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.32:1.999', type=('build', 'run')) + depends_on('py-azure-common@1.1:1.999', type=('build', 'run')) + depends_on('py-azure-mgmt-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py new file mode 100644 index 0000000000..cbc0473e79 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-mgmt-network/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyAzureMgmtNetwork(PythonPackage): + """Microsoft Azure Network Management Client Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-mgmt-network/azure-mgmt-network-10.2.0.zip" + + version('10.2.0', sha256='d50c74cdc1c9be6861ddef9adffd3b05afc5a5092baf0209eea30f4439cba2d9') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.5.0:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.32:1.999', type=('build', 'run')) + depends_on('py-azure-common@1.1:1.999', type=('build', 'run')) + depends_on('py-azure-mgmt-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py new file mode 100644 index 0000000000..4c4dda2d0d --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-mgmt-nspkg/package.py @@ -0,0 +1,16 @@ +# 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) + + +class PyAzureMgmtNspkg(PythonPackage): + """Microsoft Azure Resource Management Namespace Package [Internal].""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-mgmt-nspkg/azure-mgmt-nspkg-3.0.2.zip" + + version('3.0.2', sha256='8b2287f671529505b296005e6de9150b074344c2c7d1c805b3f053d081d58c52') + + depends_on('py-setuptools', type='build') + depends_on('py-azure-nspkg@3.0.0:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py new file mode 100644 index 0000000000..f22f77fd46 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-mgmt-resource/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyAzureMgmtResource(PythonPackage): + """Microsoft Azure Resource Management Client Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-mgmt-resource/azure-mgmt-resource-10.0.0.zip" + + version('10.0.0', sha256='bd9a3938f5423741329436d2da09693845c2fad96c35fadbd7c5ae5213208345') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.5.0:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.32:1.999', type=('build', 'run')) + depends_on('py-azure-common@1.1:1.999', type=('build', 'run')) + depends_on('py-azure-mgmt-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py b/var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py new file mode 100644 index 0000000000..c2dd7d68f5 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-mgmt-storage/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyAzureMgmtStorage(PythonPackage): + """Microsoft Azure Storage Management Client Library for Python.""" + + homepage = "https://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-mgmt-storage/azure-mgmt-storage-11.0.0.zip" + + version('11.0.0', sha256='f9791c2a84eee0a55bbf757632a2a4d1e102db958e75422d5e0e7306041129b8') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.5.0:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.32:1.999', type=('build', 'run')) + depends_on('py-azure-common@1.1:1.999', type=('build', 'run')) + depends_on('py-azure-mgmt-nspkg', when='^python@:2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-azure-nspkg/package.py b/var/spack/repos/builtin/packages/py-azure-nspkg/package.py new file mode 100644 index 0000000000..8e1b468565 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azure-nspkg/package.py @@ -0,0 +1,15 @@ +# 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) + + +class PyAzureNspkg(PythonPackage): + """Microsoft Azure Namespace Package [Internal].""" + + homepage = "hhttps://github.com/Azure/azure-sdk-for-python" + url = "https://pypi.io/packages/source/a/azure-nspkg/azure-nspkg-3.0.2.zip" + + version('3.0.2', sha256='e7d3cea6af63e667d87ba1ca4f8cd7cb4dfca678e4c55fc1cedb320760e39dd0') + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-azureml-automl-core/package.py b/var/spack/repos/builtin/packages/py-azureml-automl-core/package.py new file mode 100644 index 0000000000..59fa585cae --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-automl-core/package.py @@ -0,0 +1,24 @@ +# 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) + + +class PyAzuremlAutomlCore(Package): + """The azureml-automl-core package is a package containing functionality + used by the azureml-train-automl package.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_automl_core/azureml_automl_core-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='58ce54b01570996cda860c0c80693b8db19324785a356573f105afeaa31cae6c', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-azureml-dataprep@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-telemetry@1.8.0:1.8.999', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-core/package.py b/var/spack/repos/builtin/packages/py-azureml-core/package.py new file mode 100644 index 0000000000..3c1a74fcf9 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-core/package.py @@ -0,0 +1,52 @@ +# 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) + + +class PyAzuremlCore(Package): + """The azureml-core contains functionality for creating and managing: + * Azure Machine Learning workspaces, experiments and runs; + * Machine learning compute respources; + * Models, images and web services. + """ + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_core/azureml_core-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='a0f2b0977f18fb7dcb88c314594a4a85c636a36be3d582be1cae25655fea6105', expand=False) + + extends('python') + depends_on('python@3.5:3.8', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-pytz', type=('build', 'run')) + depends_on('py-backports-tempfile', type=('build', 'run')) + depends_on('py-pathspec', type=('build', 'run')) + depends_on('py-requests@2.19.1:', type=('build', 'run')) + depends_on('py-azure-mgmt-resource@1.2.1:', type=('build', 'run')) + depends_on('py-azure-mgmt-containerregistry@2.0.0:', type=('build', 'run')) + depends_on('py-azure-mgmt-storage@1.5.0:', type=('build', 'run')) + depends_on('py-azure-mgmt-keyvault@0.40.0:', type=('build', 'run')) + depends_on('py-azure-mgmt-authorization@0.40.0:', type=('build', 'run')) + depends_on('py-azure-mgmt-network@10.0:10.999', type=('build', 'run')) + depends_on('py-azure-graphrbac@0.40.0:', type=('build', 'run')) + depends_on('py-azure-common@1.1.12:', type=('build', 'run')) + depends_on('py-msrest@0.5.1:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.33:', type=('build', 'run')) + depends_on('py-urllib3@1.23:', type=('build', 'run')) + depends_on('py-cryptography@:1.8,2.3:', type=('build', 'run')) + depends_on('py-python-dateutil@2.7.3:', type=('build', 'run')) + depends_on('py-ndg-httpsclient', type=('build', 'run')) + depends_on('py-secretstorage', type=('build', 'run')) + depends_on('py-ruamel-yaml@0.16.8:', type=('build', 'run')) + depends_on('py-jsonpickle', type=('build', 'run')) + depends_on('py-contextlib2', type=('build', 'run')) + depends_on('py-docker', type=('build', 'run')) + depends_on('py-pyjwt', type=('build', 'run')) + depends_on('py-adal@1.2.0:', type=('build', 'run')) + depends_on('py-pyopenssl', type=('build', 'run')) + depends_on('py-jmespath', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py b/var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py new file mode 100644 index 0000000000..afd1a43272 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-dataprep-native/package.py @@ -0,0 +1,27 @@ +# 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) + +import sys + + +class PyAzuremlDataprepNative(Package): + """Python Package for AzureML DataPrep specific native extensions.""" + + homepage = "http://aka.ms/data-prep-sdk" + + if sys.platform == 'darwin': + version('14.2.1', sha256='0711ea6465a555d4ed052b7ecf3ed580d711ca7499a12be4c9736d5555ab2786', expand=False, + url='https://pypi.io/packages/cp37/a/azureml_dataprep_native/azureml_dataprep_native-14.2.1-cp37-cp37m-macosx_10_9_x86_64.whl') + elif sys.platform.startswith('linux'): + version('14.2.1', sha256='0817ec5c378a9bcd1af8edda511ca9d02bdc7087e6f8802c459c9b8f3fde4ade', expand=False, + url='https://pypi.io/packages/cp37/a/azureml_dataprep_native/azureml_dataprep_native-14.2.1-cp37-cp37m-manylinux1_x86_64.whl') + + extends('python') + depends_on('python@3.7.0:3.7.999', type=('build', 'run')) + depends_on('py-pip', type='build') + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-dataprep/package.py b/var/spack/repos/builtin/packages/py-azureml-dataprep/package.py new file mode 100644 index 0000000000..064ce4e0e6 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-dataprep/package.py @@ -0,0 +1,28 @@ +# 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) + + +class PyAzuremlDataprep(Package): + """Azure ML Data Preparation SDK.""" + + homepage = "http://aka.ms/data-prep-sdk" + url = "https://pypi.io/packages/py3/a/azureml_dataprep/azureml_dataprep-1.8.2-py3-none-any.whl" + + version('1.8.2', sha256='e53f3206f0bd4af8d5e7de3a94c2c6e662902b86e94a7b9d930e36329fe5820f', expand=False) + + variant('fuse', default=False, description='Build with FUSE support') + + extends('python') + depends_on('python@3:', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-dotnetcore2@2.1.14:', type=('build', 'run')) + depends_on('py-azureml-dataprep-native@14.2.1:14.999', type=('build', 'run')) + depends_on('py-cloudpickle@1.1.0:', type=('build', 'run')) + depends_on('py-azure-identity@1.2.0:1.2.999', type=('build', 'run')) + depends_on('py-fusepy@3.0.1:', when='+fuse', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py b/var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py new file mode 100644 index 0000000000..ba7128b03e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-pipeline-core/package.py @@ -0,0 +1,22 @@ +# 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) + + +class PyAzuremlPipelineCore(Package): + """Core functionality to enable azureml-pipeline feature.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_pipeline_core/azureml_pipeline_core-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='24e1c57a57e75f9d74ea6f45fa4e93c1ee3114c8ed9029d538f9cc8e4f8945b2', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-azureml-core@1.8.0:1.8.999', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py b/var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py new file mode 100644 index 0000000000..c461e8c8e6 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-pipeline-steps/package.py @@ -0,0 +1,24 @@ +# 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) + + +class PyAzuremlPipelineSteps(Package): + """Represents a unit of computation in azureml-pipeline.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_pipeline_steps/azureml_pipeline_steps-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='3310674207ed457a26fb978e7168e400306c695f7f854f354dee9d5c7c81304c', expand=False) + + extends('python') + depends_on('python@3:', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-azureml-train-core@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-train-automl-client@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-pipeline-core@1.8.0:1.8.999', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-pipeline/package.py b/var/spack/repos/builtin/packages/py-azureml-pipeline/package.py new file mode 100644 index 0000000000..8d359f92aa --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-pipeline/package.py @@ -0,0 +1,24 @@ +# 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) + + +class PyAzuremlPipeline(Package): + """The Azure Machine Learning SDK for Python can be used to create ML + pipelines as well as to submit and track individual pipeline runs.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_pipeline/azureml_pipeline-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='43ce39789d9a255f147311e40274b5f2571c7ef3b52e218f248724ccb377a02c', expand=False) + + extends('python') + depends_on('python@3:', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-azureml-pipeline-core@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-pipeline-steps@1.8.0:1.8.999', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-sdk/package.py b/var/spack/repos/builtin/packages/py-azureml-sdk/package.py new file mode 100644 index 0000000000..fd14b0ed7b --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-sdk/package.py @@ -0,0 +1,34 @@ +# 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) + + +class PyAzuremlSdk(Package): + """Microsoft Azure Machine Learning Python SDK.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_sdk/azureml_sdk-1.8.0-py3-none-any.whl" + + maintainers = ['adamjstewart'] + + version('1.8.0', sha256='61107db1403ce2c1a12064eb0fa31a1d075debbf32dd17cb93b7639b615b7839', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + + # For version 1.8.0, dependencies are locked to ~= 1.8.0 + for ver in ['1.8.0']: + ver = Version(ver) + for dep in [ + 'core', 'train', 'train-automl-client', 'pipeline', + 'dataprep+fuse' + ]: + depends_on('py-azureml-{0}@{1}:{2}.999'.format( + dep, ver, ver.up_to(2) + ), when='@{0}'.format(ver), type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-telemetry/package.py b/var/spack/repos/builtin/packages/py-azureml-telemetry/package.py new file mode 100644 index 0000000000..4ceaf33399 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-telemetry/package.py @@ -0,0 +1,24 @@ +# 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) + + +class PyAzuremlTelemetry(Package): + """Machine learning (ML) telemetry package is used to collect telemetry + data.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_telemetry/azureml_telemetry-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='de657efe9773bea0de76c432cbab34501ac28606fe1b380d6883562ebda3d804', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-applicationinsights', type=('build', 'run')) + depends_on('py-azureml-core@1.8.0:1.8.999', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py b/var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py new file mode 100644 index 0000000000..739af7a07f --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-train-automl-client/package.py @@ -0,0 +1,27 @@ +# 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) + + +class PyAzuremlTrainAutomlClient(Package): + """The azureml-train-automl-client package contains functionality for + automatically finding the best machine learning model and its parameters, + given training and test data.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_train_automl_client/azureml_train_automl_client-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='562300095db6c4dea7b052e255c53dd95c4c3d0589a828b545497fe1ca7e9677', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-azureml-dataprep@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-automl-core@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-core@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-telemetry@1.8.0:1.8.999', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-train-core/package.py b/var/spack/repos/builtin/packages/py-azureml-train-core/package.py new file mode 100644 index 0000000000..55e706762a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-train-core/package.py @@ -0,0 +1,26 @@ +# 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) + + +class PyAzuremlTrainCore(Package): + """The azureml-train-core contains functionality used by azureml-train + metapackage.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_train_core/azureml_train_core-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='5a8d90a08d4477527049d793feb40d07dc32fafc0e4e57b4f0729d3c50b408a2', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-azureml-train-restclients-hyperdrive@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-core@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-azureml-telemetry@1.8.0:1.8.999', type=('build', 'run')) + depends_on('py-flake8@3.1.0:3.7.9', when='^python@3.6:', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py b/var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py new file mode 100644 index 0000000000..4bcf121cc8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-train-restclients-hyperdrive/package.py @@ -0,0 +1,25 @@ +# 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) + + +class PyAzuremlTrainRestclientsHyperdrive(Package): + """The azureml-train-restclients-hyperdrive contains functionality for + azureml-train metapackage.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_train_restclients_hyperdrive/azureml_train_restclients_hyperdrive-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='1633c7eb0fd96714f54f72072ccf1c5ee1ef0a8ba52680793f20d27e0fd43c87', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-requests@2.19.1:', type=('build', 'run')) + depends_on('py-msrest@0.5.1:', type=('build', 'run')) + depends_on('py-msrestazure@0.4.33:', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-azureml-train/package.py b/var/spack/repos/builtin/packages/py-azureml-train/package.py new file mode 100644 index 0000000000..c285968349 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-azureml-train/package.py @@ -0,0 +1,24 @@ +# 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) + + +class PyAzuremlTrain(Package): + """The azureml-train package provides estimators for training models using + different deep learning frameworks and functionality for hyperparameter + tuning using Azure cloud.""" + + homepage = "https://docs.microsoft.com/en-us/azure/machine-learning/service/" + url = "https://pypi.io/packages/py3/a/azureml_train/azureml_train-1.8.0-py3-none-any.whl" + + version('1.8.0', sha256='124e5b7d8d64bac61db022f305bd31c25e57fdcb4be93eefd4244a04a13deab3', expand=False) + + extends('python') + depends_on('python@3.5:3.999', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-azureml-train-core@1.8.0:1.8.999', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-distro/package.py b/var/spack/repos/builtin/packages/py-distro/package.py new file mode 100644 index 0000000000..4bda8e4085 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-distro/package.py @@ -0,0 +1,15 @@ +# 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) + + +class PyDistro(PythonPackage): + """Distro - an OS platform information API.""" + + homepage = "https://github.com/nir0s/distro" + url = "https://pypi.io/packages/source/d/distro/distro-1.5.0.tar.gz" + + version('1.5.0', sha256='0e58756ae38fbd8fc3020d54badb8eae17c5b9dcbed388b17bb55b8a5928df92') + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-docker/package.py b/var/spack/repos/builtin/packages/py-docker/package.py new file mode 100644 index 0000000000..148da74a95 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-docker/package.py @@ -0,0 +1,21 @@ +# 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) + + +class PyDocker(PythonPackage): + """A Python library for the Docker Engine API.""" + + homepage = "https://github.com/docker/docker-py" + url = "https://pypi.io/packages/source/d/docker/docker-4.2.1.tar.gz" + + version('4.2.1', sha256='380a20d38fbfaa872e96ee4d0d23ad9beb0f9ed57ff1c30653cbeb0c9c0964f2') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-six@1.4.0:', type=('build', 'run')) + depends_on('py-websocket-client@0.32.0:', type=('build', 'run')) + depends_on('py-requests@2.14.2:2.17.999,2.18.1:', type=('build', 'run')) + depends_on('py-backports-ssl-match-hostname@3.5:', when='^python@:3.4', type=('build', 'run')) + depends_on('py-ipaddress@1.0.16:', when='^python@:3.2', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-dotnetcore2/package.py b/var/spack/repos/builtin/packages/py-dotnetcore2/package.py new file mode 100644 index 0000000000..2a33149ccc --- /dev/null +++ b/var/spack/repos/builtin/packages/py-dotnetcore2/package.py @@ -0,0 +1,28 @@ +# 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) + +import sys + + +class PyDotnetcore2(Package): + """.Net Core 2.1 runtime.""" + + homepage = "https://github.com/dotnet/core" + + if sys.platform == 'darwin': + version('2.1.14', sha256='68182f4b704db401b2012c10ed8a19561f8d487063632f8731c2e58960ca9242', expand=False, + url='https://pypi.io/packages/py3/d/dotnetcore2/dotnetcore2-2.1.14-py3-none-macosx_10_9_x86_64.whl') + elif sys.platform.startswith('linux'): + version('2.1.14', sha256='d8d83ac30c22a0e48a9a881e117d98da17f95c4098cb9500a35e323b8e4ab737', expand=False, + url='https://pypi.io/packages/py3/d/dotnetcore2/dotnetcore2-2.1.14-py3-none-manylinux1_x86_64.whl') + + extends('python') + depends_on('python@3:', type=('build', 'run')) + depends_on('py-pip', type='build') + depends_on('py-distro@1.2.0:', type=('build', 'run')) + + def install(self, spec, prefix): + pip = which('pip') + pip('install', self.stage.archive_file, '--prefix={0}'.format(prefix)) diff --git a/var/spack/repos/builtin/packages/py-fusepy/package.py b/var/spack/repos/builtin/packages/py-fusepy/package.py index 7ca452b538..c9df4ba5ba 100644 --- a/var/spack/repos/builtin/packages/py-fusepy/package.py +++ b/var/spack/repos/builtin/packages/py-fusepy/package.py @@ -11,8 +11,9 @@ class PyFusepy(PythonPackage): MacFUSE. It's just one file and is implemented using ctypes.""" homepage = "https://github.com/fusepy/fusepy" - url = "https://github.com/fusepy/fusepy/archive/v2.0.4.tar.gz" + url = "https://pypi.io/packages/source/f/fusepy/fusepy-3.0.1.tar.gz" - version('2.0.4', sha256='802610ab25ad04fc9ef34d024a0abe41cdcaff6a2cb8b2fb92cdda0057c09d1f') + version('3.0.1', sha256='72ff783ec2f43de3ab394e3f7457605bf04c8cf288a2f4068b4cde141d4ee6bd') + version('2.0.4', sha256='10f5c7f5414241bffecdc333c4d3a725f1d6605cae6b4eaf86a838ff49cdaf6c') depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-jeepney/package.py b/var/spack/repos/builtin/packages/py-jeepney/package.py new file mode 100644 index 0000000000..c44cc4c3d5 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jeepney/package.py @@ -0,0 +1,15 @@ +# 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) + + +class PyJeepney(PythonPackage): + """Low-level, pure Python DBus protocol wrapper.""" + + homepage = "https://gitlab.com/takluyver/jeepney" + url = "https://pypi.io/packages/source/j/jeepney/jeepney-0.4.3.tar.gz" + + version('0.4.3', sha256='3479b861cc2b6407de5188695fa1a8d57e5072d7059322469b62628869b8e36e') + + depends_on('python@3.5:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-jsonpickle/package.py b/var/spack/repos/builtin/packages/py-jsonpickle/package.py new file mode 100644 index 0000000000..7bc9aeda58 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jsonpickle/package.py @@ -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) + + +class PyJsonpickle(PythonPackage): + """Python library for serializing any arbitrary object graph into JSON.""" + + homepage = "https://github.com/jsonpickle/jsonpickle" + url = "https://pypi.io/packages/source/j/jsonpickle/jsonpickle-1.4.1.tar.gz" + + version('1.4.1', sha256='e8d4b7cd0bd6826001a74377df1079a76ad8bae0f909282de2554164c837c8ba') + + depends_on('python@2.7:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-setuptools-scm@3.4.1:+toml', type='build') + depends_on('py-importlib-metadata', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-msal-extensions/package.py b/var/spack/repos/builtin/packages/py-msal-extensions/package.py new file mode 100644 index 0000000000..75e6740f35 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-msal-extensions/package.py @@ -0,0 +1,23 @@ +# 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) + + +class PyMsalExtensions(PythonPackage): + """The Microsoft Authentication Extensions for Python offers secure + mechanisms for client applications to perform cross-platform token cache + serialization and persistence. It gives additional support to the + Microsoft Authentication Library for Python (MSAL).""" + + homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python" + url = "https://pypi.io/packages/source/m/msal-extensions/msal-extensions-0.2.2.tar.gz" + + version('0.2.2', sha256='31414753c484679bb3b6c6401623eb4c3ccab630af215f2f78c1d5c4f8e1d1a9') + version('0.1.3', sha256='59e171a9a4baacdbf001c66915efeaef372fb424421f1a4397115a3ddd6205dc') + + depends_on('py-setuptools', type='build') + depends_on('py-msal@0.4.1:1.999', type=('build', 'run')) + depends_on('py-portalocker@1.0:1.999', type=('build', 'run')) + depends_on('py-pathlib2', when='@0.2:^python@:2', type=('build', 'run')) + depends_on('py-pytest', type='test') diff --git a/var/spack/repos/builtin/packages/py-msal/package.py b/var/spack/repos/builtin/packages/py-msal/package.py new file mode 100644 index 0000000000..ade131afc8 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-msal/package.py @@ -0,0 +1,20 @@ +# 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) + + +class PyMsal(PythonPackage): + """The Microsoft Authentication Library (MSAL) for Python library enables + your app to access the Microsoft Cloud by supporting authentication of + users with Microsoft Azure Active Directory accounts (AAD) and Microsoft + Accounts (MSA) using industry standard OAuth2 and OpenID Connect.""" + + homepage = "https://github.com/AzureAD/microsoft-authentication-library-for-python" + url = "https://pypi.io/packages/source/m/msal/msal-1.3.0.tar.gz" + + version('1.3.0', sha256='5442a3a9d006506e653d3c4daff40538bdf067bf07b6b73b32d1b231d5e77a92') + + depends_on('py-setuptools', type='build') + depends_on('py-requests@2.0.0:2.999', type=('build', 'run')) + depends_on('py-pyjwt@1.0.0:1.999+crypto', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-msrest/package.py b/var/spack/repos/builtin/packages/py-msrest/package.py new file mode 100644 index 0000000000..f589d152e7 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-msrest/package.py @@ -0,0 +1,21 @@ +# 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) + + +class PyMsrest(PythonPackage): + """AutoRest swagger generator Python client runtime.""" + + homepage = "https://github.com/Azure/msrest-for-python" + url = "https://pypi.io/packages/source/m/msrest/msrest-0.6.16.tar.gz" + + version('0.6.16', sha256='214c5be98954cb45feb6a6a858a7ae6d41a664e80294b65db225bbaa33d9ca3c') + + depends_on('py-setuptools', type='build') + depends_on('py-requests@2.16:2.999', type=('build', 'run')) + depends_on('py-requests-oauthlib@0.5.0:', type=('build', 'run')) + depends_on('py-isodate@0.6.0:', type=('build', 'run')) + depends_on('py-certifi@2017.4.17:', type=('build', 'run')) + depends_on('py-enum34@1.0.4:', when='^python@:3.3', type=('build', 'run')) + depends_on('py-typing', when='^python@:3.4', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-msrestazure/package.py b/var/spack/repos/builtin/packages/py-msrestazure/package.py new file mode 100644 index 0000000000..40208cfa67 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-msrestazure/package.py @@ -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) + + +class PyMsrestazure(PythonPackage): + """AutoRest swagger generator Python client runtime. + Azure-specific module.""" + + homepage = "https://github.com/Azure/msrestazure-for-python" + url = "https://pypi.io/packages/source/m/msrestazure/msrestazure-0.6.3.tar.gz" + + version('0.6.3', sha256='0ec9db93eeea6a6cf1240624a04f49cd8bbb26b98d84a63a8220cfda858c2a96') + + depends_on('py-setuptools', type='build') + depends_on('py-msrest@0.6.0:1.999', type=('build', 'run')) + depends_on('py-adal@0.6.0:1.999', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py b/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py new file mode 100644 index 0000000000..91a815ce99 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ndg-httpsclient/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyNdgHttpsclient(PythonPackage): + """Provides enhanced HTTPS support for httplib and urllib2 using + PyOpenSSL.""" + + homepage = "https://github.com/cedadev/ndg_httpsclient/" + url = "https://pypi.io/packages/source/n/ndg_httpsclient/ndg_httpsclient-0.5.1.tar.gz" + + version('0.5.1', sha256='d72faed0376ab039736c2ba12e30695e2788c4aa569c9c3e3d72131de2592210') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-pyopenssl', type=('build', 'run')) + depends_on('py-pyasn1@0.1.1:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-pyjwt/package.py b/var/spack/repos/builtin/packages/py-pyjwt/package.py index 70ee8da737..a8006ef623 100644 --- a/var/spack/repos/builtin/packages/py-pyjwt/package.py +++ b/var/spack/repos/builtin/packages/py-pyjwt/package.py @@ -14,8 +14,11 @@ class PyPyjwt(PythonPackage): version('1.7.1', sha256='8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96') + variant('crypto', default=False, description='Build with cryptography support') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) depends_on('py-setuptools', type='build') + depends_on('py-cryptography@1.4:', when='+crypto', type=('build', 'run')) depends_on('py-pytest@4.0.1:4.99.99', type='test') depends_on('py-pytest-cov@2.6.0:2.99.99', type='test') depends_on('py-pytest-runner@4.2:4.99', type='test') - depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py b/var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py new file mode 100644 index 0000000000..88cdd59914 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ruamel-ordereddict/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyRuamelOrdereddict(PythonPackage): + """This is an implementation of an ordered dictionary with Key Insertion + Order (KIO: updates of values do not affect the position of the key), Key + Value Insertion Order (KVIO, an existing key's position is removed and put + at the back). The standard library module OrderedDict, implemented later, + implements a subset of ordereddict functionality.""" + + homepage = "https://bitbucket.org/ruamel/ordereddict" + url = "https://pypi.io/packages/source/r/ruamel.ordereddict/ruamel.ordereddict-0.4.14.tar.gz" + + version('0.4.14', sha256='281051d26eb2b18ef3d920e1e260716a52bd058a6b1a2f324102fc6a15cb8d4a') + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py b/var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py new file mode 100644 index 0000000000..9724bff0af --- /dev/null +++ b/var/spack/repos/builtin/packages/py-ruamel-yaml-clib/package.py @@ -0,0 +1,17 @@ +# 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) + + +class PyRuamelYamlClib(PythonPackage): + """C version of reader, parser and emitter for ruamel.yaml derived from + libyaml.""" + + homepage = "https://bitbucket.org/ruamel/yaml.clib" + url = "https://pypi.io/packages/source/r/ruamel.yaml.clib/ruamel.yaml.clib-0.2.0.tar.gz" + + version('0.2.0', sha256='b66832ea8077d9b3f6e311c4a53d06273db5dc2db6e8a908550f3c14d67e718c') + + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) + depends_on('py-setuptools@28.7.0:', type='build') diff --git a/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py b/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py index 9c3ba76038..68e9348936 100644 --- a/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py +++ b/var/spack/repos/builtin/packages/py-ruamel-yaml/package.py @@ -12,13 +12,17 @@ class PyRuamelYaml(PythonPackage): seq/map flow style, and map key order """ - homepage = "https://bitbucket.org/ruamel/yaml/src/default/" - url = "https://pypi.io/packages/source/r/ruamel.yaml/ruamel.yaml-0.16.5.tar.gz" + homepage = "https://sourceforge.net/p/ruamel-yaml/code/ci/default/tree" + url = "https://pypi.io/packages/source/r/ruamel.yaml/ruamel.yaml-0.16.10.tar.gz" - version('0.16.5', sha256='412a6f5cfdc0525dee6a27c08f5415c7fd832a7afcb7a0ed7319628aed23d408') - version('0.11.7', sha256='c89363e16c9eafb9354e55d757723efeff8682d05e56b0881450002ffb00a344') + version('0.16.10', sha256='099c644a778bf72ffa00524f78dd0b6476bca94a1da344130f4bf3381ce5b954') + version('0.16.5', sha256='412a6f5cfdc0525dee6a27c08f5415c7fd832a7afcb7a0ed7319628aed23d408') + version('0.11.7', sha256='c89363e16c9eafb9354e55d757723efeff8682d05e56b0881450002ffb00a344') + depends_on('python@2.7:2.8,3.5:', type=('build', 'run')) depends_on('py-setuptools', type='build') + depends_on('py-ruamel-ordereddict', when='@0.15:^python@:2', type=('build', 'run')) + depends_on('py-ruamel-yaml-clib@0.1.2:', when='@0.16:^python@:3.8', type=('build', 'run')) @run_after('install') def fix_import_error(self): diff --git a/var/spack/repos/builtin/packages/py-secretstorage/package.py b/var/spack/repos/builtin/packages/py-secretstorage/package.py new file mode 100644 index 0000000000..36be45cd0e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-secretstorage/package.py @@ -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) + + +class PySecretstorage(PythonPackage): + """Python bindings to FreeDesktop.org Secret Service API.""" + + homepage = "https://github.com/mitya57/secretstorage" + url = "https://pypi.io/packages/source/S/SecretStorage/SecretStorage-3.1.2.tar.gz" + + version('3.1.2', sha256='15da8a989b65498e29be338b3b279965f1b8f09b9668bd8010da183024c8bff6') + + depends_on('python@3.5:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-cryptography', type=('build', 'run')) + depends_on('py-jeepney@0.4.2:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py index b91bc3e324..eb157f8ef5 100644 --- a/var/spack/repos/builtin/packages/py-setuptools-scm/package.py +++ b/var/spack/repos/builtin/packages/py-setuptools-scm/package.py @@ -10,13 +10,18 @@ class PySetuptoolsScm(PythonPackage): """The blessed package to manage your versions by scm tags.""" homepage = "https://github.com/pypa/setuptools_scm" - url = "https://pypi.io/packages/source/s/setuptools_scm/setuptools_scm-3.3.3.tar.gz" + url = "https://pypi.io/packages/source/s/setuptools_scm/setuptools_scm-4.1.2.tar.gz" import_modules = ['setuptools_scm'] + version('4.1.2', sha256='a8994582e716ec690f33fec70cca0f85bd23ec974e3f783233e4879090a7faa8') version('3.3.3', sha256='bd25e1fb5e4d603dcf490f1fde40fb4c595b357795674c3e5cb7f6217ab39ea5') version('3.1.0', sha256='1191f2a136b5e86f7ca8ab00a97ef7aef997131f1f6d4971be69a1ef387d8b40') version('1.15.6', sha256='49ab4685589986a42da85706b3311a2f74f1af567d39fee6cb1e088d7a75fb5f') - depends_on('py-setuptools', type='build') + variant('toml', default=False, description='Build with TOML support') + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('python@2.7:2.8,3.5:', when='@4:', type=('build', 'run')) + depends_on('py-setuptools@34.4:', type=('build', 'run')) + depends_on('py-toml', when='+toml', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-websocket-client/package.py b/var/spack/repos/builtin/packages/py-websocket-client/package.py new file mode 100644 index 0000000000..75ce5e69cc --- /dev/null +++ b/var/spack/repos/builtin/packages/py-websocket-client/package.py @@ -0,0 +1,19 @@ +# 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) + + +class PyWebsocketClient(PythonPackage): + """WebSocket client for Python. hybi13 is supported.""" + + homepage = "https://github.com/websocket-client/websocket-client.git" + url = "https://pypi.io/packages/source/w/websocket_client/websocket_client-0.57.0.tar.gz" + + version('0.57.0', sha256='d735b91d6d1692a6a181f2a8c9e0238e5f6373356f561bb9dc4c7af36f452010') + + depends_on('python@2.6:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build') + depends_on('py-six', type=('build', 'run')) + depends_on('py-backports-ssl-match-hostname', when='^python@2.6:2.7.9', type=('build', 'run')) + depends_on('py-argparse', when='^python@:2.6', type=('build', 'run')) |