diff options
-rw-r--r-- | math/Makefile | 1 | ||||
-rw-r--r-- | math/py-matplotlib-scalebar/Makefile | 24 | ||||
-rw-r--r-- | math/py-matplotlib-scalebar/distinfo | 3 | ||||
-rw-r--r-- | math/py-matplotlib-scalebar/pkg-descr | 5 |
4 files changed, 33 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile index 820648b62df5..aaa9e98a793f 100644 --- a/math/Makefile +++ b/math/Makefile @@ -725,6 +725,7 @@ SUBDIR += py-luminol SUBDIR += py-mathdom SUBDIR += py-matplotlib + SUBDIR += py-matplotlib-scalebar SUBDIR += py-mpmath SUBDIR += py-munkres SUBDIR += py-munkres10 diff --git a/math/py-matplotlib-scalebar/Makefile b/math/py-matplotlib-scalebar/Makefile new file mode 100644 index 000000000000..57ee7822c6e2 --- /dev/null +++ b/math/py-matplotlib-scalebar/Makefile @@ -0,0 +1,24 @@ +# Created by: Rainer Hurling <rhurlin@gwdg.de> +# $FreeBSD$ + +PORTNAME= matplotlib-scalebar +PORTVERSION= 0.6.1 +CATEGORIES= math python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rhurlin@gwdg.de +COMMENT= Artist for matplotlib to display a scale bar + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +NO_ARCH= yes +USE_LOCALE= en_US.UTF-8 + +.include <bsd.port.mk> diff --git a/math/py-matplotlib-scalebar/distinfo b/math/py-matplotlib-scalebar/distinfo new file mode 100644 index 000000000000..fa91eb9ebe37 --- /dev/null +++ b/math/py-matplotlib-scalebar/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1572095638 +SHA256 (matplotlib-scalebar-0.6.1.tar.gz) = 85cec2bacf85aaf00a70cafa5786f7e66e7c0f6e9dc5c894fd6d1afaa7264ecd +SIZE (matplotlib-scalebar-0.6.1.tar.gz) = 31464 diff --git a/math/py-matplotlib-scalebar/pkg-descr b/math/py-matplotlib-scalebar/pkg-descr new file mode 100644 index 000000000000..11182c727a1e --- /dev/null +++ b/math/py-matplotlib-scalebar/pkg-descr @@ -0,0 +1,5 @@ +Provides a new artist for matplotlib to display a scale bar, aka micron bar. It +is particularly useful when displaying calibrated images plotted using +plt.imshow(...). + +WWW: https://github.com/ppinard/matplotlib-scalebar |