pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/py-inflect
Module Name: pkgsrc
Committed By: adam
Date: Sun Nov 6 18:08:15 UTC 2022
Modified Files:
pkgsrc/lang/py-inflect: DESCR Makefile PLIST distinfo
Log Message:
py-inflect: updated to 6.0.2
v6.0.2
======
* Require pydantic 1.9.1 to avoid ``ValueError``.
v6.0.1
======
* Minor tweaks and packaging refresh.
v6.0.0
======
* ``compare`` methods now validate their inputs
and will raise a more meaningful exception if an
empty string or None is passed. This expectation is now
documented.
* Many public methods now perform validation on arguments.
An empty string is no longer allowed for words or text.
Callers are expected to pass non-empty text or trap
the validation errors that are raised. The exceptions
raised are ``pydantic.error_wrappers.ValidationError``,
which are currently a subclass of ``ValueError``, but since
that
`may change <https://pydantic-docs.helpmanual.io/usage/validation_decorator/#validation-exception>`_,
tests check for a generic ``Exception``.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/py-inflect/DESCR \
pkgsrc/lang/py-inflect/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/py-inflect/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/py-inflect/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/py-inflect/DESCR
diff -u pkgsrc/lang/py-inflect/DESCR:1.1 pkgsrc/lang/py-inflect/DESCR:1.2
--- pkgsrc/lang/py-inflect/DESCR:1.1 Thu Mar 12 07:12:05 2020
+++ pkgsrc/lang/py-inflect/DESCR Sun Nov 6 18:08:15 2022
@@ -1,3 +1,3 @@
This python module provides plural inflections, singular noun
-inflections, "a"/"a"” selection for English words, and manipulation
+inflections, "a"/"a" selection for English words, and manipulation
of numbers as words.
Index: pkgsrc/lang/py-inflect/PLIST
diff -u pkgsrc/lang/py-inflect/PLIST:1.1 pkgsrc/lang/py-inflect/PLIST:1.2
--- pkgsrc/lang/py-inflect/PLIST:1.1 Thu Mar 12 07:12:05 2020
+++ pkgsrc/lang/py-inflect/PLIST Sun Nov 6 18:08:15 2022
@@ -1,9 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1 2020/03/12 07:12:05 wiz Exp $
-${PYSITELIB}/inflect.pyo
-${PYSITELIB}/inflect.pyc
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/inflect.py
+@comment $NetBSD: PLIST,v 1.2 2022/11/06 18:08:15 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/inflect/__init__.py
+${PYSITELIB}/inflect/__init__.pyc
+${PYSITELIB}/inflect/py.typed
Index: pkgsrc/lang/py-inflect/Makefile
diff -u pkgsrc/lang/py-inflect/Makefile:1.4 pkgsrc/lang/py-inflect/Makefile:1.5
--- pkgsrc/lang/py-inflect/Makefile:1.4 Tue Jan 25 09:05:11 2022
+++ pkgsrc/lang/py-inflect/Makefile Sun Nov 6 18:08:15 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/01/25 09:05:11 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/11/06 18:08:15 adam Exp $
-DISTNAME= inflect-4.1.0
+DISTNAME= inflect-6.0.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= lang python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/inflect/}
@@ -11,16 +10,19 @@ HOMEPAGE= https://github.com/jazzband/in
COMMENT= Correctly generate plurals, ordinals, indefinite articles for English
LICENSE= mit
-PYTHON_VERSIONED_DEPENDENCIES+= setuptools_scm:build
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=7.0.0:../../devel/py-setuptools_scm
+DEPENDS+= ${PYPKGPREFIX}-pydantic>=1.9.1:../../devel/py-pydantic
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-pygments-[0-9]*:../../textproc/py-pygments
-.include "../../lang/python/pyversion.mk"
+USE_LANGUAGES= # none
-.if ${_PYTHON_VERSION} < 38
-PYTHON_VERSIONED_DEPENDENCIES+= importlib-metadata
-.endif
+PYTHON_VERSIONS_INCOMPATIBLE= 27
-USE_LANGUAGES= # none
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
-.include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-inflect/distinfo
diff -u pkgsrc/lang/py-inflect/distinfo:1.3 pkgsrc/lang/py-inflect/distinfo:1.4
--- pkgsrc/lang/py-inflect/distinfo:1.3 Tue Oct 26 10:51:49 2021
+++ pkgsrc/lang/py-inflect/distinfo Sun Nov 6 18:08:15 2022
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2021/10/26 10:51:49 nia Exp $
+$NetBSD: distinfo,v 1.4 2022/11/06 18:08:15 adam Exp $
-BLAKE2s (inflect-4.1.0.tar.gz) = bfe734a579ec18457795ec5107dfcfea2566aca9a47632c243939a1cdf3cefe3
-SHA512 (inflect-4.1.0.tar.gz) = 9a2ba4777f01475390976f3ac28f046d39d1f86cfdafd161cc7c8d33526aca35d44e6598ccf2a0b68d3511a64b67ed0991b51c78bda8f279cd706fd29a3fa514
-Size (inflect-4.1.0.tar.gz) = 72200 bytes
+BLAKE2s (inflect-6.0.2.tar.gz) = b3b489e8584a9f09643c3ef41c7bdab47eaf8c32f6928f93b084b0ba32ff655d
+SHA512 (inflect-6.0.2.tar.gz) = ddb0439eeffbd21b3293208eb7e89f97fe556a3ba1e88de7e15d1c6bc5a59cdb25a224d7cfec5a010dd384728b15317c1dc752e3a8d4d95dd6eea8224a4f2877
+Size (inflect-6.0.2.tar.gz) = 70830 bytes
Home |
Main Index |
Thread Index |
Old Index