Upgrade py-pygal from 1.7.0 to 2.3.1

This upgrade fixes compatibility with new lxml.

Upstream changelog
==================
2.3.1

_This is a micro release and I have very little time on my hands right now sorry_

    Fix crash with no values when the print_values_position param is set (thanks @cristen)

2.3.0

    New call API: chart = Line(fill=True); chart.add('title', [1, 3, 12]); chart.render() can now be replaced with Line(fill=True)(1, 3, 12, title='title').render()
    Drop python 2.6 support

2.2.3

    Fix bar static value positioning (#315)
    Add stroke_opacity style (#321)
    Remove useless js in sparklines. (#312)

2.2.2

    Add classes option.
    Handle ellipsis in list type configs to auto-extend parent. (Viva python3)

2.2.0

    Support interruptions in line charts (thanks @piotrmaslanka #300)
    Fix confidence interval reactiveness (thanks @chartique #296)
    Add horizontal line charts (thanks @chartique #301)
    There is now a formatter config option to format values as specified. The formatter callable may or may not take chart, serie and index as argument. The default value formatting is now chart dependent and is value_formatter for most graph but could be a combination of value_formatter and x_value_formatter for dual charts.
    The human_readable option has been removed. Now you have to use the pygal.formatters.human_readable formatter (value_formatter=human_readable instead of human_readable=True)
    New chart type: SolidGauge (thanks @chartique #295)
    Fix range option for some Charts (#297 #298)
    Fix timezones for DateTimeLine for python 2 (#306, #302)
    Set default uri protocol to https (should fix a lot of "no tooltips" bugs).

2.1.1

    Import scipy as a last resort in stats.py (should workaround bugs like #294 if scipy is installed but not used)

2.1.0

    Bar print value positioning with print_values_position. Can be top, center or bottom (thanks @chartique #291) ci doc
    Confidence intervals (thanks @chartique #292) data doc

2.0.12

    Use custom xml_declaration avoiding conflict with processing instructions

2.0.11

    lxml 3.5 compatibility (#282)

2.0.10

    Fix transposable_node in case all attributes are not there. (thanks @yobuntu).

2.0.9

    Add dynamic_print_values to show print_values on legend hover. (#279)
    Fix unparse_color for python 3.5+ compatibility (thanks @felixonmars, @sjourdois)
    Process major labels as labels. (#263)
    Fix labels rotation > 180 (#257)
    Fix secondary axis
    Don't forget secondary series in table rendering (#260)
    Add defs config option to allow adding gradients and patterns.

2.0.8

    Fix value overwrite in map. (#275)

2.0.7

    Fixing to checks breaking rendering of DateTimeLine and TimeDeltaLine (#264) (thanks @mmrose)
    Fix render_in_browser. (#266) (#268) (thanks @waixwong)

2.0.6

    Avoid x label formatting when label is a string

2.0.5

    Fix x label formatting

2.0.4

    Fix map coloration

2.0.3

    Fix label adaptation. (#256)
    Fix wrong radar truncation. (#255)

2.0.2

    Fix view box differently to avoid getting a null height on huge numbers. (#254)
    Fix broken font_family default
    Fix non namespaced svg (without embed) javascript by adding uuid in config object. (config is in window.pygal now).

2.0.1

    Fix the missing title on x_labels with labels.
    Auto cast to str x labels in non dual charts (#178)
    Add print_labels option to print label too. (#197)
    Add value_label_font_family and value_label_font_size style options for print_labels.
    Default print_zeroes to True
    (Re)Add xlink in desc to show on tooltip
    Activate element on tooltip hovering. (#106)
    Fix radar axis behaviour (#247)
    Add tooltip support in metadata to add a title (#249).
    Take config class options in account too.

2.0.0

    Rework the ghost mechanism to come back to a more object oriented behavior, storing all state in a state object which is created on every render. (#161)
    Refactor maps
    Add world continents
    Add swiss cantons map (thanks @sergedroz)
    Add inverse_y_axis options to reverse graph (#24)
    Fix DateTimeLine time data loss (#193)
    Fix no data for graphs with only zeroes (#148)
    Support value formatter for pie graphs (#218) (thanks @never-eat-yellow-snow)
    Add new Box plot modes and outliers and set extremes as default (#226 #121 #149) (thanks @djezar)
    Add secondary_range option to set range for secondary values. (#203)
    Maps are now plugins, they are removed from pygal core and moved to packages (pygal_maps_world, pygal_maps_fr, pygal_maps_ch, ...) (#225)
    Dot now supports negative values
    Fix dot with log scale (#201)
    Fix y_labels behaviour for lines
    Fix x_labels and y_labels behaviour for xy like
    Improve gauge a bit
    Finally allow call chains on add
    Transform min_scale and max_scale as options
    mode option has been renamed to a less generic name: box_mode
    fix stack_from_top for stacked lines
    Add flake8 test to py.test in tox
    Remove stroke style in style and set it as a global / serie configuration.
    Fix None values in tables
    Fix timezones in DateTimeLine
    Rename in Style foreground_light as foreground_strong
    Rename in Style foreground_dark as foreground_subtle
    Add a render_data_uri method (#237)
    Move font_size config to style
    Add font_family for various elements in style
    Add googlefont:font support for style fonts
    Add tooltip_fancy_mode to revert to old tooltips
    Add auto print_value color + a configurable value_colors list in style
    Add guide_stroke_dasharray and guide_stroke_dasharray in style to customize guides (#242) (thanks @cbergmiller)
    Refactor label processing in a _compute_x_labels and _compute_y_labels method. Handle both string and numbers for all charts. Create a Dual base chart for dual axis charts. (#236)
    Better js integration in maps. Use the normal tooltip.
This commit is contained in:
kamil 2017-01-22 15:19:25 +00:00
parent 8e8dde64d8
commit bcc0546a76
3 changed files with 44 additions and 38 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.6 2017/01/03 13:23:03 jperkin Exp $
# $NetBSD: Makefile,v 1.7 2017/01/22 15:19:25 kamil Exp $
DISTNAME= pygal-1.7.0
DISTNAME= pygal-2.3.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pygal/}

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.4 2015/04/04 13:11:46 rodent Exp $
@comment $NetBSD: PLIST,v 1.5 2017/01/22 15:19:25 kamil Exp $
bin/pygal_gen${PYVERSSUFFIX}.py
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@ -26,9 +26,9 @@ ${PYSITELIB}/pygal/css/style.css
${PYSITELIB}/pygal/etree.py
${PYSITELIB}/pygal/etree.pyc
${PYSITELIB}/pygal/etree.pyo
${PYSITELIB}/pygal/ghost.py
${PYSITELIB}/pygal/ghost.pyc
${PYSITELIB}/pygal/ghost.pyo
${PYSITELIB}/pygal/formatters.py
${PYSITELIB}/pygal/formatters.pyc
${PYSITELIB}/pygal/formatters.pyo
${PYSITELIB}/pygal/graph/__init__.py
${PYSITELIB}/pygal/graph/__init__.pyc
${PYSITELIB}/pygal/graph/__init__.pyo
@ -44,11 +44,9 @@ ${PYSITELIB}/pygal/graph/box.pyo
${PYSITELIB}/pygal/graph/dot.py
${PYSITELIB}/pygal/graph/dot.pyc
${PYSITELIB}/pygal/graph/dot.pyo
${PYSITELIB}/pygal/graph/fr.departments.svg
${PYSITELIB}/pygal/graph/fr.regions.svg
${PYSITELIB}/pygal/graph/frenchmap.py
${PYSITELIB}/pygal/graph/frenchmap.pyc
${PYSITELIB}/pygal/graph/frenchmap.pyo
${PYSITELIB}/pygal/graph/dual.py
${PYSITELIB}/pygal/graph/dual.pyc
${PYSITELIB}/pygal/graph/dual.pyo
${PYSITELIB}/pygal/graph/funnel.py
${PYSITELIB}/pygal/graph/funnel.pyc
${PYSITELIB}/pygal/graph/funnel.pyo
@ -67,55 +65,66 @@ ${PYSITELIB}/pygal/graph/horizontal.pyo
${PYSITELIB}/pygal/graph/horizontalbar.py
${PYSITELIB}/pygal/graph/horizontalbar.pyc
${PYSITELIB}/pygal/graph/horizontalbar.pyo
${PYSITELIB}/pygal/graph/horizontalline.py
${PYSITELIB}/pygal/graph/horizontalline.pyc
${PYSITELIB}/pygal/graph/horizontalline.pyo
${PYSITELIB}/pygal/graph/horizontalstackedbar.py
${PYSITELIB}/pygal/graph/horizontalstackedbar.pyc
${PYSITELIB}/pygal/graph/horizontalstackedbar.pyo
${PYSITELIB}/pygal/graph/horizontalstackedline.py
${PYSITELIB}/pygal/graph/horizontalstackedline.pyc
${PYSITELIB}/pygal/graph/horizontalstackedline.pyo
${PYSITELIB}/pygal/graph/line.py
${PYSITELIB}/pygal/graph/line.pyc
${PYSITELIB}/pygal/graph/line.pyo
${PYSITELIB}/pygal/graph/map.py
${PYSITELIB}/pygal/graph/map.pyc
${PYSITELIB}/pygal/graph/map.pyo
${PYSITELIB}/pygal/graph/pie.py
${PYSITELIB}/pygal/graph/pie.pyc
${PYSITELIB}/pygal/graph/pie.pyo
${PYSITELIB}/pygal/graph/public.py
${PYSITELIB}/pygal/graph/public.pyc
${PYSITELIB}/pygal/graph/public.pyo
${PYSITELIB}/pygal/graph/pyramid.py
${PYSITELIB}/pygal/graph/pyramid.pyc
${PYSITELIB}/pygal/graph/pyramid.pyo
${PYSITELIB}/pygal/graph/radar.py
${PYSITELIB}/pygal/graph/radar.pyc
${PYSITELIB}/pygal/graph/radar.pyo
${PYSITELIB}/pygal/graph/solidgauge.py
${PYSITELIB}/pygal/graph/solidgauge.pyc
${PYSITELIB}/pygal/graph/solidgauge.pyo
${PYSITELIB}/pygal/graph/stackedbar.py
${PYSITELIB}/pygal/graph/stackedbar.pyc
${PYSITELIB}/pygal/graph/stackedbar.pyo
${PYSITELIB}/pygal/graph/stackedline.py
${PYSITELIB}/pygal/graph/stackedline.pyc
${PYSITELIB}/pygal/graph/stackedline.pyo
${PYSITELIB}/pygal/graph/supranationalworldmap.py
${PYSITELIB}/pygal/graph/supranationalworldmap.pyc
${PYSITELIB}/pygal/graph/supranationalworldmap.pyo
${PYSITELIB}/pygal/graph/time.py
${PYSITELIB}/pygal/graph/time.pyc
${PYSITELIB}/pygal/graph/time.pyo
${PYSITELIB}/pygal/graph/treemap.py
${PYSITELIB}/pygal/graph/treemap.pyc
${PYSITELIB}/pygal/graph/treemap.pyo
${PYSITELIB}/pygal/graph/verticalpyramid.py
${PYSITELIB}/pygal/graph/verticalpyramid.pyc
${PYSITELIB}/pygal/graph/verticalpyramid.pyo
${PYSITELIB}/pygal/graph/worldmap.py
${PYSITELIB}/pygal/graph/worldmap.pyc
${PYSITELIB}/pygal/graph/worldmap.pyo
${PYSITELIB}/pygal/graph/worldmap.svg
${PYSITELIB}/pygal/graph/xy.py
${PYSITELIB}/pygal/graph/xy.pyc
${PYSITELIB}/pygal/graph/xy.pyo
${PYSITELIB}/pygal/i18n.py
${PYSITELIB}/pygal/i18n.pyc
${PYSITELIB}/pygal/i18n.pyo
${PYSITELIB}/pygal/interpolate.py
${PYSITELIB}/pygal/interpolate.pyc
${PYSITELIB}/pygal/interpolate.pyo
${PYSITELIB}/pygal/maps/__init__.py
${PYSITELIB}/pygal/maps/__init__.pyc
${PYSITELIB}/pygal/maps/__init__.pyo
${PYSITELIB}/pygal/serie.py
${PYSITELIB}/pygal/serie.pyc
${PYSITELIB}/pygal/serie.pyo
${PYSITELIB}/pygal/state.py
${PYSITELIB}/pygal/state.pyc
${PYSITELIB}/pygal/state.pyo
${PYSITELIB}/pygal/stats.py
${PYSITELIB}/pygal/stats.pyc
${PYSITELIB}/pygal/stats.pyo
${PYSITELIB}/pygal/style.py
${PYSITELIB}/pygal/style.pyc
${PYSITELIB}/pygal/style.pyo
@ -146,12 +155,9 @@ ${PYSITELIB}/pygal/test/test_config.pyo
${PYSITELIB}/pygal/test/test_date.py
${PYSITELIB}/pygal/test/test_date.pyc
${PYSITELIB}/pygal/test/test_date.pyo
${PYSITELIB}/pygal/test/test_donut.py
${PYSITELIB}/pygal/test/test_donut.pyc
${PYSITELIB}/pygal/test/test_donut.pyo
${PYSITELIB}/pygal/test/test_frenchmap.py
${PYSITELIB}/pygal/test/test_frenchmap.pyc
${PYSITELIB}/pygal/test/test_frenchmap.pyo
${PYSITELIB}/pygal/test/test_formatters.py
${PYSITELIB}/pygal/test/test_formatters.pyc
${PYSITELIB}/pygal/test/test_formatters.pyo
${PYSITELIB}/pygal/test/test_graph.py
${PYSITELIB}/pygal/test/test_graph.pyc
${PYSITELIB}/pygal/test/test_graph.pyo
@ -164,9 +170,9 @@ ${PYSITELIB}/pygal/test/test_interpolate.pyo
${PYSITELIB}/pygal/test/test_line.py
${PYSITELIB}/pygal/test/test_line.pyc
${PYSITELIB}/pygal/test/test_line.pyo
${PYSITELIB}/pygal/test/test_map.py
${PYSITELIB}/pygal/test/test_map.pyc
${PYSITELIB}/pygal/test/test_map.pyo
${PYSITELIB}/pygal/test/test_maps.py
${PYSITELIB}/pygal/test/test_maps.pyc
${PYSITELIB}/pygal/test/test_maps.pyo
${PYSITELIB}/pygal/test/test_pie.py
${PYSITELIB}/pygal/test/test_pie.pyc
${PYSITELIB}/pygal/test/test_pie.pyo

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.4 2015/11/03 21:34:17 agc Exp $
$NetBSD: distinfo,v 1.5 2017/01/22 15:19:25 kamil Exp $
SHA1 (pygal-1.7.0.tar.gz) = aec174672771318b85df03215636c011b8ca36b4
RMD160 (pygal-1.7.0.tar.gz) = ace3d09b7136c19706ab668c4f039c46edfe2cac
SHA512 (pygal-1.7.0.tar.gz) = b32ec050e0d62224b81bc19d7421a405fca0827ba5bf86f748c3166783527638c29f6c0d010170a682d4ee8f602fc2822738c818638ee39cc5a9a5c4708f61b9
Size (pygal-1.7.0.tar.gz) = 737013 bytes
SHA1 (pygal-2.3.1.tar.gz) = ebc99e9f0b3b747e47387a36a2fc78af5bf60a4c
RMD160 (pygal-2.3.1.tar.gz) = d52617377fe51fc79e93e64c4ca1a28df15a7548
SHA512 (pygal-2.3.1.tar.gz) = b8dfa0f2840f373e095626d489914efa49f8f22a1c3eff75ffce9deb78a5088b3933c91f3dd69733d8db821b195547c6fea3c3b5250a01532014750a3a3a4a73
Size (pygal-2.3.1.tar.gz) = 74061 bytes