./graphics/py-cairo, Python bindings for cairo

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.27.0, Package name: py312-cairo-1.27.0, Maintainer: leuzi

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.


Required to run:
[graphics/cairo] [devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/x11-links] [x11/xcb-proto] [pkgtools/cwrappers] [x11/xorgproto]

Master sites:

Filesize: 645.947 KB

Version history: (Expand)


CVS history: (Expand)


   2025-04-20 22:00:13 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-cairo: update to 1.28.0.

1.28.0 - 2025-04-14
-------------------

* Changes:
    * Remove hypothesis test dependency :pr:`398`
    * Updated cairo in Windows wheels from 1.18.2 to 1.18.4 :pr:`393`
    * Release the input buffer passed to :meth:`ImageSurface.create_for_data`
      when calling :meth:`Surface.finish` already, not just when the underlying
      surface is destroyed :pr:`405` :bug:`392`
    * Return a :class:`PathDataType` (:class:`int` subtype) instead of
      :class:`int` with :meth:`Path.__iter__` :pr:`410`. This was missed in the
      1.13.0 enum change.
    * Emit a :class:`DeprecationWarning` in case :meth:`ImageSurface.get_data`
      is called on an already finished surface :pr:`400` :pr:`412`. In a future
      version this will raise an exception instead.
    * Emit a :class:`DeprecationWarning` for the undocumented ``num_glyphs``
      parameter in :meth:`Context.glyph_extents`, :meth:`Context.glyph_path`,
      :meth:`Context.show_glyphs`, :meth:`ScaledFont.glyph_extents` :pr:`409`
* Fixes:
    * Remove the executable bit from `cairo/__init__.py` :pr:`383`
    * Remove usage of removed ``typing.ByteString`` to fix compatibility with
      Python 3.14.0a1 :pr:`389`
    * docs: Fix pygame integration example using the wrong format :pr:`411`
* Typing fixes (no API changes, just type annotations):
    * Include `os.PathLike` for parameters accepting file paths :pr:`401`
    * For :meth:`ImageSurface.create_for_data` include all writable buffer types
      and not just :class:`memoryview` :pr:`402`
    * Add missing `Optional` for :meth:`Surface.set_mime_data`,
      :meth:`SVGSurface.__init__` :meth:`PDFSurface.__init__`,
      :meth:`PSSurface.__init__`, :meth:`RecordingSurface.__init__` :pr:`404`
    * Add various missing :class:`Path` dunder methods like `__iter__`,
      `__eq__`, `__lt__`, etc. :pr:`408`
    * Add missing `__getitem__` and `__mul__` for :class:`Matrix` :pr:`408`
   2024-09-13 10:24:44 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
py-cairo*: update to 1.27.0

1.27.0 - 2024-09-06
-------------------

This release only contains build related changes/fixes and no API changes.

* Drop support for Python 3.8
* Add Windows wheels for Python 3.13
* Updated cairo in Windows wheels from 1.18.0 to 1.18.2
* Port PEP517/wheel build from setuptools to meson-python. This means setup.py
  is gone. System packagers should not switch to wheel builds and continue using
  meson directly.
* meson: install the package metadata to .dist-info/METADATA instead of .egg-info
* Drop arm64 Windows wheels again. pypa/cibuildwheel does not support cross
  compiling with meson-python. They might be added back in the future if GitHub
  Actions gains a native Windows runner with arm64 support.
   2024-06-28 19:16:47 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-cairo*: update to 1.26.1

1.26.1 - 2024-06-21
-------------------

* Fix Surface.set_mime_data() with Python 3.13 :pr:`366`
  This also fixes the test suite with Python 3.13b2.
* Update vendored Windows wheel dependencies :pr:`370`
   2024-04-07 09:35:33 by Thomas Klausner | Files touched by this commit (1138)
Log message:
*: bump for cairo buildlink3.mk change

lzo was made an option
   2024-02-19 13:40:56 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
py-cairo*: update to 1.26.0

1.26.0 - 2024-02-11
-------------------

This release only contains build related changes/fixes and no API changes.

* Bump minimum required meson version from 0.56.0 to 0.64.0 :pr:`346`
* Various meson related cleanups :pr:`350`
* Fix header file being installed to the wrong location with meson on some \ 
systems :pr:`350`
* Adds a new ``wheel`` meson build option as preparation for meson-python \ 
support :pr:`350` :pr:`345`
* Update dependencies (libpng, pixman, zlib) of the Windows wheels :pr:`358`
* Various maintenance related updates :pr:`360` :pr:`359` :pr:`361` :pr:`362`
   2023-11-21 20:56:37 by Mark Davies | Files touched by this commit (4)
Log message:
py-cairo{,-shared}: split non python version specific files
into a separate package (py-cairo-shared) and convert back to wheel.mk
   2023-11-15 22:03:57 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-cairo: de-support Python 2 in buildlink3.mk

Too fragile, broke twice in the last week, and no users left that need it
   2023-11-15 14:00:02 by Jonathan Perkin | Files touched by this commit (1)
Log message:
py-cairo: Fix revbump again.