From b39a9925280e5dff661d1db76a7a2c8f1f871d53 Mon Sep 17 00:00:00 2001 From: Andreas Baumbach Date: Sun, 23 Jun 2019 23:33:36 +0200 Subject: add new package py-absl-py (#11812) * add new package py-absl-py Change-Id: I248d30e0a3e5e05d9ea4027d97a85545c63d1125 * Update package.py * Update package.py * Update package.py * Update package.py --- .../repos/builtin/packages/py-absl-py/package.py | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-absl-py/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/py-absl-py/package.py b/var/spack/repos/builtin/packages/py-absl-py/package.py new file mode 100644 index 0000000000..da880f4b0a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-absl-py/package.py @@ -0,0 +1,25 @@ +# Copyright 2013-2019 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 PyAbslPy(PythonPackage): + """ + This repository is a collection of Python library code for building + Python applications. + + The code is collected from Google's own Python code base, and has been + extensively tested and used in production. + """ + + homepage = "https://pypi.org/project/absl-py/" + url = "https://pypi.io/packages/source/a/absl-py/absl-py-0.7.0.tar.gz" + + version('0.7.0', sha256='8718189e4bd6013bf79910b9d1cb0a76aecad8ce664f78e1144980fabdd2cd23') + version('0.1.6', sha256='02c577d618a8bc0a2a5d1a51f160d3649745d7a2516d87025322f46ac1391a22') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-six', type=('build', 'run')) + depends_on('py-enum34', type=('build', 'run'), when='^python@:3.3.99') -- cgit v1.2.3-70-g09d2