summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan81 <Sinan81@github>2019-08-18 01:11:51 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-21 16:10:51 -0700
commit08e389cb7d3838ef77bd559d5eb53cf74a469cd6 (patch)
tree15ddb547c8abd162056d6529c86a32e0851db40e /var
parent5127d95b2edab87805a206483db599aef61f0e0d (diff)
downloadspack-08e389cb7d3838ef77bd559d5eb53cf74a469cd6.tar.gz
spack-08e389cb7d3838ef77bd559d5eb53cf74a469cd6.tar.bz2
spack-08e389cb7d3838ef77bd559d5eb53cf74a469cd6.tar.xz
spack-08e389cb7d3838ef77bd559d5eb53cf74a469cd6.zip
new package: py-humanize
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-humanize/package.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-humanize/package.py b/var/spack/repos/builtin/packages/py-humanize/package.py
new file mode 100644
index 0000000000..17129e1ee8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-humanize/package.py
@@ -0,0 +1,22 @@
+# 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 PyHumanize(PythonPackage):
+ """This modest package contains various common humanization utilities, like
+ turning a number into a fuzzy human readable duration ('3 minutes ago') or
+ into a human readable size or throughput. It works with python 2.7 and 3.3
+ and is localized to Russian, French, Korean and Slovak.
+ """
+
+ homepage = "https://github.com/jmoiron/humanize"
+ url = "https://pypi.io/packages/source/h/humanize/humanize-0.5.1.tar.gz"
+
+ version('0.5.1', sha256='a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-mock', type='test')