summaryrefslogtreecommitdiff
path: root/math/py-matplotlib-scalebar
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-11-13 23:47:15 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2019-11-13 23:47:15 +0000
commit91792ccededee4d3bd1182949fecba22f03089cc (patch)
treea900ebf2cb362274d5afba89e860807f106ba7cf /math/py-matplotlib-scalebar
parentDocument libmad vulnerability (diff)
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 <rhurlin@gwdg.de>
Notes
Notes: svn path=/head/; revision=517535
Diffstat (limited to 'math/py-matplotlib-scalebar')
-rw-r--r--math/py-matplotlib-scalebar/Makefile24
-rw-r--r--math/py-matplotlib-scalebar/distinfo3
-rw-r--r--math/py-matplotlib-scalebar/pkg-descr5
3 files changed, 32 insertions, 0 deletions
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