Commit graph

27 commits

Author SHA1 Message Date
wiz
67e1f1a6bf python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources
and thus need setuptools after the build step.

Set this flag for packages that need it and bump PKGREVISION.
2022-01-05 15:40:56 +00:00
wiz
8a9cb53cf6 *: bump PKGREVISION for egg.mk users
They now have a tool dependency on py-setuptools instead of a DEPENDS
2022-01-04 20:52:30 +00:00
nia
df9686aa9d converters: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes
2021-10-26 10:06:37 +00:00
nia
43864756b5 converters: Remove SHA1 hashes for distfiles 2021-10-07 13:28:56 +00:00
adam
00386af69b py-cairosvg: updated to 2.5.2
Version 2.5.2 released on 2021-03-06
====================================
* Fix marker path scale

Version 2.5.1 released on 2021-01-06
====================================
**WARNING:** this is a security update.

When processing SVG files, CairoSVG was using two regular expressions which are
vulnerable to Regular Expression Denial of Service (REDoS).

If an attacker provided a malicious SVG, it could make CairoSVG get stuck
processing the file for a very long time.

Other bug fixes:

* Fix marker positions for unclosed paths
* Follow hint when only output_width or output_height is set
* Handle opacity on raster images
* Don’t crash when use tags reference unknown tags
* Take care of the next letter when A/a is replaced by l
* Fix misalignment in node.vertices


Version 2.5.0 released on 2020-10-29
====================================
* Drop support of Python 3.5, add support of Python 3.9.
* Add EPS export
* Add background-color, negate-colors, and invert-images options
* Improve support for font weights
* Fix opacity of patterns and gradients
* Support auto-start-reverse value for orient
* Draw images contained in defs
* Add Exif transposition support
* Handle dominant-baseline
* Support transform-origin
2021-03-10 18:08:27 +00:00
wiz
2ac11edd52 *: switch to versioned_dependencies.mk for py-setuptools 2020-08-31 23:07:00 +00:00
joerg
d0612acb5a Needs pip 2020-05-19 13:59:19 +00:00
kleink
1cfd1c1adf py-cairosvg: Add setup_requires packages to BUILD_DEPENDS. 2020-05-19 09:59:58 +00:00
kleink
674dc48c6a py-cairosvg: Update to 2.4.2.
Missed PLIST in main update commit.
2020-05-17 09:33:03 +00:00
kleink
b55190eac8 py-cairosvg: Update to 2.4.2.
Version 2.4.2 released on 2019-09-10
====================================

* Fix race condition in tests
* Fix scale for images with no viewBox


Version 2.4.1 released on 2019-08-21
====================================

* Fix the --scale parameter
* Allow href attributes with no namespace
* Fix the tree root detection


Version 2.4.0 released on 2019-05-20
====================================

* Fix aspect and position when resizing root SVG tag
* Follow aspect and position hints when using forced output size


Version 2.3.1 released on 2019-04-18
====================================

* Fix relative paths on Windows


Version 2.3.0 released on 2019-02-08
====================================

* Drop Python 3.4 support
* Make text selectable on generated PDF files
* Don't inherit dx and dy attributes
* Fix support of alignment-baseline="hanging"
* Fix backslashes in docstrings and comments
* Fix local anchors with files with no given URL
* Close VERSION's file descriptor
* Clean packaging
* Include LICENSE in distributed packages


Version 2.2.1 released on 2018-09-27
====================================

* Fix packaging


Version 2.2.0 released on 2018-09-21
====================================

* Clean packaging
* Fix T commands used with previous relative commands in paths
* Use real functions for svg2* commands, improving IDE integration
* Fix files management on Windows
* Handle image-rendering property
* Fix crash with some text samples
* Fix position of embedded svg tags with a viewbox not at position (0, 0)
* Add output-width and output-height options
* Handle references to inner document tags defined after the anchor
* Fix offsets for texts on paths
2020-05-16 17:16:21 +00:00
adam
70e5bf03eb py-cairosvg: updated to 2.1.3
Version 2.1.3:
* Fix T commands following q or t in paths
2018-05-11 14:36:07 +00:00
joerg
7831bffa13 Drop patches for Python 2.7, now that it is a separate package. 2018-03-26 13:05:43 +00:00
adam
92272d020b py-cairosvg: updated to 2.1.2
Version 2.1.2:
* Fix font-size
2017-12-10 15:58:36 +00:00
adam
5d094ca923 py-cairosvg: update to 2.1.1
Version 2.1.1

Use cssselect2 and tinycss2 instead of cssselect and tinycss
Don’t require lxml anymore
Rely on defusedxml to detect unsafe SVG files
Use http://www.w3.org/2000/svg as default namespace
2017-10-19 06:38:47 +00:00
wiz
ef141a6b79 Reset maintainer 2017-09-16 19:26:41 +00:00
joerg
ac6006dcc4 Use ASCII. 2017-09-04 15:56:33 +00:00
joerg
f6220f3f3e No encoding parameter on Python 2.7. 2017-08-25 20:01:34 +00:00
adam
02a1f2268c Version 2.0.3:
* Add ``python_requires`` in ``setup.py``

Version 2.0.2:
* Handle ``text-align`` in textPath tags
* Test with Python 3.6

Version 2.0.1:
* Don't crash on relative refs with no input URL

Version 2.0.0:
* Drop Python 2 support
* Drop pycairo support
* Rely on cairocffi, lxml, cssselect, pillow and tinycss
* Fix markers
* Fix URL/id handling
* Use bounding boxes for gradients
* Split deployment and development tests
* Add a scale option
* Add a parent size option
* Test with Travis
2017-07-14 17:02:20 +00:00
kleink
93d69b202e Update py-cairosvg to 1.0.20.
Version 1.0.20, released on 2016-02-23
======================================

* Allow the user to give parent size


Version 1.0.19, released on 2015-10-30
======================================

* Drastically improve the performance of ``Node()``


Version 1.0.18, released on 2015-10-20
======================================

* Use cairo groups to apply filters


Version 1.0.17, released on 2015-10-09
======================================

* Fix scale and position of markers


Version 1.0.16, released on 2015-08-05
======================================

* Support the text-rendering property
2017-01-13 17:32:47 +00:00
jperkin
cf32c4d741 Use "${MV} || ${TRUE}" and "${RM} -f" consistently in post-install targets. 2017-01-03 13:23:01 +00:00
wiz
1682c6507d Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
2016-08-28 15:48:28 +00:00
wiz
57199de455 Switch to MASTER_SITES_PYPI. 2016-06-08 17:43:20 +00:00
agc
01dc1bd2b3 Add SHA512 digests for distfiles for converters category
Problems found with existing distfile:
	distfiles/libiconv-1.13-cp932.patch.gz
No changes made to the libiconv distinfo file.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:43:46 +00:00
rodent
8171bbdbf7 Version 1.0.15, released on 2015-06-22
======================================

* Use xMidYMid as default preserveAspectRatio value

Version 1.0.14, released on 2015-06-02
======================================

* Support the shape-rendering property

Version 1.0.13, released on 2015-02-26
======================================

* Fix end markers

Version 1.0.12, released on 2015-02-26
======================================

* Don't crash when paths with markers end with a move_to action

Version 1.0.11, released on 2015-02-11
======================================

* Allow commas in viewboxes

Version 1.0.10, released on 2015-02-09
======================================

* Allow quotes around font names
2015-06-26 16:09:59 +00:00
rodent
ccff70dbc8 Version 1.0.9, released on 2014-08-12
=====================================

* Don't crash when gradients are applied to paths
2014-08-29 02:40:00 +00:00
rodent
7cdf4e9a36 Version 1.0.8, released on 2014-07-14
=====================================

* Don't create an atomic layer for transparent tags with no children
2014-08-07 01:13:18 +00:00
rodent
32382d51ed Import py27-cairosvg-1.0.7 as converters/py-cairosvg.
CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
PostScript and PNG files.
2014-05-17 13:49:46 +00:00