From 59c8761b9e8f5a00f85e66ad9cc48f19d9b5cfba Mon Sep 17 00:00:00 2001 From: rvinaybharadwaj Date: Wed, 7 Oct 2020 10:34:42 -0600 Subject: Add py-shortuuid (#19172) --- .../repos/builtin/packages/py-shortuuid/package.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-shortuuid/package.py diff --git a/var/spack/repos/builtin/packages/py-shortuuid/package.py b/var/spack/repos/builtin/packages/py-shortuuid/package.py new file mode 100644 index 0000000000..4bf5e9d7db --- /dev/null +++ b/var/spack/repos/builtin/packages/py-shortuuid/package.py @@ -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') -- cgit v1.2.3-70-g09d2