svn commit: r517535 - in head/math: . py-matplotlib-scalebar

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Nov 13 23:47:16 UTC 2019


Author: sunpoet
Date: Wed Nov 13 23:47:15 2019
New Revision: 517535
URL: https://svnweb.freebsd.org/changeset/ports/517535

Log:
  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 at gwdg.de>

Added:
  head/math/py-matplotlib-scalebar/
  head/math/py-matplotlib-scalebar/Makefile   (contents, props changed)
  head/math/py-matplotlib-scalebar/distinfo   (contents, props changed)
  head/math/py-matplotlib-scalebar/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Wed Nov 13 23:45:36 2019	(r517534)
+++ head/math/Makefile	Wed Nov 13 23:47:15 2019	(r517535)
@@ -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

Added: head/math/py-matplotlib-scalebar/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-matplotlib-scalebar/Makefile	Wed Nov 13 23:47:15 2019	(r517535)
@@ -0,0 +1,24 @@
+# Created by: Rainer Hurling <rhurlin at gwdg.de>
+# $FreeBSD$
+
+PORTNAME=	matplotlib-scalebar
+PORTVERSION=	0.6.1
+CATEGORIES=	math python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	rhurlin at 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>

Added: head/math/py-matplotlib-scalebar/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-matplotlib-scalebar/distinfo	Wed Nov 13 23:47:15 2019	(r517535)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1572095638
+SHA256 (matplotlib-scalebar-0.6.1.tar.gz) = 85cec2bacf85aaf00a70cafa5786f7e66e7c0f6e9dc5c894fd6d1afaa7264ecd
+SIZE (matplotlib-scalebar-0.6.1.tar.gz) = 31464

Added: head/math/py-matplotlib-scalebar/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-matplotlib-scalebar/pkg-descr	Wed Nov 13 23:47:15 2019	(r517535)
@@ -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


More information about the svn-ports-all mailing list