new package: py-humanize
This commit is contained in:
parent
5127d95b2e
commit
08e389cb7d
1 changed files with 22 additions and 0 deletions
22
var/spack/repos/builtin/packages/py-humanize/package.py
Normal file
22
var/spack/repos/builtin/packages/py-humanize/package.py
Normal file
|
@ -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')
|
Loading…
Reference in a new issue