pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-incremental



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jul 28 10:26:08 UTC 2024

Modified Files:
        pkgsrc/devel/py-incremental: Makefile PLIST distinfo

Log Message:
py-incremental: updated to 24.7.1

Incremental 24.7.1 (2024-07-27)

Bugfixes

- Incremental 24.7.0 would produce an error when parsing the ``pyproject.toml`` of a project that lacked the ``use_incremental=True`` or ``[tool.incremental]`` opt-in markers if that file lacked a 
``[project]`` section containing the package name. This could cause a project that only uses ``pyproject.toml`` to configure tools to fail to build if Incremental is installed. Incremental now 
ignores such projects.

Incremental 24.7.0 (2024-07-25)

Features

- Incremental can now be configured using ``pyproject.toml``.
- Incremental now provides a read-only `Hatchling version source plugin <https://hatch.pypa.io/latest/plugins/version-source/reference/>`_.

Bugfixes

- Incremental no longer inserts a dot before the rc version component (i.e., ``1.2.3rc1`` instead of ``1.2.3.rc1``), resulting in version numbers in the `canonical format 
<https://packaging.python.org/en/latest/specifications/version-specifiers/#public-version-identifiers>`__.
- Incremental's tests are now included in the sdist release artifact.

Deprecations and Removals

- ``incremental[scripts]`` no longer depends on Twisted.
- Support for Python 2.7 has been dropped for lack of test infrastructure. We no longer provide universal wheels.
- Support for Python 3.5, 3.6, and 3.7 has been dropped for lack of test infrastructure.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-incremental/Makefile \
    pkgsrc/devel/py-incremental/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-incremental/PLIST

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-incremental/Makefile
diff -u pkgsrc/devel/py-incremental/Makefile:1.6 pkgsrc/devel/py-incremental/Makefile:1.7
--- pkgsrc/devel/py-incremental/Makefile:1.6    Thu May  4 21:00:23 2023
+++ pkgsrc/devel/py-incremental/Makefile        Sun Jul 28 10:26:08 2024
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2023/05/04 21:00:23 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2024/07/28 10:26:08 adam Exp $
 
-DISTNAME=      incremental-22.10.0
+DISTNAME=      incremental-24.7.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=i/incremental/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -10,9 +10,18 @@ HOMEPAGE=    https://github.com/hawkowl/inc
 COMMENT=       Small library that versions your Python projects
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-setuptools>=61.0:../../devel/py-setuptools
+TEST_DEPENDS+= ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 311
+DEPENDS+=      ${PYPKGPREFIX}-tomli-[0-9]*:../../textproc/py-tomli
+.endif
+
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-incremental/distinfo
diff -u pkgsrc/devel/py-incremental/distinfo:1.6 pkgsrc/devel/py-incremental/distinfo:1.7
--- pkgsrc/devel/py-incremental/distinfo:1.6    Sun Apr 30 17:17:22 2023
+++ pkgsrc/devel/py-incremental/distinfo        Sun Jul 28 10:26:08 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2023/04/30 17:17:22 wiz Exp $
+$NetBSD: distinfo,v 1.7 2024/07/28 10:26:08 adam Exp $
 
-BLAKE2s (incremental-22.10.0.tar.gz) = 6186eae61591998889fe49962e871aa0da47a21ca4eb6d1ede8266af3336b9a5
-SHA512 (incremental-22.10.0.tar.gz) = 23a7572db731d1dd9871d309a02f8a29a92b7f1d897e64a2fe053575e7b486ec87e54d5ae9658eb1a82f90ba36b1b1694b58a991d841553f6cb98983725a49c3
-Size (incremental-22.10.0.tar.gz) = 18305 bytes
+BLAKE2s (incremental-24.7.1.tar.gz) = 9cb748aa95d222d733fb89253c6d3c35967ab4fd365c4eae8c90bb8579a3ad75
+SHA512 (incremental-24.7.1.tar.gz) = 1226b6a2b01e29c559371e0a4ab49524fd8ee2659d43fb85e61da5ba56f556dc904753d6ee4e85dc389813fd3b9a12bf0ab8d178c091c6dce686e788f78025ad
+Size (incremental-24.7.1.tar.gz) = 26768 bytes

Index: pkgsrc/devel/py-incremental/PLIST
diff -u pkgsrc/devel/py-incremental/PLIST:1.2 pkgsrc/devel/py-incremental/PLIST:1.3
--- pkgsrc/devel/py-incremental/PLIST:1.2       Sun Apr 30 17:17:22 2023
+++ pkgsrc/devel/py-incremental/PLIST   Sun Jul 28 10:26:08 2024
@@ -1,14 +1,16 @@
-@comment $NetBSD: PLIST,v 1.2 2023/04/30 17:17:22 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.3 2024/07/28 10:26:08 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/incremental/__init__.py
 ${PYSITELIB}/incremental/__init__.pyc
 ${PYSITELIB}/incremental/__init__.pyo
+${PYSITELIB}/incremental/_hatch.py
+${PYSITELIB}/incremental/_hatch.pyc
+${PYSITELIB}/incremental/_hatch.pyo
 ${PYSITELIB}/incremental/_version.py
 ${PYSITELIB}/incremental/_version.pyc
 ${PYSITELIB}/incremental/_version.pyo
@@ -16,6 +18,9 @@ ${PYSITELIB}/incremental/py.typed
 ${PYSITELIB}/incremental/tests/__init__.py
 ${PYSITELIB}/incremental/tests/__init__.pyc
 ${PYSITELIB}/incremental/tests/__init__.pyo
+${PYSITELIB}/incremental/tests/test_pyproject.py
+${PYSITELIB}/incremental/tests/test_pyproject.pyc
+${PYSITELIB}/incremental/tests/test_pyproject.pyo
 ${PYSITELIB}/incremental/tests/test_update.py
 ${PYSITELIB}/incremental/tests/test_update.pyc
 ${PYSITELIB}/incremental/tests/test_update.pyo



Home | Main Index | Thread Index | Old Index