pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-unidiff
Module Name: pkgsrc
Committed By: adam
Date: Sun Aug 9 06:36:48 UTC 2026
Modified Files:
pkgsrc/devel/py-unidiff: Makefile PLIST distinfo
Log Message:
py-unidiff: updated to 1.0.0
1.0.0 - 2026-07-25
* Dropped Python 2 support; the minimum supported version is now Python 3.9.
* Converted to real PEP 484 type annotations and generic containers, and
shipped a py.typed marker
* Migrated packaging to pyproject.toml; the sdist now includes the tests
* Replaced Travis CI with GitHub Actions (tests + mypy).
* Exposed git file modes via PatchedFile.source_mode / target_mode and an
is_symlink property
* Added support for git mnemonic source/target prefixes (i/ w/ c/ o/ and
1/ 2/), which also fixes `git diff --cached` paths
* Exposed PatchedFile.diff_line_no to locate hunkless (e.g. binary) file
entries in the diff
* PatchSet and PatchSet.from_string now accept bytes input directly,
decoding with the given encoding (default UTF-8)
* PatchSet.from_filename and PatchSet.from_string now accept the
metadata_only argument.
* Parse diffs with empty filenames, e.g. difflib.unified_diff output
* Fixed a trailing-newline parse error on hunkless files in git
format-patch output
* Documented parsing of content with embedded carriage returns / control
characters
* Rewrote the README in Markdown.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-unidiff/Makefile \
pkgsrc/devel/py-unidiff/PLIST pkgsrc/devel/py-unidiff/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-unidiff/Makefile
diff -u pkgsrc/devel/py-unidiff/Makefile:1.1 pkgsrc/devel/py-unidiff/Makefile:1.2
--- pkgsrc/devel/py-unidiff/Makefile:1.1 Tue Feb 17 21:59:11 2026
+++ pkgsrc/devel/py-unidiff/Makefile Sun Aug 9 06:36:48 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2026/02/17 21:59:11 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2026/08/09 06:36:48 adam Exp $
-DISTNAME= python-unidiff-0.7.5
+DISTNAME= python-unidiff-1.0.0
PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_GITHUB:=matiasb/}
@@ -12,13 +12,13 @@ HOMEPAGE= https://pypi.python.org/pypi/u
COMMENT= Unified diff python parsing/metadata extraction library
LICENSE= mit
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+
+WHEEL_NAME= ${DISTNAME:S/python-//}
USE_LANGUAGES= # none
-post-install:
- ${RUN} ${MV} ${DESTDIR}${PREFIX}/bin/unidiff \
- ${DESTDIR}${PREFIX}/bin/unidiff${PYVERSSUFFIX}
+PY_RENAME_BINARIES= unidiff
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-unidiff/PLIST
diff -u pkgsrc/devel/py-unidiff/PLIST:1.1 pkgsrc/devel/py-unidiff/PLIST:1.2
--- pkgsrc/devel/py-unidiff/PLIST:1.1 Tue Feb 17 21:59:11 2026
+++ pkgsrc/devel/py-unidiff/PLIST Sun Aug 9 06:36:48 2026
@@ -1,13 +1,18 @@
-@comment $NetBSD: PLIST,v 1.1 2026/02/17 21:59:11 wiz Exp $
-bin/unidiff${PYVERSSUFFIX}
-${PYSITELIB}/unidiff-${PKGVERSION}.dist-info/METADATA
-${PYSITELIB}/unidiff-${PKGVERSION}.dist-info/RECORD
-${PYSITELIB}/unidiff-${PKGVERSION}.dist-info/WHEEL
-${PYSITELIB}/unidiff-${PKGVERSION}.dist-info/licenses/LICENSE
-${PYSITELIB}/unidiff-${PKGVERSION}.dist-info/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2026/08/09 06:36:48 adam Exp $
+bin/unidiff-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/unidiff/__init__.py
${PYSITELIB}/unidiff/__init__.pyc
${PYSITELIB}/unidiff/__init__.pyo
+${PYSITELIB}/unidiff/__main__.py
+${PYSITELIB}/unidiff/__main__.pyc
+${PYSITELIB}/unidiff/__main__.pyo
${PYSITELIB}/unidiff/__version__.py
${PYSITELIB}/unidiff/__version__.pyc
${PYSITELIB}/unidiff/__version__.pyo
@@ -20,3 +25,4 @@ ${PYSITELIB}/unidiff/errors.pyo
${PYSITELIB}/unidiff/patch.py
${PYSITELIB}/unidiff/patch.pyc
${PYSITELIB}/unidiff/patch.pyo
+${PYSITELIB}/unidiff/py.typed
Index: pkgsrc/devel/py-unidiff/distinfo
diff -u pkgsrc/devel/py-unidiff/distinfo:1.1 pkgsrc/devel/py-unidiff/distinfo:1.2
--- pkgsrc/devel/py-unidiff/distinfo:1.1 Tue Feb 17 21:59:11 2026
+++ pkgsrc/devel/py-unidiff/distinfo Sun Aug 9 06:36:48 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2026/02/17 21:59:11 wiz Exp $
+$NetBSD: distinfo,v 1.2 2026/08/09 06:36:48 adam Exp $
-BLAKE2s (python-unidiff-0.7.5.tar.gz) = efc397e2350f276c97890d1ca3ec5c75bfc446175f826d60280a58aa92db6b33
-SHA512 (python-unidiff-0.7.5.tar.gz) = 50955aae18e9f16f515c539ef19a0238010003fc2ecf20d61c0f291a65719f90fb3aac1210f30a9b1ff47cda58d1e0bd92b2c23e5c0e380120a22dd57e9230fc
-Size (python-unidiff-0.7.5.tar.gz) = 18334 bytes
+BLAKE2s (python-unidiff-1.0.0.tar.gz) = 300f9732dc5c1bd6d3d8813131e7c68726b16f48e09074c1af723a5630ceba77
+SHA512 (python-unidiff-1.0.0.tar.gz) = c0cc26f3450e075ce506a233bcae83977c03ee15937e3f035cc04e8eb28080922dce755921305ba166ce7df6707cdb2ad37a0be2de636ea3c18ef0e679ade787
+Size (python-unidiff-1.0.0.tar.gz) = 25425 bytes
Home |
Main Index |
Thread Index |
Old Index