summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/py-shortuuid/package.py20
1 files changed, 20 insertions, 0 deletions
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')