From 2767a6d1909e63d9958684d1e8191594a71a57af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 24 Nov 2023 16:05:10 +0100 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 python-jaraco.text revision 2be52ac77e62678c2a03f0bdb3033ec3 --- .gitattributes | 23 ++++++++ jaraco.text-3.11.1.tar.gz | 3 + python-jaraco.text.changes | 114 +++++++++++++++++++++++++++++++++++++ python-jaraco.text.spec | 83 +++++++++++++++++++++++++++ 4 files changed, 223 insertions(+) create mode 100644 .gitattributes create mode 100644 jaraco.text-3.11.1.tar.gz create mode 100644 python-jaraco.text.changes create mode 100644 python-jaraco.text.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/jaraco.text-3.11.1.tar.gz b/jaraco.text-3.11.1.tar.gz new file mode 100644 index 0000000..8ade293 --- /dev/null +++ b/jaraco.text-3.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:333a5df2148f7139718607cdf352fe1d95162971a7299c380dcc24dab0168980 +size 16083 diff --git a/python-jaraco.text.changes b/python-jaraco.text.changes new file mode 100644 index 0000000..2b6f3b3 --- /dev/null +++ b/python-jaraco.text.changes @@ -0,0 +1,114 @@ +------------------------------------------------------------------- +Sat Jun 10 09:20:42 UTC 2023 - ecsos + +- Fix build error. + +------------------------------------------------------------------- +Thu Jun 1 20:38:04 UTC 2023 - Dirk Müller + +- use python3 module python for sle15 + +------------------------------------------------------------------- +Tue May 9 21:30:06 UTC 2023 - Dirk Müller + +- update to 3.11.1: + * Fixed ``EncodingWarnings`` when reading/writing text. + +------------------------------------------------------------------- +Tue Dec 6 03:48:18 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 3.11.0 + * Added strip-prefix script. + +------------------------------------------------------------------- +Tue Oct 25 19:19:05 UTC 2022 - Matej Cepl + +- Update to 3.10.0: + - Prefer casefold in FoldedCase. + +------------------------------------------------------------------- +Thu Aug 18 18:48:46 UTC 2022 - Ben Greiner + +- Update to v3.9.1 + * #10: Fixed broken tests in ``read_newlines`` and + ``show-newlines``. +- Release 3.9.0 + * Add ``jaraco.text.show-newlines`` script. +- Release 3.8.1 + * Refreshed packaging. + +------------------------------------------------------------------- +Tue Jun 28 14:33:21 UTC 2022 - Adrian Schröter + +- Update to version 3.8.0: + * Added ``layouts`` module and ``to-qwerty`` and ``to-dvorak`` scripts. + * Introducing ``yield_lines``, ``drop_comment``, and ``join_continuation``. +- droping dependency to jaraco.base + +------------------------------------------------------------------- +Tue Nov 16 08:37:12 UTC 2021 - Steve Kowalik + +- Update to 3.6.0: + * Fixed DeprecationWarning in importlib.resources.read_text. + * #5: Fixed warning in docs builds. + +------------------------------------------------------------------- +Sat May 15 17:25:42 UTC 2021 - Arun Persaud + +- specfile: + * update copyright year + * skip python2 + +- update to version 3.5.0: + * Rely on PEP 420 for namespace package. + +- changes from version 3.4.0: + * Added WordSet.trim* methods. + +- changes from version 3.3.0: + * Require Python 3.6 or later. + +------------------------------------------------------------------- +Sat Mar 14 08:09:33 UTC 2020 - Tomáš Chvátal + +- Fix build on older openSUSE releases as with py3.6 we need the + importlib_resources too + +------------------------------------------------------------------- +Thu Jan 16 09:44:33 UTC 2020 - Tomáš Chvátal + +- Update to 3.2.0: + * Added normalize_newlines function. + * Added wrap and unwrap functions and lorem_ipsum attribute containing the Lorem Ipsum sample text. + +------------------------------------------------------------------- +Tue Mar 26 14:34:01 UTC 2019 - Tomáš Chvátal + +- Update to 3.0: + * Remove collections dependency to avoid buildcycle +- Remove multibuild as per above + +------------------------------------------------------------------- +Wed Feb 27 19:08:25 UTC 2019 - Tomáš Chvátal + +- Use multibuild to avoid buildcycle + +------------------------------------------------------------------- +Tue Feb 26 07:00:39 UTC 2019 - John Vandenberg + +- Add LICENSE +- Compile manually due to switch to pkgutil namespace technique +- Add fdupes +- Remove bcond_with test, allowing tests suite to run +- Add missing build dependency jaraco.collections +- Remove undesirable build dependencies pytest-flake8, pytest-sugar and + collective.checkdocs +- Add missing runtime dependencies six, jaraco.base, jaraco.collections + and jaraco.functools +- Update to v2.0 + * Switch to pkgutil namespace technique for the ``jaraco`` namespace. + +------------------------------------------------------------------- +Thu Aug 23 10:51:49 UTC 2018 - dheidler@suse.de + +- Initial Package for v1.10.1 diff --git a/python-jaraco.text.spec b/python-jaraco.text.spec new file mode 100644 index 0000000..89043ba --- /dev/null +++ b/python-jaraco.text.spec @@ -0,0 +1,83 @@ +# +# spec file for package python-jaraco.text +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?sle15_python_module_pythons} +Name: python-jaraco.text +Version: 3.11.1 +Release: 0 +Summary: Tools to work with text +License: MIT +URL: https://github.com/jaraco/jaraco.text +Source0: https://files.pythonhosted.org/packages/source/j/jaraco.text/jaraco.text-%{version}.tar.gz +BuildRequires: %{python_module autocommand} +BuildRequires: %{python_module importlib_resources if %python-base < 3.9} +BuildRequires: %{python_module inflect} +BuildRequires: %{python_module jaraco.context >= 4.1} +BuildRequires: %{python_module jaraco.functools} +BuildRequires: %{python_module more-itertools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools_scm >= 3.4.1} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%if 0%{?python_version_nodots} < 39 +Requires: python-importlib_resources +%endif +Requires: python-autocommand +Requires: python-inflect +Requires: python-jaraco.context >= 4.1 +Requires: python-jaraco.functools +Requires: python-more-itertools +BuildArch: noarch +%python_subpackages + +%description +This package provides handy routines for dealing with text, such as +wrapping, substitution, trimming, stripping, prefix and suffix removal, +line continuation, indentation, comment processing, identifier processing, +values parsing, case insensitive comparison, and more. + +%prep +%setup -q -n jaraco.text-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# no pathlib2 in the distro +rm conftest.py +%{python_expand # workaround for gh#jaraco/jaraco.text#10 without pathlib2 +if [ %{$python_version_nodots} -lt 310 ]; then + $python_donttest="or read_newlines or report_newlines" +fi +} +%pytest -k "not (dummyprefix ${$python_donttest})" + +%files %{python_files} +%license LICENSE +%doc README.rst CHANGES.rst +%{python_sitelib}/jaraco/text +%{python_sitelib}/jaraco.text-%{version}.dist-info + +%changelog