Up to [cvs.NetBSD.org] / pkgsrc / graphics / py-cairo
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 30 09:12:01 2022 UTC (10 months, 1 week ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3,
pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
HEAD
Changes since 1.11: +4 -9
lines
Diff to previous 1.11 (colored)
py-cairo: update to 1.21.0. 1.21.0 - 2022-03-07 ------------------- * Require Python 3.7+ :pr:`250` * Require meson 0.53+ * Using `setup.py` directly to build/install pycairo is deprecated. Use meson instead. * `setup.py` now requires setuptools. Previously it was optional. * The complete API reference is now included in the typing stubs, so it can be consumed/shown by IDEs. :pr:`236` :pr:`252`
Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 7 14:42:00 2020 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2,
pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4
Changes since 1.10: +4 -7
lines
Diff to previous 1.10 (colored)
py-cairo: mark with PYTHON_SELF_CONFLICT While here, simplify PLIST since this no longer supports python 2.x
Revision 1.10 / (download) - annotate - [select for diffs], Sat Apr 27 18:38:43 2019 UTC (3 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base,
pkgsrc-2020Q3,
pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3,
pkgsrc-2019Q2-base,
pkgsrc-2019Q2
Changes since 1.9: +4 -4
lines
Diff to previous 1.9 (colored)
py-cairo: update to 1.18.1. 1.18.1 - 2019-04-19 ------------------- * meson: install .egg-info to platlib * meson: fix configure error with meson 0.50 re absolute paths :pr:`145` * PyPy: don't use PyOS_FSPath() with PyPy3.6, it's missing: https://bitbucket.org/pypy/pypy/issues/2961 * Docs fixes :pr:`134` (:user:`Matteo Italia <cvtsi2sd>`)
Revision 1.9 / (download) - annotate - [select for diffs], Mon Apr 30 06:11:55 2018 UTC (4 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3,
pkgsrc-2018Q2-base,
pkgsrc-2018Q2
Changes since 1.8: +5 -5
lines
Diff to previous 1.8 (colored)
py-cairo: Switch to egg.mk and update PLIST for it. For build consistency
Revision 1.8 / (download) - annotate - [select for diffs], Sun Apr 29 21:06:13 2018 UTC (4 years, 9 months ago) by ryoon
Branch: MAIN
Changes since 1.7: +5 -2
lines
Diff to previous 1.7 (colored)
Add some Python egg files to fix packaging
Revision 1.7 / (download) - annotate - [select for diffs], Fri Apr 27 14:37:09 2018 UTC (4 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.6: +2 -1
lines
Diff to previous 1.6 (colored)
py-cairo: update to 1.17.0. 1.17.0 - 2018-04-15 ------------------- * :class:`cairo.Surface` and :class:`cairo.Device` can now be used as context managers. :bug:`103` * Fix a leak when a cairo error was raised. * Fix a leak when a mapped surface was GCed instead of unmapped. * Make it possible to use the C API with Python 3 outside of the compilation unit doing the import by defining ``PYCAIRO_NO_IMPORT``. :bug:`110` * Implement PEP 561 (added a py.typed marker)
Revision 1.6 / (download) - annotate - [select for diffs], Sun Mar 11 18:06:13 2018 UTC (4 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base,
pkgsrc-2018Q1
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
py-cairo: update to 1.16.3. 1.16.3 - 2018-02-27 ------------------- * Ship Python type annotation stubs. They are currently supported by mypy and PyCharm. :bug:`99` :pr:`101`
Revision 1.5 / (download) - annotate - [select for diffs], Sun Feb 11 16:40:48 2018 UTC (4 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.4: +3 -1
lines
Diff to previous 1.4 (colored)
py-cairo: update to 1.16.2. 1.16.2 - 2018-02-10 ------------------- * setup.py: Some fixes for Debian pybuild quirks. :bug:`98` .. _v1.16.1: 1.16.1 - 2018-02-06 ------------------- * setup.py: correctly install pkgconfig into /usr/lib* again. To make JHBuild on Fedora work the following patch is needed: https://bugzilla.gnome.org/show_bug.cgi?id=793216 .. _v1.16.0: 1.16.0 - 2018-02-05 ------------------- * Add a :func:`get_include` function which returns the compiler include path needed for interfacing with the Pycairo C API :bug:`92` * Note for packagers: The default header installation path has changed, but a compat header is installed to the old location to prevent breakage in case anyone has hardcoded the old path instead of using pkg-config. Just in case anyone is wondering why there are two header files now. .. _v1.15.6: 1.15.6 - 2018-01-30 ------------------- * Experimental PyPy and PyPy3 support :bug:`90` .. _v1.15.5: 1.15.5 - 2018-01-29 ------------------- * Support Unicode paths under Windows with cairo 1.15.10+ :pr:`87` * Don't include the pkg-config file when building a wheel :bug:`83`
Revision 1.4 / (download) - annotate - [select for diffs], Sat Nov 25 09:16:13 2017 UTC (5 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base,
pkgsrc-2017Q4
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
py-cairo: install pkgconfig in pkgsrc standard location Bump PKGREVISION.
Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 24 16:02:21 2017 UTC (5 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.2: +7 -4
lines
Diff to previous 1.2 (colored)
py-cairo: update to 1.15.4. 1.15.4 - 2017-11-08 ------------------- Fixes: * Fix some enum conversation errors with (unused) large and negative values. :pr:`81` Tests: * Fix a rare test error :pr:`80` (:user:`Sergei Trofimovich <trofi>`) .. _v1.15.3: 1.15.3 - 2017-09-17 ------------------- Fixes: * setup.py: Install pkgconfig file into /usr/share/pkgconfig to work around JHBuild on Fedora not picking it up. * Fix tests on big endian machines. :bug:`75` * Support building with MSVC :pr:`72` (:user:`Chun-wei Fan <fanc999>`) Tests: * Test MSVC builds on appveyor .. _v1.15.2: 1.15.2 - 2017-09-03 ------------------- Fixes: * setup.py: Install pkgconfig file to the same library prefix that Python uses. (/usr/lib64 instead of /usr/lib under Fedora for example) :bug:`70` :pr:`71` (:user:`Sander Sweers <infirit>`) .. _v1.15.1: 1.15.1 - 2017-08-19 ------------------- Fixes: * Improved support for Python filesystem paths including :class:`os.PathLike`. See :class:`pathlike` for details. * Various minor fixes Changes: * Expose :class:`cairo.Path` Tests: * Improved test coverage from ~70% to ~90% .. _v1.15.0: 1.15.0 - 2017-07-24 ------------------- New Features: * Add :meth:`Surface.map_to_image` and :meth:`Surface.unmap_image` :bug:`51` * Add :class:`RasterSourcePattern` :bug:`48` * Add :class:`Glyph` :bug:`53` * Add :class:`Rectangle` :bug:`54` * Add :class:`TextCluster` :bug:`61` * Add :meth:`ScaledFont.text_to_glyphs` and :meth:`ScaledFont.glyph_extents` * Add :meth:`Context.show_text_glyphs` * Add :class:`TextExtents` :bug:`62` Changes: * Pycairo instances wrapping the same underlying cairo object now hash and compare equally e.g. ``context.get_target() == context.get_target()`` * Functions which returned a cairo error with :attr:`Status.NO_MEMORY` no longer raise :exc:`python3:MemoryError`, but a subclass of :exc:`Error` and :exc:`python3:MemoryError`. Similarly errors with :attr:`Status.READ_ERROR` and :attr:`Status.WRITE_ERROR` no longer raise :exc:`python3:IOError`, but a subclass of :exc:`Error` and :exc:`python3:IOError`. :bug:`55` * Some functions which previously returned a tuple now return a tuple subclass like :class:`Rectangle`, :class:`Glyph`, :class:`TextCluster` and :class:`TextExtents` .. _v1.14.1: 1.14.1 - 2017-07-24 ------------------- Fixes: * Fix a crash with :meth:`Surface.get_device` :bug:`57` .. _v1.14.0: 1.14.0 - 2017-07-12 ------------------- General: * Requires at least cairo 1.13.1 (The snapshop in Ubuntu 14.04) Tests: * Optional `Hypothesis <https://hypothesis.readthedocs.io>`__ tests. New Features: * Add :meth:`Surface.set_device_scale` and :meth:`Surface.get_device_scale`. :pr:`44` (:user:`Sander Sweers <infirit>`) * Add :class:`Device` :pr:`45` * Add :meth:`Surface.get_device` :pr:`45` * Add :class:`ScriptDevice` and :class:`ScriptMode` :pr:`46` * Add :class:`ScriptSurface` :bug:`17` * Add :attr:`Status.JBIG2_GLOBAL_MISSING` * Add :meth:`Format.stride_for_width` * Add :class:`TextClusterFlags` and :class:`SurfaceObserverMode` * Add :meth:`Gradient.get_color_stops_rgba` * Add :class:`TeeSurface` * Add :class:`MeshPattern` .. _v1.13.4: 1.13.4 - 2017-07-12 ------------------- Fixes: * Fix a rare crash with :meth:`get_data() <ImageSurface.get_data>` under Python 3 (1.13.3 regression). .. _v1.13.3: 1.13.3 - 2017-06-01 ------------------- Fixes: * Fix ImageSurface leaking in case :meth:`get_data() <ImageSurface.get_data>` is used under Python 3. :bug:`41` Documentation: * Add Pillow to ImageSurface example. :pr:`40` (:user:`Stuart Axon <stuaxo>`) * Describe Freetype-py intergration. :bug:`25` :pr:`43` (:user:`Hin-Tak Leung <HinTak>`) .. _v1.13.2: 1.13.2 - 2017-05-21 ------------------- Fixes: * Fix pip failing to install pycairo in some cases. :bug:`39` Testing: * Added continuous testing for Windows using MSYS2 and appveyor. :bug:`19` .. _v1.13.1: 1.13.1 - 2017-05-07 ------------------- Fixes: * setup.py install: Fix generated pkg-config file if ``--home`` or ``--user`` is specified. :bug:`34` * Fix a build error on macOS Sierra. :pr:`36` (:user:`Nicolas P. Rougier <rougier>`) * examples: Fix snippet examples when .pyc files are present. :bug:`35` Documentation: * Add Pyglet integration example. :pr:`33` (:user:`Stuart Axon <stuaxo>`) .. _v1.13.0: 1.13.0 - 2017-05-03 ------------------- New Features: * The buffer returned by :meth:`ImageSurface.get_data` under Python 2 now implements the character buffer interface to make it work with pygame.image.frombuffer(). :pr:`29` * All C enum types now have their own corresponding Python enum type: :class:`Antialias`, :class:`Content`, :class:`Extend`, :class:`FillRule`, :class:`Filter`, :class:`FontSlant`, :class:`FontWeight`, :class:`Format`, :class:`HintMetrics`, :class:`HintStyle`, :class:`LineCap`, :class:`LineJoin`, :class:`Operator`, :class:`PDFVersion`, :class:`PSLevel`, :class:`PathDataType`, :class:`RegionOverlap`, :class:`SVGVersion`, :class:`Status`, :class:`SubpixelOrder`. :bug:`26` All relevant constants are now an alias to attributes of those types e.g. :data:`ANTIALIAS_DEFAULT` is the same as :attr:`Antialias.DEFAULT`. All functions returning enum values now return instances of the new types e.g. :meth:`Context.get_antialias` returns a :class:`Antialias`. :attr:`Error.status` is now a :class:`Status`. * All included examples now work with Python 2 & 3 * All included examples using GTK+ have been ported to GTK+ 3/PyGObject 3 Fixes: * Fix the signature of the :class:`ImageSurface` buffer interface for Python 2 (int -> Py_ssize_t) * setup.py: Ensure "-fno-strict-aliasing" is used with Python 2. Testing: * Added travis-ci tests for flake8 and sphinx. :pr:`30`, :pr:`32` * The test suite now has optional tests for numpy and pygame integration. .. _v1.12.0: 1.12.0 - 2017-04-18 ------------------- General: * Require cairo 1.12.0 * Use C90 and enforce it on travis-ci. :bug:`5`, :fdobug:`22940` Constants: * Add various new cairo.OPERATOR_*, cairo.ANTIALIAS_* and cairo.FORMAT_* constants. :bug:`1` * Add :data:`HAS_MIME_SURFACE` and cairo.MIME_TYPE_*. :bug:`7`, :fdobug:`58771` * Add cairo.PDF_VERSION_*. :pr:`16` * Add cairo.SVG_VERSION_* :exc:`Error`: * Add a :data:`Error.status` attribute exposing cairo.STATUS_* * Add :exc:`CairoError` alias for :exc:`Error` for cairocffi compatibility :class:`Matrix`: * Expose matrix components as read/write properties. e.g. :data:`Matrix.xx` * Fix type checking of the multiplication operator under Python 3. :bug:`8`, :fdobug:`89162` (Lawrence D'Oliveiro) :class:`Surface`: * Add :meth:`Surface.set_mime_data`. :bug:`7`, :fdobug:`58771` * Add :meth:`Surface.get_mime_data`. :bug:`7`, :fdobug:`58771` * Add :meth:`Surface.supports_mime_type`. :bug:`7`, :fdobug:`58771` * Add :meth:`Surface.create_for_rectangle`. :pr:`13` * Add :meth:`Surface.create_similar_image`. :pr:`15` * Add :meth:`Surface.has_show_text_glyphs` * Fix crash when the surface wrapper gets deallocated before the surface object. :bug:`11` :class:`Context`: * Add :meth:`Context.in_clip`. :pr:`14` :class:`PDFSurface`: * Add :meth:`PDFSurface.restrict_to_version`. :pr:`16` * Add :meth:`PDFSurface.get_versions`. :pr:`16` * Add :meth:`PDFSurface.version_to_string`. :pr:`16` :class:`SVGSurface`: * Add :meth:`SVGSurface.restrict_to_version` * Add :meth:`SVGSurface.get_versions` * Add :meth:`SVGSurface.version_to_string` :class:`XCBSurface`: * Add :meth:`XCBSurface.set_size` :class:`PSSurface`: * Add :meth:`PSSurface.get_levels` * Add :meth:`PSSurface.level_to_string` :class:`Pattern`: * Add :meth:`Pattern.set_filter` * Add :meth:`Pattern.get_filter` :class:`RecordingSurface`: * Add :meth:`RecordingSurface.get_extents` :class:`FontOptions`: * Implement ``__eq__`` and ``__ne__`` * Add :meth:`FontOptions.copy` * Add :meth:`FontOptions.hash` * Add :meth:`FontOptions.equal` * Add :meth:`FontOptions.merge` :class:`ScaledFont`: * Add :meth:`ScaledFont.get_ctm` * Add :meth:`ScaledFont.get_font_matrix` * Add :meth:`ScaledFont.get_font_options` .. _v1.11.1: 1.11.1 - 2017-04-12 ------------------- This release fixes an ABI breakage. I missed that the original pycairo master had already broken ABI compared to 1.10.0. .. _v1.11.0: 1.11.0 - 2017-04-09 ------------------- This version is based on the Python 2 version of pycairo 1.10.0 and is API/ABI compatible with both py2cairo 1.10.0 and py3cairo 1.10.0. General Changes: * Requires cairo 1.10.2+ * Switch to semantic versioning * Switch build system to distutils/setup.py (xpyb integration can be enabled with passing ``--enable-xpyb`` to setup.py build) * Moved to GitHub: https://github.com/pygobject/pycairo New Features: * Python 3 support (API/ABI compatible with py3cairo 1.10.0) including support for :exc:`cairo.Error`, :meth:`cairo.ImageSurface.get_data` and :meth:`cairo.ImageSurface.create_for_data`, which were missing in py3cairo. * :class:`cairo.RecordingSurface` (:fdobug:`36854`, `Torsten Landschoff <t.landschoff@gmx.net>`__) * :class:`cairo.Region`, :class:`cairo.RectangleInt` and cairo.REGION_OVERLAP_* (:fdobug:`44336`, `Bug Fly <mozbugbox@yahoo.com.au>`__) Bug Fixes: * Fix crash when read()/write() methods of file objects passed to pycairo raise exceptions. * Fix possible value truncation of handles passed to Win32Surface and Win32PrintingSurface on 64bit Windows. :fdobug:`57493`
Revision 1.2 / (download) - annotate - [select for diffs], Sun Jun 14 17:59:26 2009 UTC (13 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2,
pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2,
pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3,
pkgsrc-2015Q2-base,
pkgsrc-2015Q2,
pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4,
pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2,
pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4,
pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2,
pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4,
pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1,
pkgsrc-2011Q4-base,
pkgsrc-2011Q4,
pkgsrc-2011Q3-base,
pkgsrc-2011Q3,
pkgsrc-2011Q2-base,
pkgsrc-2011Q2,
pkgsrc-2011Q1-base,
pkgsrc-2011Q1,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3,
pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4,
pkgsrc-2009Q3-base,
pkgsrc-2009Q3,
pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Changes since 1.1: +1 -3
lines
Diff to previous 1.1 (colored)
Remove @dirrm entries from PLISTs
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Apr 15 18:25:07 2006 UTC (16 years, 9 months ago) by minskim
Branch: TNF
CVS Tags: pkgsrc-base,
pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
pkgsrc-2008Q2-base,
pkgsrc-2008Q2,
pkgsrc-2008Q1-base,
pkgsrc-2008Q1,
pkgsrc-2007Q4-base,
pkgsrc-2007Q4,
pkgsrc-2007Q3-base,
pkgsrc-2007Q3,
pkgsrc-2007Q2-base,
pkgsrc-2007Q2,
pkgsrc-2007Q1-base,
pkgsrc-2007Q1,
pkgsrc-2006Q4-base,
pkgsrc-2006Q4,
pkgsrc-2006Q3-base,
pkgsrc-2006Q3,
pkgsrc-2006Q2-base,
pkgsrc-2006Q2,
cwrapper,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Import py-cairo from pkgsrc-wip. Packaged by Christoph Leuzinger in PR pkg/33256. Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, win32, and image buffers. Experimental backends include OpenGL (through glitz), Quartz, XCB, PostScript and PDF file output. This package contains the Python bindings for Cairo.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 15 18:25:07 2006 UTC (16 years, 9 months ago) by minskim
Branch: MAIN
Initial revision