17
0

Compare commits

4 Commits

4 changed files with 27 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:723e5729fa6e885e127a771a983ee1e0e34bb141aca4ffe1f0bfa7cde34650a4
size 35340

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b038437a4097d1a1c497695c3586ea34bea67fdd35372b9a50f30bf044d77d04
size 42574

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
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> Thu Jul 27 16:44:47 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-DataProperty # spec file for package python-DataProperty
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,16 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-DataProperty Name: python-DataProperty
Version: 1.0.1 Version: 1.1.0
Release: 0 Release: 0
Summary: Python library for extract property from data Summary: Python library for extract property from data
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/thombashi/DataProperty URL: https://github.com/thombashi/DataProperty
Source: https://files.pythonhosted.org/packages/source/D/DataProperty/DataProperty-%{version}.tar.gz 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 >= 38.3.0}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-mbstrdecoder >= 1.0.0 Requires: python-mbstrdecoder >= 1.0.0
@@ -45,13 +47,13 @@ BuildRequires: %{python_module typepy >= 1.1.0}
Python library for extract property from data. Python library for extract property from data.
%prep %prep
%setup -q -n DataProperty-%{version} %setup -q -n dataproperty-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -62,7 +64,7 @@ export FORCE_COLOR=1
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python_sitelib}/dataproperty* %{python_sitelib}/dataproperty
%{python_sitelib}/DataProperty* %{python_sitelib}/[Dd]ata[Pp]roperty-%{version}.dist-info
%changelog %changelog