Marcel Telka
2023-07-03 675aab789d091aac0aeac858b62c76fd0d16f4bc
python/inflect: update to 6.1.0; obsolete package for Python 3.7

2 files added
4 files modified
38 ■■■■ changed files
components/python/inflect/Makefile 11 ●●●● patch | view | raw | blame | history
components/python/inflect/history 1 ●●●● patch | view | raw | blame | history
components/python/inflect/patches/01-no-ruff.patch 13 ●●●●● patch | view | raw | blame | history
components/python/inflect/pkg5 6 ●●●●● patch | view | raw | blame | history
components/python/inflect/python-integrate-project.conf 4 ●●● patch | view | raw | blame | history
components/python/inflect/test/results-all.master 3 ●●●● patch | view | raw | blame | history
components/python/inflect/Makefile
@@ -19,20 +19,17 @@
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME =        inflect
HUMAN_VERSION =            6.0.4
HUMAN_VERSION =            6.1.0
COMPONENT_SUMMARY =        inflect - Correctly generate plurals, singular nouns, ordinals, indefinite articles; convert numbers to words
COMPONENT_PROJECT_URL =        https://github.com/jaraco/inflect
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/3b/9b/6e44523788cadec2a2bef2632c21264a74ab172cf9a13fab5c94b10db7f2/inflect-6.0.4.tar.gz
    https://files.pythonhosted.org/packages/39/5b/5c3c6974b7cc646f4a181591c1d28c2db7bca47641b8e02409683e742b5f/inflect-6.1.0.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:1842649a17b6cad66812a5c9bdfacb6310e1e7b6dd8a31f026766df1b62612eb
    sha256:5857af173e3cb986e7a83762ec808908e4b4164fa7f2b9484c0524f786c7bf82
COMPONENT_LICENSE =        MIT
COMPONENT_LICENSE_FILE =    LICENSE
include $(WS_MAKE_RULES)/common.mk
# https://github.com/tholo/pytest-flake8/issues/92
PYTEST_ADDOPTS += -p no:flake8
# Auto-generated dependencies
PYTHON_REQUIRED_PACKAGES += library/python/pydantic
@@ -40,12 +37,10 @@
PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm
PYTHON_REQUIRED_PACKAGES += library/python/wheel
PYTHON_REQUIRED_PACKAGES += runtime/python
TEST_REQUIRED_PACKAGES.python += library/python/flake8
TEST_REQUIRED_PACKAGES.python += library/python/pygments
TEST_REQUIRED_PACKAGES.python += library/python/pytest
TEST_REQUIRED_PACKAGES.python += library/python/pytest-black
TEST_REQUIRED_PACKAGES.python += library/python/pytest-checkdocs
TEST_REQUIRED_PACKAGES.python += library/python/pytest-cov
TEST_REQUIRED_PACKAGES.python += library/python/pytest-enabler
TEST_REQUIRED_PACKAGES.python += library/python/pytest-flake8
TEST_REQUIRED_PACKAGES.python += library/python/pytest-mypy
components/python/inflect/history
New file
@@ -0,0 +1 @@
library/python/inflect-37@6.0.4,5.11-2023.0.0.1 noincorporate
components/python/inflect/patches/01-no-ruff.patch
New file
@@ -0,0 +1,13 @@
We have no pytest-ruff support yet.
see https://github.com/tikv/jemallocator/issues/58
--- inflect-6.1.0/setup.cfg.orig
+++ inflect-6.1.0/setup.cfg
@@ -43,7 +43,6 @@
     pytest-mypy >= 0.9.1; \
     python_implementation != "PyPy"
     pytest-enabler >= 2.2
-    pytest-ruff
     pygments
 docs =
components/python/inflect/pkg5
@@ -1,18 +1,12 @@
{
    "dependencies": [
        "library/python/pydantic-37",
        "library/python/pydantic-39",
        "library/python/setuptools-37",
        "library/python/setuptools-39",
        "library/python/setuptools-scm-37",
        "library/python/setuptools-scm-39",
        "library/python/wheel-37",
        "library/python/wheel-39",
        "runtime/python-37",
        "runtime/python-39"
    ],
    "fmris": [
        "library/python/inflect-37",
        "library/python/inflect-39",
        "library/python/inflect"
    ],
components/python/inflect/python-integrate-project.conf
@@ -13,6 +13,4 @@
# Copyright 2023 Marcel Telka
#
%include-3%
# https://github.com/tholo/pytest-flake8/issues/92
PYTEST_ADDOPTS += -p no:flake8
%patch% 01-no-ruff.patch
components/python/inflect/test/results-all.master
@@ -5,7 +5,8 @@
platform sunos5 -- Python $(PYTHON_VERSION).X -- $(@D)/.tox/py$(PYV)/bin/python
cachedir: .tox/py$(PYV)/.pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples')
rootdir: $(@D), configfile: pytest.ini
rootdir: $(@D)
configfile: pytest.ini
asyncio: mode=strict
collecting ... collected 113 items