public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pycolumnize] rawhide: update to 0.3.11 plus spec cleanup
@ 2026-06-30 21:58 Filipe Rosset
  0 siblings, 0 replies; only message in thread
From: Filipe Rosset @ 2026-06-30 21:58 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/pycolumnize
            Branch : rawhide
            Commit : 28a92c1d852b4e9d930851972dcf5683aba122c7
            Author : Filipe Rosset <filiperosset@fedoraproject.org>
            Date   : 2026-06-25T18:48:37-03:00
            Stats  : +13/-18 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/pycolumnize/c/28a92c1d852b4e9d930851972dcf5683aba122c7?branch=rawhide

            Log:
            update to 0.3.11 plus spec cleanup

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
index c8dcadf..00f7447 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ columnize-0.3.2.tar.gz
 /columnize-0.3.8.tar.gz
 /columnize-0.3.9.tar.gz
 /columnize-0.3.10.tar.gz
+/columnize-0.3.11.tar.gz

diff --git a/pycolumnize.spec b/pycolumnize.spec
index 6ca6363..ff58d41 100644
--- a/pycolumnize.spec
+++ b/pycolumnize.spec
@@ -1,15 +1,13 @@
 %global pypi_name columnize
 
 Name:           pycolumnize
-Version:        0.3.10
+Version:        0.3.11
 Release:        %autorelease
 Summary:        Python module to align in columns a simple list
 
 License:        MIT
 URL:            https://github.com/rocky/pycolumnize
-Source0:        %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
-# Maintainers, please upstream
-Patch0:         pycolumnize-rm-python-mock-usage.diff
+Source:         %pypi_source
 BuildArch:      noarch
 
 %description
@@ -20,35 +18,31 @@ A string with embedded newline characters is returned.
 Summary:        %{summary}
 
 BuildRequires:  python3-devel
-BuildRequires:  python3dist(setuptools)
 BuildRequires:  python3dist(pytest)
-%{?python_provide:%python_provide python3-%{pypi_name}}
 
 %description -n python3-%{pypi_name}
 A Python module to format a simple (i.e. not nested) list into aligned columns.
 A string with embedded newline characters is returned.
 
 %prep
-%autosetup -p1
+%autosetup -n %{pypi_name}-%{version}
 
-# Remove the dependency on nose
-sed -i /nose/d setup.py
+%generate_buildrequires
+%pyproject_buildrequires
 
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files -l %{pypi_name}
 
 %check
-%pytest -v test_columnize.py
+%pyproject_check_import
+%pytest -v
 
-%files -n python3-%{pypi_name}
+%files -n python3-%{pypi_name} -f %{pyproject_files}
 %doc ChangeLog README.rst SECURITY.md THANKS
-%license LICENSE
-%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
-%{python3_sitelib}/__pycache__/%{pypi_name}*
-%{python3_sitelib}/%{pypi_name}.py*
 
 %changelog
 %autochangelog

diff --git a/sources b/sources
index 0139cbe..c9b9d68 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (columnize-0.3.10.tar.gz) = ab1b527820c872da9fc618da352ed9afd7eb039f2e1330a22d5aea296368fd616fea0d38310b6607da604c26f4d8f57f1f78fe3e3538284b2ee86394af957c38
+SHA512 (columnize-0.3.11.tar.gz) = aba1b911c57ac6f237460889d3da6dcfbedac3d42165dd99dc1798f3e2e767a3b895c4266fe82e5b35dfe43af7bff8e778f85bf9c71b10e8b13417e015779432

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

only message in thread, other threads:[~2026-06-30 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 21:58 [rpms/pycolumnize] rawhide: update to 0.3.11 plus spec cleanup Filipe Rosset

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