forked from pool/python-DataProperty
- Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-DataProperty?expand=0&rev=26
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
DataProperty-1.0.1.tar.gz
Normal file
3
DataProperty-1.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:723e5729fa6e885e127a771a983ee1e0e34bb141aca4ffe1f0bfa7cde34650a4
|
||||
size 35340
|
||||
3
dataproperty-1.1.0.tar.gz
Normal file
3
dataproperty-1.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b038437a4097d1a1c497695c3586ea34bea67fdd35372b9a50f30bf044d77d04
|
||||
size 42574
|
||||
136
python-DataProperty.changes
Normal file
136
python-DataProperty.changes
Normal file
@@ -0,0 +1,136 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 5 06:01:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 12:04:06 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- 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 <dmueller@suse.com>
|
||||
|
||||
- update to 0.55.1
|
||||
* Python 3.11 support
|
||||
* Switches to tcolorpy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 26 07:54:17 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Fix tests forcing terminal colors before running tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 12:21:17 UTC 2022 - Otto Hollmann <otto.hollmann@suse.com>
|
||||
|
||||
- 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 <mardnh@gmx.de>
|
||||
|
||||
- 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 <mimi.vx@gmail.com>
|
||||
|
||||
- Update to 0.49.1
|
||||
- no upstream changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 4 07:49:14 UTC 2020 - Johannes Grassler <johannes.grassler@suse.com>
|
||||
|
||||
- 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 <mcalabkova@suse.com>
|
||||
|
||||
- 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 <mcalabkova@suse.com>
|
||||
|
||||
- Update to version 0.46.4
|
||||
* minor fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 16 10:00:35 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.46.3:
|
||||
* no upstream changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 8 09:55:35 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to version 0.45.0
|
||||
- Specfile cleanup
|
||||
- Run testsuite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 10 02:55:28 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v0.43.0
|
||||
70
python-DataProperty.spec
Normal file
70
python-DataProperty.spec
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# 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
|
||||
URL: https://github.com/thombashi/DataProperty
|
||||
Source: https://files.pythonhosted.org/packages/source/d/dataproperty/dataproperty-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools >= 38.3.0}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module wheel}
|
||||
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
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_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}/[Dd]ata[Pp]roperty-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user