summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjwallior <jwallior@users.noreply.github.com>2019-11-30 17:32:02 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2019-11-30 16:32:02 -0600
commitdaaeb412a497b635c9975c9c86ed0c0e42a40846 (patch)
tree8af28035fcacac3b611303f200e8216d9b1091d1
parent1c8a62aa8625e0ac78b9198b3a56a81f79045630 (diff)
downloadspack-daaeb412a497b635c9975c9c86ed0c0e42a40846.tar.gz
spack-daaeb412a497b635c9975c9c86ed0c0e42a40846.tar.bz2
spack-daaeb412a497b635c9975c9c86ed0c0e42a40846.tar.xz
spack-daaeb412a497b635c9975c9c86ed0c0e42a40846.zip
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.
-rw-r--r--var/spack/repos/builtin/packages/py-jellyfish/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-svgpathtools/package.py21
-rw-r--r--var/spack/repos/builtin/packages/py-svgwrite/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-us/package.py19
-rw-r--r--var/spack/repos/builtin/packages/py-xlwt/package.py20
5 files changed, 98 insertions, 0 deletions
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')