From bfc2ae8776b295e3dd8082e0d9e1feae3745bd67c68f5deeb7d81d7d619bd029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Fri, 7 Feb 2025 10:42:34 +0000 Subject: [PATCH] - Update to 1.1.0 * Add set_type_value method to DataPropertyExtractor class * Change type annotation of TypeValueMap to use dict instead of Mapping - Adjust upstream source name in spec file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-DataProperty?expand=0&rev=24 --- .gitattributes | 23 +++++++ .gitignore | 1 + DataProperty-1.0.1.tar.gz | 3 + dataproperty-1.1.0.tar.gz | 3 + python-DataProperty.changes | 131 ++++++++++++++++++++++++++++++++++++ python-DataProperty.spec | 68 +++++++++++++++++++ 6 files changed, 229 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 DataProperty-1.0.1.tar.gz create mode 100644 dataproperty-1.1.0.tar.gz create mode 100644 python-DataProperty.changes create mode 100644 python-DataProperty.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/DataProperty-1.0.1.tar.gz b/DataProperty-1.0.1.tar.gz new file mode 100644 index 0000000..b4a43e2 --- /dev/null +++ b/DataProperty-1.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:723e5729fa6e885e127a771a983ee1e0e34bb141aca4ffe1f0bfa7cde34650a4 +size 35340 diff --git a/dataproperty-1.1.0.tar.gz b/dataproperty-1.1.0.tar.gz new file mode 100644 index 0000000..11406f3 --- /dev/null +++ b/dataproperty-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b038437a4097d1a1c497695c3586ea34bea67fdd35372b9a50f30bf044d77d04 +size 42574 diff --git a/python-DataProperty.changes b/python-DataProperty.changes new file mode 100644 index 0000000..d72884e --- /dev/null +++ b/python-DataProperty.changes @@ -0,0 +1,131 @@ +------------------------------------------------------------------- +Thu Feb 6 12:04:06 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 1.1.0 + * Add set_type_value method to DataPropertyExtractor class + * Change type annotation of TypeValueMap to use dict instead of Mapping +- Adjust upstream source name in spec file + +------------------------------------------------------------------- +Thu Jul 27 16:44:47 UTC 2023 - Dirk Müller + +- update to 1.0.1: + * Fix `ColumnDataProperty.merge` method + * Add `DataPropertyMatrix` to the package root + * Improve type annotations + * Drop support for Python 3.6 + * Modify to use `pypa/build` for package build + * Update `[build-system]` + * Add `zip_safe=False` + * Add `__all__` to `__init__.py` + * Improve type annotations + * Remove a deprecated function: `set_log_level` + * Remove `is_multibyte_str` function + +------------------------------------------------------------------- +Thu May 18 14:51:47 UTC 2023 - Dirk Müller + +- update to 0.55.1 + * Python 3.11 support + * Switches to tcolorpy + +------------------------------------------------------------------- +Thu Jan 26 07:54:17 UTC 2023 - Daniel Garcia + +- Fix tests forcing terminal colors before running tests + +------------------------------------------------------------------- +Tue Aug 2 12:21:17 UTC 2022 - Otto Hollmann + +- Update to v0.55.0: + * Add default_format_flags property + * Fix PyPy version specification + * Update key of steps + * Use extras in tox.ini instead of self-referencing the package in deps + * Replace to use MAKE + * Remove basepython from testenvs + * Fix concurrency.group of a job + * Add tool.black.target-version to pyproject.toml +- Changes from v0.54.2 + * Remove pytype + * Fix DataProperty.get_padding_len method return improper len when the inputs + are dict + * Fix preprocess failed when the inputs are dict +- Changes from v0.54.1 + * Fix normalization order of type hints +- Changes from v0.54.0 + * Improve normalize_type_hint + * Add setup-ci target to Makefile + * Add strategy.matrix.exclude to a workflow +- Changes from v0.53.0 + * Modify type annotation of column_type_hints property + * Modify to accept type hints as strings + * Add normalize_type_hint function + * Add dequote to parameter to Preprocessor class + * Add max_precision property to DataPropertyExtractor class + * Add jupyter extra to black + * Bump Python 3.10 RC version +- Changes from v0.52.0 + * Add support for max_precision +- Changes from v0.51.0 + * Modify to use Python 3.6 syntax + * Add support for Python 3.10 + * Drop support for Python 3.5 + * Improve calculation of ascii char width of the body + * Add max_decimal_places argument to get_number_of_digit function + * Improve precision for real number values + * Add support for string with thousand separators as integer + +------------------------------------------------------------------- +Mon May 3 15:17:04 UTC 2021 - Martin Hauke + +- Update to 0.50.1 + * Change max_workers initial value to one to avoid problems + caused by multiprocess. + * Modify type annotations. + +------------------------------------------------------------------- +Wed Jul 8 14:45:11 UTC 2020 - Ondřej Súkup + +- Update to 0.49.1 + - no upstream changelog + +------------------------------------------------------------------- +Mon May 4 07:49:14 UTC 2020 - Johannes Grassler + +- Update to version 0.48.2 + * Update testenv:build.commands + * Make max_workers to 1 when executed from pytest + +------------------------------------------------------------------- +Fri Apr 17 08:41:37 UTC 2020 - Marketa Calabkova + +- Update to version 0.48.1 + * Drop Python 2 support + * Add metaclass to AbstractContainer class + * Improve dictionary type detection (=bump dependencies) + * Small fixes + +------------------------------------------------------------------- +Wed Mar 25 16:10:30 UTC 2020 - Marketa Calabkova + +- Update to version 0.46.4 + * minor fixes + +------------------------------------------------------------------- +Sun Feb 16 10:00:35 UTC 2020 - Martin Hauke + +- Update to version 0.46.3: + * no upstream changelog + +------------------------------------------------------------------- +Sat Feb 8 09:55:35 UTC 2020 - Martin Hauke + +- Update to version 0.45.0 +- Specfile cleanup +- Run testsuite + +------------------------------------------------------------------- +Fri May 10 02:55:28 PM UTC 2019 - John Vandenberg + +- Initial spec for v0.43.0 diff --git a/python-DataProperty.spec b/python-DataProperty.spec new file mode 100644 index 0000000..5794db2 --- /dev/null +++ b/python-DataProperty.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-DataProperty +# +# Copyright (c) 2025 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-DataProperty +Version: 1.1.0 +Release: 0 +Summary: Python library for extract property from data +License: MIT +Group: Development/Languages/Python +URL: https://github.com/thombashi/DataProperty +Source: https://files.pythonhosted.org/packages/source/d/dataproperty/dataproperty-%{version}.tar.gz +BuildRequires: %{python_module setuptools >= 38.3.0} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-mbstrdecoder >= 1.0.0 +Requires: python-typepy >= 1.1.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module mbstrdecoder >= 1.0.0} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module python-dateutil >= 2.8.0} +BuildRequires: %{python_module pytz >= 2018.9} +BuildRequires: %{python_module tcolorpy} +BuildRequires: %{python_module typepy >= 1.1.0} +# /SECTION +%python_subpackages + +%description +Python library for extract property from data. + +%prep +%setup -q -n dataproperty-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# Required by termcolor to have colors in the tests +export FORCE_COLOR=1 +%pytest + +%files %{python_files} +%license LICENSE +%doc README.rst +%{python_sitelib}/dataproperty* +%{python_sitelib}/DataProperty* + +%changelog