summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2020-12-29 00:56:21 -0600
committerGitHub <noreply@github.com>2020-12-29 07:56:21 +0100
commitf1a4810ac7e180e391140c15cb74e836087dd607 (patch)
tree9626d8ce3ce04376563f397cb8157fbfb387641c
parent49b5ce954a180390c3d0c329c5d5d66b8c907045 (diff)
downloadspack-f1a4810ac7e180e391140c15cb74e836087dd607.tar.gz
spack-f1a4810ac7e180e391140c15cb74e836087dd607.tar.bz2
spack-f1a4810ac7e180e391140c15cb74e836087dd607.tar.xz
spack-f1a4810ac7e180e391140c15cb74e836087dd607.zip
py-mapclassify: add new package at v2.4.2 (#20599)
-rw-r--r--var/spack/repos/builtin/packages/py-mapclassify/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-mapclassify/package.py b/var/spack/repos/builtin/packages/py-mapclassify/package.py
new file mode 100644
index 0000000000..f25a56d79e
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-mapclassify/package.py
@@ -0,0 +1,24 @@
+# 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 PyMapclassify(PythonPackage):
+ """Classification Schemes for Choropleth Maps."""
+
+ homepage = "https://github.com/pysal/mapclassify"
+ url = "https://pypi.io/packages/source/m/mapclassify/mapclassify-2.4.2.tar.gz"
+
+ maintainers = ['adamjstewart']
+
+ version('2.4.2', sha256='bc20954aa433466f5fbc572e3f23b05f9606b59209f40b0ded93ac1ca983d24e')
+
+ depends_on('py-setuptools', type='build')
+ depends_on('py-scipy@1.0:', type=('build', 'run'))
+ depends_on('py-numpy@1.3:', type=('build', 'run'))
+ depends_on('py-scikit-learn', type=('build', 'run'))
+ depends_on('py-pandas@1.0:', type=('build', 'run'))
+ depends_on('py-networkx', type=('build', 'run'))