diff options
author | Justin S <3630356+codeandkey@users.noreply.github.com> | 2020-04-07 20:39:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-07 20:39:39 -0500 |
commit | 9b33788573c51965598137b3bdcbd908c0c01638 (patch) | |
tree | 82b8c8eae375e84d448362797a182908411b6e52 | |
parent | cc4bf086b9af6ae51a7d5ea1befa5911fbf3f4bb (diff) | |
download | spack-9b33788573c51965598137b3bdcbd908c0c01638.tar.gz spack-9b33788573c51965598137b3bdcbd908c0c01638.tar.bz2 spack-9b33788573c51965598137b3bdcbd908c0c01638.tar.xz spack-9b33788573c51965598137b3bdcbd908c0c01638.zip |
py-utils: new package at 1.0.1 (#15904)
* py-utils: new package at 1.0.1
* py-utils: update py-setuptools dep type
* py-utils: fix dependency condition
-rw-r--r-- | var/spack/repos/builtin/packages/py-utils/package.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-utils/package.py b/var/spack/repos/builtin/packages/py-utils/package.py new file mode 100644 index 0000000000..e5a6c46989 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-utils/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) + +from spack import * + + +class PyUtils(PythonPackage): + """Useful, oft-repeated things for Python""" + + homepage = "https://github.com/haaksmash/pyutils" + url = "https://github.com/haaksmash/pyutils/archive/1.0.1.tar.gz" + + version('1.0.1', sha256='3a6552db1678e86a1b5e31107d20ae90dc5fb858ff7936b95367ee9d1b99e9ae') + version('0.8.0', sha256='916672df4cf9647e44f0aa1b3b327eb361c3c0bac1b1e32a6cf723ca766a2d4b') + + depends_on('python@3.6:', type=('build', 'run'), when='@1.0.0:') + depends_on('py-setuptools', type='build') |