From 233fc5ff235147f46cb45f4e2895f3279794f773 Mon Sep 17 00:00:00 2001 From: Justin S <3630356+codeandkey@users.noreply.github.com> Date: Tue, 7 Apr 2020 20:40:33 -0500 Subject: [PATCH] py-unidecode: new package at 1.1.1 (#15906) * py-unidecode: new package at 1.1.1 * py-unidecode: update py-setuptools dep type * py-unidecode: add python version --- .../builtin/packages/py-unidecode/package.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-unidecode/package.py diff --git a/var/spack/repos/builtin/packages/py-unidecode/package.py b/var/spack/repos/builtin/packages/py-unidecode/package.py new file mode 100644 index 0000000000..c5acb2dc4c --- /dev/null +++ b/var/spack/repos/builtin/packages/py-unidecode/package.py @@ -0,0 +1,19 @@ +# 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 PyUnidecode(PythonPackage): + """ASCII transliterations of Unicode text""" + + homepage = "https://pypi.org/project/Unidecode" + url = "https://pypi.io/packages/source/u/unidecode/Unidecode-1.1.1.tar.gz" + + version('1.1.1', sha256='2b6aab710c2a1647e928e36d69c21e76b453cd455f4e2621000e54b2a9b8cce8') + version('0.04.21', sha256='280a6ab88e1f2eb5af79edff450021a0d3f0448952847cd79677e55e58bad051') + + depends_on('python@2.7:2.8,3.4:', type=('build', 'run')) + depends_on('py-setuptools', type='build')