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>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-11-13 23:47:15 +00:00
parent 582506a11a
commit 91792ccede
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=517535
4 changed files with 33 additions and 0 deletions

View file

@ -725,6 +725,7 @@
SUBDIR += py-luminol SUBDIR += py-luminol
SUBDIR += py-mathdom SUBDIR += py-mathdom
SUBDIR += py-matplotlib SUBDIR += py-matplotlib
SUBDIR += py-matplotlib-scalebar
SUBDIR += py-mpmath SUBDIR += py-mpmath
SUBDIR += py-munkres SUBDIR += py-munkres
SUBDIR += py-munkres10 SUBDIR += py-munkres10

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1572095638
SHA256 (matplotlib-scalebar-0.6.1.tar.gz) = 85cec2bacf85aaf00a70cafa5786f7e66e7c0f6e9dc5c894fd6d1afaa7264ecd
SIZE (matplotlib-scalebar-0.6.1.tar.gz) = 31464

View file

@ -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