pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-cairo



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Apr 20 20:00:13 UTC 2025

Modified Files:
        pkgsrc/graphics/py-cairo: Makefile Makefile.common distinfo

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`


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 pkgsrc/graphics/py-cairo/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/py-cairo/Makefile.common
cvs rdiff -u -r1.39 -r1.40 pkgsrc/graphics/py-cairo/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/py-cairo/Makefile
diff -u pkgsrc/graphics/py-cairo/Makefile:1.88 pkgsrc/graphics/py-cairo/Makefile:1.89
--- pkgsrc/graphics/py-cairo/Makefile:1.88      Fri Sep 13 08:24:44 2024
+++ pkgsrc/graphics/py-cairo/Makefile   Sun Apr 20 20:00:12 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2024/09/13 08:24:44 wiz Exp $
+# $NetBSD: Makefile,v 1.89 2025/04/20 20:00:12 wiz Exp $
 
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/py//}
 
@@ -10,8 +10,6 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-meson_pyth
 
 USE_TOOLS+=    pkg-config
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.13.1
 .include "../../graphics/cairo/buildlink3.mk"
 .include "../../graphics/py-cairo-shared/buildlink3.mk"

Index: pkgsrc/graphics/py-cairo/Makefile.common
diff -u pkgsrc/graphics/py-cairo/Makefile.common:1.4 pkgsrc/graphics/py-cairo/Makefile.common:1.5
--- pkgsrc/graphics/py-cairo/Makefile.common:1.4        Fri Sep 13 08:24:44 2024
+++ pkgsrc/graphics/py-cairo/Makefile.common    Sun Apr 20 20:00:12 2025
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile.common,v 1.4 2024/09/13 08:24:44 wiz Exp $
+# $NetBSD: Makefile.common,v 1.5 2025/04/20 20:00:12 wiz Exp $
 #
 # used by graphics/py-cairo/Makefile
 # used by graphics/py-cairo-shared/Makefile
 
-PYCAIRO_VER=   1.27.0
+PYCAIRO_VER=   1.28.0
 DISTNAME=      pycairo-${PYCAIRO_VER}
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycairo/}

Index: pkgsrc/graphics/py-cairo/distinfo
diff -u pkgsrc/graphics/py-cairo/distinfo:1.39 pkgsrc/graphics/py-cairo/distinfo:1.40
--- pkgsrc/graphics/py-cairo/distinfo:1.39      Fri Sep 13 08:24:44 2024
+++ pkgsrc/graphics/py-cairo/distinfo   Sun Apr 20 20:00:12 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2024/09/13 08:24:44 wiz Exp $
+$NetBSD: distinfo,v 1.40 2025/04/20 20:00:12 wiz Exp $
 
-BLAKE2s (pycairo-1.27.0.tar.gz) = 39e576bd65b4e1c9a175c99f0b94684ad526dd10bf0e93381e68fbee1ba61f4a
-SHA512 (pycairo-1.27.0.tar.gz) = 1b077917b1d99262da1c1d2ff85ae841dd0ff715925a5a20032162aa876576d966fc6b30c154343cc45f104cce243887de9b5f14af1e15775cb71b6c11e553a6
-Size (pycairo-1.27.0.tar.gz) = 661450 bytes
+BLAKE2s (pycairo-1.28.0.tar.gz) = b00c0cd20b696f4b0f5be7919be7a0e02b0ef8565fcff54c73eabeb2dff6b7a1
+SHA512 (pycairo-1.28.0.tar.gz) = d3fcb6641ad6dcf9b804dbc2a372f653619512e139fb7a196bb1219b00f60e79e5d60fbbddc2e6a0afb959f9fcb37f1f3c460ad6331274581cb241434865b5a5
+Size (pycairo-1.28.0.tar.gz) = 662477 bytes



Home | Main Index | Thread Index | Old Index