Add py-shortuuid (#19172)

This commit is contained in:
rvinaybharadwaj 2020-10-07 10:34:42 -06:00 committed by GitHub
parent 5938a5d751
commit 59c8761b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
from spack import *
class PyShortuuid(PythonPackage):
"""A generator library for concise, unambiguous and URL-safe UUIDs."""
homepage = "https://github.com/skorokithakis/shortuuid"
url = "https://github.com/skorokithakis/shortuuid/archive/v1.0.0.tar.gz"
version('1.0.1', sha256='1253bdddf0d866e0bd8ea70989702772e09a78d5072b0490dfb6b3489750c157')
version('1.0.0', sha256='cc2539aaed1b4de34853ee4aaf8331176b768a2d3a87d5a790453e082ce36850')
version('0.5.0', sha256='5dabb502352a43f67284a0edb16a1d46ec9f71b332df2095218c2df1be7d019c')
depends_on('python@2.5:', type=('build', 'run'))
depends_on('py-setuptools', type='build')