CVS commit: pkgsrc/devel/py-titlecase
"Thomas Klausner" <[email protected]> Mon, 3 Aug 2026 17:46:56 +0000
| Newsgroups | gmane.os.netbsd.devel.pkgsrc.cvs |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--_----------=_178577921615880
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="US-ASCII"
Module Name: pkgsrc
Committed By: wiz
Date: Mon Aug 3 17:46:56 UTC 2026
Added Files:
pkgsrc/devel/py-titlecase: DESCR Makefile PLIST distinfo
Log Message:
devel/py-titlecase: import py-titlecase-2.4.1
This filter changes a given text to Title Caps, and attempts to be
clever about SMALL words like a/an/the in the input. The list of
"SMALL words" which are not capped comes from the New York Times
Manual of Style, plus some others like 'vs' and 'v'.
The filter employs some heuristics to guess abbreviations that
don't need conversion.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-titlecase/DESCR \
pkgsrc/devel/py-titlecase/Makefile pkgsrc/devel/py-titlecase/PLIST \
pkgsrc/devel/py-titlecase/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
--_----------=_178577921615880
Content-Disposition: inline
Content-Length: 2686
Content-Transfer-Encoding: binary
Content-Type: text/x-diff; charset=us-ascii
Added files:
Index: pkgsrc/devel/py-titlecase/DESCR
diff -u /dev/null pkgsrc/devel/py-titlecase/DESCR:1.1
--- /dev/null Mon Aug 3 17:46:56 2026
+++ pkgsrc/devel/py-titlecase/DESCR Mon Aug 3 17:46:56 2026
@@ -0,0 +1,7 @@
+This filter changes a given text to Title Caps, and attempts to be
+clever about SMALL words like a/an/the in the input. The list of
+"SMALL words" which are not capped comes from the New York Times
+Manual of Style, plus some others like 'vs' and 'v'.
+
+The filter employs some heuristics to guess abbreviations that
+don't need conversion.
Index: pkgsrc/devel/py-titlecase/Makefile
diff -u /dev/null pkgsrc/devel/py-titlecase/Makefile:1.1
--- /dev/null Mon Aug 3 17:46:56 2026
+++ pkgsrc/devel/py-titlecase/Makefile Mon Aug 3 17:46:56 2026
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2026/08/03 17:46:56 wiz Exp $
+
+DISTNAME= titlecase-2.4.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=t/titlecase/}
+
+MAINTAINER= [email protected]
+HOMEPAGE= https://github.com/ppannuto/python-titlecase
+COMMENT= Python Port of John Gruber's titlecase.pl
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=0:../../devel/py-setuptools_scm
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-titlecase/PLIST
diff -u /dev/null pkgsrc/devel/py-titlecase/PLIST:1.1
--- /dev/null Mon Aug 3 17:46:56 2026
+++ pkgsrc/devel/py-titlecase/PLIST Mon Aug 3 17:46:56 2026
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2026/08/03 17:46:56 wiz Exp $
+bin/titlecase
+${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}/titlecase/__init__.py
+${PYSITELIB}/titlecase/__init__.pyc
+${PYSITELIB}/titlecase/__init__.pyo
+${PYSITELIB}/titlecase/tests.py
+${PYSITELIB}/titlecase/tests.pyc
+${PYSITELIB}/titlecase/tests.pyo
Index: pkgsrc/devel/py-titlecase/distinfo
diff -u /dev/null pkgsrc/devel/py-titlecase/distinfo:1.1
--- /dev/null Mon Aug 3 17:46:56 2026
+++ pkgsrc/devel/py-titlecase/distinfo Mon Aug 3 17:46:56 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/08/03 17:46:56 wiz Exp $
+
+BLAKE2s (titlecase-2.4.1.tar.gz) = 9d2db0e5d481e5f233639806adf57b313b15b2cf2b282f5fb200efc67efde099
+SHA512 (titlecase-2.4.1.tar.gz) = 5c726d5d46852196ab0f04b18b733e7fe0c5af09004f1f90107cf14b24cad6349d63d3fbe368285cbe1456e40aac344bf19191ac5dabed52da6492273304f778
+Size (titlecase-2.4.1.tar.gz) = 14434 bytes
--_----------=_178577921615880--