diff --git a/graphics/Makefile b/graphics/Makefile index 550e0b3732de..2cae38e6a840 100644 --- a/graphics/Makefile +++ b/graphics/Makefile @@ -853,6 +853,7 @@ SUBDIR += py-imagesize SUBDIR += py-imgurpython SUBDIR += py-leather + SUBDIR += py-mapclassify SUBDIR += py-mayavi SUBDIR += py-mcomix SUBDIR += py-ming diff --git a/graphics/py-mapclassify/Makefile b/graphics/py-mapclassify/Makefile new file mode 100644 index 000000000000..df6ae25827c0 --- /dev/null +++ b/graphics/py-mapclassify/Makefile @@ -0,0 +1,25 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= mapclassify +PORTVERSION= 2.0.1 +CATEGORIES= graphics python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Classification schemes for choropleth maps + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.3:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pandas>=0:math/py-pandas@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}scipy>=0.11:science/py-scipy@${PY_FLAVOR} + +USES= python:3.5+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/graphics/py-mapclassify/distinfo b/graphics/py-mapclassify/distinfo new file mode 100644 index 000000000000..d2ef99a66092 --- /dev/null +++ b/graphics/py-mapclassify/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1552677598 +SHA256 (mapclassify-2.0.1.tar.gz) = 9464b04272d0bcfb822e89dc79ec1f907bb7b07e043f7374d448244078b35b47 +SIZE (mapclassify-2.0.1.tar.gz) = 26057 diff --git a/graphics/py-mapclassify/pkg-descr b/graphics/py-mapclassify/pkg-descr new file mode 100644 index 000000000000..faf60c759e46 --- /dev/null +++ b/graphics/py-mapclassify/pkg-descr @@ -0,0 +1,4 @@ +mapclassify is an open-source python library for Choropleth map classification. +It is part of a refactoring of PySAL. + +WWW: https://github.com/pysal/mapclassify