pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-construct-classes



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 26 11:44:12 UTC 2025

Modified Files:
        pkgsrc/devel/py-construct-classes: Makefile PLIST distinfo

Log Message:
py-construct-classes: updated to 0.2.2

0.2.2 - 2025-08-26

Removed

- Drop support for Pythons 3.9 and older. This was broken in 0.2 and improperly marked
  by the package metadata.

0.2.1 - 2025-08-25

Fixed

- Fix exception when creating a subclass of a subclass of :code:`Struct`.

0.2.0 - 2025-08-25

Added

- Allow pass-through of dataclass arguments via class attributes.

Incompatible changes

- Subclasses of :code:`Struct` are now :code:`kw_only` by default. This will break
  any constructor invocations using positional arguments. You can explicitly
  set :code:`kw_only=False` on your :code:`Struct` subclass to restore the old
  behavior.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/py-construct-classes/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-construct-classes/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-construct-classes/distinfo

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

Modified files:

Index: pkgsrc/devel/py-construct-classes/Makefile
diff -u pkgsrc/devel/py-construct-classes/Makefile:1.4 pkgsrc/devel/py-construct-classes/Makefile:1.5
--- pkgsrc/devel/py-construct-classes/Makefile:1.4      Sun Sep 28 19:01:57 2025
+++ pkgsrc/devel/py-construct-classes/Makefile  Wed Nov 26 11:44:12 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2025/09/28 19:01:57 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2025/11/26 11:44:12 adam Exp $
 
-DISTNAME=      construct-classes-0.1.2
-PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   2
+DISTNAME=      construct_classes-0.2.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/construct-classes/}
 
@@ -11,7 +10,8 @@ HOMEPAGE=     https://github.com/matejcik/co
 COMMENT=       Parse your binary structs into dataclasses
 LICENSE=       mit
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=2.2.1:../../devel/py-poetry-core
+TOOL_DEPENDS+= ${PYPKGPREFIX}-uv-build>=0.8.13:../../devel/py-uv-build
+DEPENDS+=      ${PYPKGPREFIX}-construct>=2.10:../../devel/py-construct
 
 USE_LANGUAGES= # none
 

Index: pkgsrc/devel/py-construct-classes/PLIST
diff -u pkgsrc/devel/py-construct-classes/PLIST:1.3 pkgsrc/devel/py-construct-classes/PLIST:1.4
--- pkgsrc/devel/py-construct-classes/PLIST:1.3 Sun Sep 28 19:01:57 2025
+++ pkgsrc/devel/py-construct-classes/PLIST     Wed Nov 26 11:44:12 2025
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.3 2025/09/28 19:01:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2025/11/26 11:44:12 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/construct_classes/__init__.py
 ${PYSITELIB}/construct_classes/__init__.pyc
 ${PYSITELIB}/construct_classes/__init__.pyo

Index: pkgsrc/devel/py-construct-classes/distinfo
diff -u pkgsrc/devel/py-construct-classes/distinfo:1.1 pkgsrc/devel/py-construct-classes/distinfo:1.2
--- pkgsrc/devel/py-construct-classes/distinfo:1.1      Sat Sep 14 23:56:47 2024
+++ pkgsrc/devel/py-construct-classes/distinfo  Wed Nov 26 11:44:12 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2024/09/14 23:56:47 js Exp $
+$NetBSD: distinfo,v 1.2 2025/11/26 11:44:12 adam Exp $
 
-BLAKE2s (construct-classes-0.1.2.tar.gz) = 5ccf749a6e543227c75fcfae982baf608137b9c084cd413bf8bcb2a959eb04a7
-SHA512 (construct-classes-0.1.2.tar.gz) = 325fc1114d672a679323f90893298078f6f9793806da072bacc264856cc97e53b78d94e51b5767fde059eec6a2f520ee0c21d9b508897de716a17a01ea37248f
-Size (construct-classes-0.1.2.tar.gz) = 5018 bytes
+BLAKE2s (construct_classes-0.2.2.tar.gz) = 0ffb89c48a75bc38aea39e8ab2c283bdebb7a5ac87e521d82d37b42de1090ab9
+SHA512 (construct_classes-0.2.2.tar.gz) = b9d262e2604506e52dd997fd9faf9e60506870adf58e2124facbeff025b1e7917ad2604b096adf56955d4365bfe36eb88f0ad75d1c98c2d27175cdad8fb65e7b
+Size (construct_classes-0.2.2.tar.gz) = 4622 bytes



Home | Main Index | Thread Index | Old Index