Bug 241508

Summary: [NEW PORT] math/py-matplotlib-scalebar: Artist for matplotlib to display a scale bar
Product: Ports & Packages Reporter: Rainer Hurling <rhurlin>
Component: Individual Port(s)Assignee: Po-Chuan Hsieh <sunpoet>
Status: Closed FIXED    
Severity: Affects Some People CC: rhurlin
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
shar file for new port math/py-matplotlib-scalebar rhurlin: maintainer-approval+

Description Rainer Hurling freebsd_committer freebsd_triage 2019-10-26 19:41:04 UTC
Created attachment 208614 [details]
shar file for new port math/py-matplotlib-scalebar

This new port, math/py-matplotlib-scalebar[1], provides an artist for matplotlib to display a scale bar, aka micron bar. It is particularly useful when displaying calibrated images plotted using plt.imshow(...).

The port is needed as a dependency for upcoming versions of graphics/qgis.


[1] https://pypi.org/project/matplotlib-scalebar/



The patch is tested on Poudriere (11.3i/a, 12.0i/a, and HEADi/a),
'portlint -AC' seems happy.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-11-13 23:47:26 UTC
A commit references this bug:

Author: sunpoet
Date: Wed Nov 13 23:47:16 UTC 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@gwdg.de>

Changes:
  head/math/Makefile
  head/math/py-matplotlib-scalebar/
  head/math/py-matplotlib-scalebar/Makefile
  head/math/py-matplotlib-scalebar/distinfo
  head/math/py-matplotlib-scalebar/pkg-descr
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2019-11-13 23:48:23 UTC
Committed. Thanks!