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.
This commit is contained in:
parent
1c8a62aa86
commit
daaeb412a4
19
var/spack/repos/builtin/packages/py-jellyfish/package.py
Normal file
19
var/spack/repos/builtin/packages/py-jellyfish/package.py
Normal file
@ -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')
|
21
var/spack/repos/builtin/packages/py-svgpathtools/package.py
Normal file
21
var/spack/repos/builtin/packages/py-svgpathtools/package.py
Normal file
@ -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'))
|
19
var/spack/repos/builtin/packages/py-svgwrite/package.py
Normal file
19
var/spack/repos/builtin/packages/py-svgwrite/package.py
Normal file
@ -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'))
|
19
var/spack/repos/builtin/packages/py-us/package.py
Normal file
19
var/spack/repos/builtin/packages/py-us/package.py
Normal file
@ -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'))
|
20
var/spack/repos/builtin/packages/py-xlwt/package.py
Normal file
20
var/spack/repos/builtin/packages/py-xlwt/package.py
Normal file
@ -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')
|
Loading…
Reference in New Issue
Block a user