components/python/jaraco.text/Makefile | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/history | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/jaraco.text-PYVER.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/patches/01-no-ruff.patch | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/patches/02-pytest-disable-failing.patch | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/pkg5 | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
components/python/jaraco.text/test/results-all.master | ●●●●● patch | view | raw | blame | history |
components/python/jaraco.text/Makefile
@@ -19,13 +19,13 @@ include ../../../make-rules/shared-macros.mk COMPONENT_NAME = jaraco.text HUMAN_VERSION = 3.11.1 HUMAN_VERSION = 3.12.0 COMPONENT_SUMMARY = jaraco.text - Module for text manipulation COMPONENT_PROJECT_URL = https://github.com/jaraco/jaraco.text COMPONENT_ARCHIVE_URL = \ https://files.pythonhosted.org/packages/cd/32/2d0656905672c06c830dd1c85d11c5edbd5203f7ef6522f7c080a95c3470/jaraco.text-3.11.1.tar.gz https://files.pythonhosted.org/packages/53/30/52edc6c9997d48b0d9fbedb6a29edab2b397968f637b76aae299a9128c34/jaraco.text-3.12.0.tar.gz COMPONENT_ARCHIVE_HASH = \ sha256:333a5df2148f7139718607cdf352fe1d95162971a7299c380dcc24dab0168980 sha256:389e25c8d4b32e9715bf530596fab0f5cd3aa47296e43969392e18a541af592c COMPONENT_LICENSE = MIT COMPONENT_LICENSE_FILE = LICENSE @@ -33,20 +33,18 @@ # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/autocommand PYTHON_REQUIRED_PACKAGES += library/python/importlib-resources PYTHON_REQUIRED_PACKAGES += library/python/inflect PYTHON_REQUIRED_PACKAGES += library/python/jaraco-context PYTHON_REQUIRED_PACKAGES += library/python/jaraco-functools PYTHON_REQUIRED_PACKAGES += library/python/more-itertools PYTHON_REQUIRED_PACKAGES += library/python/setuptools 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/pathlib2 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/jaraco.text/history
New file @@ -0,0 +1 @@ library/python/jaraco-text-37@3.11.1,5.11-2023.0.0.1 noincorporate components/python/jaraco.text/jaraco.text-PYVER.p5m
@@ -41,7 +41,6 @@ # Automatically generated dependencies based on distribution metadata depend type=require fmri=pkg:/library/python/autocommand-$(PYV) depend type=require fmri=pkg:/library/python/importlib-resources-$(PYV) depend type=require fmri=pkg:/library/python/inflect-$(PYV) depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV) depend type=require fmri=pkg:/library/python/jaraco-functools-$(PYV) components/python/jaraco.text/manifests/sample-manifest.p5m
@@ -41,7 +41,6 @@ # Automatically generated dependencies based on distribution metadata depend type=require fmri=pkg:/library/python/autocommand-$(PYV) depend type=require fmri=pkg:/library/python/importlib-resources-$(PYV) depend type=require fmri=pkg:/library/python/inflect-$(PYV) depend type=require fmri=pkg:/library/python/jaraco-context-$(PYV) depend type=require fmri=pkg:/library/python/jaraco-functools-$(PYV) components/python/jaraco.text/patches/01-no-ruff.patch
New file @@ -0,0 +1,13 @@ We have no ruff support yet. see https://github.com/tikv/jemallocator/issues/58 --- jaraco.text-3.12.0/setup.cfg.orig +++ jaraco.text-3.12.0/setup.cfg @@ -41,7 +41,6 @@ pytest-mypy >= 0.9.1; \ python_implementation != "PyPy" pytest-enabler >= 2.2 - pytest-ruff pathlib2; python_version < "3.10" docs = components/python/jaraco.text/patches/02-pytest-disable-failing.patch
New file @@ -0,0 +1,13 @@ --- jaraco.text-3.12.0/jaraco/text/show-newlines.py.orig +++ jaraco.text-3.12.0/jaraco/text/show-newlines.py @@ -1,3 +1,10 @@ +import pytest + +pytest.skip( + "Always fails: https://github.com/pydantic/pydantic/issues/7689#issuecomment-1829486383", + allow_module_level=True, +) + import autocommand import inflect components/python/jaraco.text/pkg5
@@ -1,29 +1,16 @@ { "dependencies": [ "SUNWcs", "library/python/autocommand-37", "library/python/autocommand-39", "library/python/importlib-resources-37", "library/python/importlib-resources-39", "library/python/inflect-37", "library/python/inflect-39", "library/python/jaraco-context-37", "library/python/jaraco-context-39", "library/python/jaraco-functools-37", "library/python/jaraco-functools-39", "library/python/more-itertools-37", "library/python/more-itertools-39", "library/python/setuptools-37", "library/python/setuptools-39", "library/python/setuptools-scm-37", "library/python/setuptools-scm-39", "runtime/python-37", "runtime/python-39", "shell/ksh93", "system/library" "library/python/wheel-39", "runtime/python-39" ], "fmris": [ "library/python/jaraco-text-37", "library/python/jaraco-text-39", "library/python/jaraco-text" ], components/python/jaraco.text/python-integrate-project.conf
New file @@ -0,0 +1,17 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2023 Marcel Telka # %patch% 01-no-ruff.patch %patch% 02-pytest-disable-failing.patch components/python/jaraco.text/test/results-all.master
@@ -1,23 +1,19 @@ py$(PYV): remove tox env folder .tox/py$(PYV) py$(PYV): remove tox env folder $(@D)/.tox/py$(PYV) py$(PYV): commands[0]> python -m pytest ============================= test session starts ============================== 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 asyncio: mode=strict collecting ... collected 54 items rootdir: $(@D) configfile: pytest.ini collecting ... collected 45 items / 1 skipped ::project PASSED conftest.py::BLACK PASSED conftest.py::flake-8::FLAKE8 PASSED conftest.py::black PASSED conftest.py::mypy PASSED conftest.py::mypy-status PASSED docs/conf.py::BLACK PASSED docs/conf.py::flake-8::FLAKE8 PASSED docs/conf.py::black PASSED docs/conf.py::mypy PASSED jaraco/text/__init__.py::BLACK PASSED jaraco/text/__init__.py::flake-8::FLAKE8 PASSED jaraco/text/__init__.py::black PASSED jaraco/text/__init__.py::mypy PASSED jaraco/text/__init__.py::text.FoldedCase PASSED jaraco/text/__init__.py::text.SeparatedValues PASSED @@ -42,29 +38,23 @@ jaraco/text/__init__.py::text.unwrap PASSED jaraco/text/__init__.py::text.wrap PASSED jaraco/text/__init__.py::text.yield_lines PASSED jaraco/text/layouts.py::BLACK PASSED jaraco/text/layouts.py::flake-8::FLAKE8 PASSED jaraco/text/layouts.py::black PASSED jaraco/text/layouts.py::mypy PASSED jaraco/text/layouts.py::text.layouts._translate_stream PASSED jaraco/text/layouts.py::text.layouts.translate PASSED jaraco/text/show-newlines.py::BLACK PASSED jaraco/text/show-newlines.py::flake-8::FLAKE8 PASSED jaraco/text/show-newlines.py::black PASSED jaraco/text/show-newlines.py::mypy PASSED jaraco/text/show-newlines.py::text.show-newlines.report_newlines PASSED jaraco/text/strip-prefix.py::BLACK PASSED jaraco/text/strip-prefix.py::flake-8::FLAKE8 PASSED jaraco/text/strip-prefix.py::black PASSED jaraco/text/strip-prefix.py::mypy PASSED jaraco/text/strip-prefix.py::text.strip-prefix.strip_prefix PASSED jaraco/text/to-dvorak.py::BLACK PASSED jaraco/text/to-dvorak.py::flake-8::FLAKE8 PASSED jaraco/text/to-dvorak.py::black PASSED jaraco/text/to-dvorak.py::mypy PASSED jaraco/text/to-qwerty.py::BLACK PASSED jaraco/text/to-qwerty.py::flake-8::FLAKE8 PASSED jaraco/text/to-qwerty.py::black PASSED jaraco/text/to-qwerty.py::mypy PASSED ===================================== mypy ===================================== Success: no issues found in 8 source files ======== 53 passed ======== ======== 44 passed, 1 skipped ======== py$(PYV): OK congratulations :)