pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-slugify
Module Name: pkgsrc
Committed By: adam
Date: Wed Sep 23 09:25:09 UTC 2026
Modified Files:
pkgsrc/devel/py-slugify: Makefile PLIST distinfo
Log Message:
py-slugify: updated to 9.1.1
9.1.1
- Modern mode only: avoid emitting a trailing separator when a hard cut truncates through repeated post-replacement delimiters, keeping the delimiter run with the next word that fits. Legacy output
and public `smart_truncate` are unchanged.
9.1.0
- Modern mode only: decode uppercase `&#X..;` hexadecimal references as HTML allows, in addition to lowercase `&#x..;`. Legacy output is unchanged.
- Modern mode only: preserve post-replacement output when the whole slug already fits `max_length`, so intentional repeated/trailing delimiters are not collapsed at the length limit. Public
`smart_truncate` is unchanged.
- Fix `add_uppercase_char` to apply insertions atomically, leaving the input list unchanged if iteration fails. Built-in transliteration tables are unaffected.
- Modern mode only: validate argument types up front, raising `TypeError` for a `bool`/non-int `max_length` (`bool` is an `int` subclass) or a non-str `separator`. Legacy behavior is unchanged and
still treats `max_length=True` as its historical single-character truncation.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/py-slugify/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-slugify/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/py-slugify/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-slugify/Makefile
diff -u pkgsrc/devel/py-slugify/Makefile:1.11 pkgsrc/devel/py-slugify/Makefile:1.12
--- pkgsrc/devel/py-slugify/Makefile:1.11 Sat Apr 12 20:54:47 2025
+++ pkgsrc/devel/py-slugify/Makefile Wed Sep 23 09:25:09 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2025/04/12 20:54:47 adam Exp $
+# $NetBSD: Makefile,v 1.12 2026/09/23 09:25:09 adam Exp $
-DISTNAME= python-slugify-8.0.4
-PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python-//}
-PKGREVISION= 1
+DISTNAME= python_slugify-9.1.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^python_//}
CATEGORIES= devel www python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-slugify/}
@@ -18,9 +17,7 @@ DEPENDS+= ${PYPKGPREFIX}-text-unidecode>
USE_LANGUAGES= # none
-post-install:
- cd ${DESTDIR}${PREFIX}/bin && \
- ${MV} slugify slugify-${PYVERSSUFFIX} || ${TRUE}
+PY_RENAME_BINARIES= slugify
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-slugify/PLIST
diff -u pkgsrc/devel/py-slugify/PLIST:1.5 pkgsrc/devel/py-slugify/PLIST:1.6
--- pkgsrc/devel/py-slugify/PLIST:1.5 Sat Apr 12 20:54:47 2025
+++ pkgsrc/devel/py-slugify/PLIST Wed Sep 23 09:25:09 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2025/04/12 20:54:47 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2026/09/23 09:25:09 adam Exp $
bin/slugify-${PYVERSSUFFIX}
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -15,6 +15,9 @@ ${PYSITELIB}/slugify/__main__.pyo
${PYSITELIB}/slugify/__version__.py
${PYSITELIB}/slugify/__version__.pyc
${PYSITELIB}/slugify/__version__.pyo
+${PYSITELIB}/slugify/_legacy.py
+${PYSITELIB}/slugify/_legacy.pyc
+${PYSITELIB}/slugify/_legacy.pyo
${PYSITELIB}/slugify/py.typed
${PYSITELIB}/slugify/slugify.py
${PYSITELIB}/slugify/slugify.pyc
Index: pkgsrc/devel/py-slugify/distinfo
diff -u pkgsrc/devel/py-slugify/distinfo:1.9 pkgsrc/devel/py-slugify/distinfo:1.10
--- pkgsrc/devel/py-slugify/distinfo:1.9 Fri Feb 9 06:32:14 2024
+++ pkgsrc/devel/py-slugify/distinfo Wed Sep 23 09:25:09 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.9 2024/02/09 06:32:14 adam Exp $
+$NetBSD: distinfo,v 1.10 2026/09/23 09:25:09 adam Exp $
-BLAKE2s (python-slugify-8.0.4.tar.gz) = e18e8afd72dd5f02b653b07d0947117a711b29ad28c444dff75b8e5f40209b10
-SHA512 (python-slugify-8.0.4.tar.gz) = cd330a547556431abb25637d616d626d0977270bc3839247e73515d135883bb5b3e0adbd64edcd6f5d5d6bf10450a873d9abbea38fd04c344b04bafcc2b81aae
-Size (python-slugify-8.0.4.tar.gz) = 10921 bytes
+BLAKE2s (python_slugify-9.1.1.tar.gz) = 6fee1238a5b0a7d06a25c202b2e40353f18fe682c276a512bcefd5dc80921be2
+SHA512 (python_slugify-9.1.1.tar.gz) = 043440766012745017a7dd4b3ea209efa4a6828d959e7d21027bd00cc3c905e634953c73955ab47ada122f4943176cfdcfc7f22bb3f5332119252e07b5929ae4
+Size (python_slugify-9.1.1.tar.gz) = 64108 bytes
Home |
Main Index |
Thread Index |
Old Index