public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-itemadapter] f44: Update to 0.13.1
@ 2026-06-29 22:40 Eduardo Echeverria
  0 siblings, 0 replies; only message in thread
From: Eduardo Echeverria @ 2026-06-29 22:40 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-itemadapter
Branch : f44
Commit : b59a199e58cebc8fabcb38d8b78299f9766c2be7
Author : Eduardo Echeverria <echevemaster@gmail.com>
Date   : 2026-06-29T19:39:58-03:00
Stats  : +22/-16 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/python-itemadapter/c/b59a199e58cebc8fabcb38d8b78299f9766c2be7?branch=f44

Log:
Update to 0.13.1

---
diff --git a/python-itemadapter.spec b/python-itemadapter.spec
index 2e57b12..b2c391a 100644
--- a/python-itemadapter.spec
+++ b/python-itemadapter.spec
@@ -4,12 +4,11 @@ The ItemAdapter class is a wrapper for data container objects,
 providing a common interface to handle objects of different
 types in an uniform manner, regardless of their underlying implementation.}
 Name:		python-itemadapter
-Version:	0.10.0
-Release:	7%{?dist}
+Version:	0.13.1
+Release:	1%{?dist}
 Summary:	The ItemAdapter class is a wrapper for data container object
 
-# Automatically converted from old format: BSD - review is highly recommended.
-License:	LicenseRef-Callaway-BSD
+License:	BSD-3-Clause
 URL:		https://github.com/scrapy/itemadapter
 Source0:	%{pypi_source %pkg_name}
 
@@ -23,32 +22,40 @@ BuildArch:	noarch
 Summary:	%{summary}
 
 BuildRequires:	python3-devel
-BuildRequires:	python3-setuptools
-Requires:	python3-attrs
-
-%py_provides  python3-%{pkg_name}
 
 
 %description -n python3-%{pkg_name}
 %{desc}
 
+
 %prep
 %autosetup -n %{pkg_name}-%{version}
 
+%generate_buildrequires
+%pyproject_buildrequires -t -x attrs,pydantic,scrapy
+
 %build
-%py3_build
+%pyproject_wheel
 
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l itemadapter
 
-%files -n python3-%{pkg_name}
-%license LICENSE
+%check
+%pyproject_check_import
+%pytest
+
+%files -n python3-%{pkg_name} -f %{pyproject_files}
 %doc README.md
-%{python3_sitelib}/itemadapter
-%{python3_sitelib}/itemadapter-*.egg-info
 
 %changelog
+* Mon Jun 29 2026 Eduardo Echeverria <echevemaster@gmail.com> - 0.13.1-1
+- Update to 0.13.1
+- Modernize to pyproject macros
+- Drop python3-attrs runtime dependency (now optional upstream)
+- Fix License tag to BSD-3-Clause SPDX identifier
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 
@@ -117,4 +124,3 @@ Requires:	python3-attrs
 
 * Sat Apr 3 2021 Eduardo Echeverria <echevemaster@gmail.com> - 0.2.0-1
 - Initial packaging
-

diff --git a/sources b/sources
index bd8b1cc..5e4847c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (itemadapter-0.10.0.tar.gz) = ee344758d0a99aa4ecdaedf7bf4be02a7362c860ba093199becd1acf4ed59a8474761628e9f4d0a6bd8d2a8f497805703f7540331aa70a972f7d0c66f8092a9b
+SHA512 (itemadapter-0.13.1.tar.gz) = 78ace1051e1c949619f0a64c6c0063b019196959f75bd53c2ca204be1b287c2c6fbb03e8ca126d6386a670f632c18e944ed5ce8272a151400820a42ee028c04c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-29 22:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 22:40 [rpms/python-itemadapter] f44: Update to 0.13.1 Eduardo Echeverria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox