From daaeb412a497b635c9975c9c86ed0c0e42a40846 Mon Sep 17 00:00:00 2001 From: jwallior Date: Sat, 30 Nov 2019 17:32:02 -0500 Subject: New python packages (#9974) * New package: add py-jellyfish * New package: add py-us * New package: add py-xlwt * New package: add py-svgpathtools * New package: add py-svgwrite * Change checksums to sha256 * Fix Copyright year. * Add missing dependencies. --- .../repos/builtin/packages/py-jellyfish/package.py | 19 +++++++++++++++++++ .../builtin/packages/py-svgpathtools/package.py | 21 +++++++++++++++++++++ .../repos/builtin/packages/py-svgwrite/package.py | 19 +++++++++++++++++++ var/spack/repos/builtin/packages/py-us/package.py | 19 +++++++++++++++++++ var/spack/repos/builtin/packages/py-xlwt/package.py | 20 ++++++++++++++++++++ 5 files changed, 98 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-jellyfish/package.py create mode 100644 var/spack/repos/builtin/packages/py-svgpathtools/package.py create mode 100644 var/spack/repos/builtin/packages/py-svgwrite/package.py create mode 100644 var/spack/repos/builtin/packages/py-us/package.py create mode 100644 var/spack/repos/builtin/packages/py-xlwt/package.py diff --git a/var/spack/repos/builtin/packages/py-jellyfish/package.py b/var/spack/repos/builtin/packages/py-jellyfish/package.py new file mode 100644 index 0000000000..cd378e3a9a --- /dev/null +++ b/var/spack/repos/builtin/packages/py-jellyfish/package.py @@ -0,0 +1,19 @@ +# 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 PyJellyfish(PythonPackage): + """a library for doing approximate and phonetic matching of strings.""" + + homepage = "https://pypi.org/project/jellyfish/" + url = "https://pypi.io/packages/source/j/jellyfish/jellyfish-0.6.1.tar.gz" + + version('0.6.1', sha256='5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094') + version('0.5.6', sha256='887a9a49d0caee913a883c3e7eb185f6260ebe2137562365be422d1316bd39c9') + + depends_on('py-setuptools', type='build') diff --git a/var/spack/repos/builtin/packages/py-svgpathtools/package.py b/var/spack/repos/builtin/packages/py-svgpathtools/package.py new file mode 100644 index 0000000000..3255ac5cff --- /dev/null +++ b/var/spack/repos/builtin/packages/py-svgpathtools/package.py @@ -0,0 +1,21 @@ +# 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 PySvgpathtools(PythonPackage): + """A collection of tools for manipulating and analyzing SVG Path objects + and Bezier curves.""" + + homepage = "https://pypi.org/project/svgpathtools/" + url = "https://pypi.io/packages/source/s/svgpathtools/svgpathtools-1.3.3.tar.gz" + + version('1.3.3', sha256='e4b3784ae41b725fbce6a33a8981210967b16d0b557cb5d98c0ed0c81f0f89b9') + + depends_on('py-setuptools', type='build') + depends_on('py-numpy', type=('build', 'run')) + depends_on('py-svgwrite', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-svgwrite/package.py b/var/spack/repos/builtin/packages/py-svgwrite/package.py new file mode 100644 index 0000000000..1abfc79ee5 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-svgwrite/package.py @@ -0,0 +1,19 @@ +# 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 PySvgwrite(PythonPackage): + """A Python library to create SVG drawings.""" + + homepage = "https://pypi.org/project/svgwrite/" + url = "https://pypi.io/packages/source/s/svgwrite/svgwrite-1.1.12.zip" + + version('1.1.12', sha256='968c99f193f34f0fa7f0b3e82f49b93789c7c45cd89ce190480f16020d41ab79') + + depends_on('py-setuptools', type='build') + depends_on('py-pyparsing@2.0.1:', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-us/package.py b/var/spack/repos/builtin/packages/py-us/package.py new file mode 100644 index 0000000000..717d036a0e --- /dev/null +++ b/var/spack/repos/builtin/packages/py-us/package.py @@ -0,0 +1,19 @@ +# 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 PyUs(PythonPackage): + """US state meta information and other fun stuff.""" + + homepage = "https://pypi.org/project/us/" + url = "https://pypi.io/packages/source/u/us/us-1.0.0.tar.gz" + + version('1.0.0', sha256='09dc9ba763e2e4399e6a042104f3e415a7de6bfa4df6f557b4f19e3ba9a22fda') + + depends_on('py-setuptools', type='build') + depends_on('py-jellyfish@0.5.6', type=('build', 'run')) diff --git a/var/spack/repos/builtin/packages/py-xlwt/package.py b/var/spack/repos/builtin/packages/py-xlwt/package.py new file mode 100644 index 0000000000..4635f71a41 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-xlwt/package.py @@ -0,0 +1,20 @@ +# 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 PyXlwt(PythonPackage): + """Library to create spreadsheet files compatible with + MS Excel 97/2000/XP/2003 XLS files, on any platform, + with Python 2.6, 2.7, 3.3+.""" + + homepage = "https://pypi.org/project/xlwt/" + url = "https://pypi.io/packages/source/x/xlwt/xlwt-1.3.0.tar.gz" + + version('1.3.0', sha256='c59912717a9b28f1a3c2a98fd60741014b06b043936dcecbc113eaaada156c88') + + depends_on('py-setuptools', type='build') -- cgit v1.2.3-70-g09d2