From 91792ccededee4d3bd1182949fecba22f03089cc Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 13 Nov 2019 23:47:15 +0000 Subject: Add py-matplotlib-scalebar 0.6.1 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(...). - While I'm here: - Add LICENSE_FILE - Use USE_LOCALE instead of patch file WWW: https://github.com/ppinard/matplotlib-scalebar PR: 241508 Submitted by: Rainer Hurling --- math/py-matplotlib-scalebar/Makefile | 24 ++++++++++++++++++++++++ math/py-matplotlib-scalebar/distinfo | 3 +++ math/py-matplotlib-scalebar/pkg-descr | 5 +++++ 3 files changed, 32 insertions(+) create mode 100644 math/py-matplotlib-scalebar/Makefile create mode 100644 math/py-matplotlib-scalebar/distinfo create mode 100644 math/py-matplotlib-scalebar/pkg-descr (limited to 'math/py-matplotlib-scalebar') 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 +# $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 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 -- cgit v1.2.3