## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname pipdeptree %global _description\ pipdeptree is a command line utility for displaying the installed python\ packages in form of a dependency tree. It works for packages installed\ globally on a machine as well as in a virtualenv. Name: python-%{srcname} Version: 2.24.0 Release: %autorelease Summary: Command line utility to show dependency tree of packages License: MIT URL: https://github.com/naiquevin/pipdeptree Source0: https://github.com/naiquevin/pipdeptree/archive/%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros >= 0-41 %description %_description %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %_description %pyproject_extras_subpkg -n python3-%{srcname} graphviz %prep %autosetup -n %{srcname}-%{version} # Remove unneeded testing deps sed -i "/diff-cover/d;/covdefaults/d;/pytest-cov/d" pyproject.toml # Remove version limits from dependencies sed -i 's/"virtualenv.*",/"virtualenv",/' pyproject.toml sed -i 's/"graphviz.*",/"graphviz",/' pyproject.toml sed -i 's/"pytest>.*",/"pytest",/' pyproject.toml %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}" %pyproject_buildrequires -x test,graphviz %build export SETUPTOOLS_SCM_PRETEND_VERSION="%{version}" %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check # test_console expects /usr/bin/pipdeptree to exists # test_custom_interpreter doesn't work %pytest -vvv -k "not test_console and not test_custom_interpreter" %files -n python3-%{srcname} -f %pyproject_files %license LICENSE %doc README.md %{_bindir}/pipdeptree %changelog ## START: Generated by rpmautospec * Tue Nov 26 2024 Lumir Balhar - 2.24.0-1 - Update to 2.24.0 (rhbz#2328834) * Tue Sep 24 2024 Karolina Surma - 2.23.4-2 - Don't build wheel when generating buildrequires * Fri Sep 20 2024 Lumir Balhar - 2.23.4-1 - Update to 2.23.4 (rhbz#2313757) * Mon Sep 09 2024 Lumir Balhar - 2.23.3-1 - Update to 2.23.3 (rhbz#2310691) * Wed Jul 17 2024 Lumir Balhar - 2.23.1-1 - Update to 2.23.1 (rhbz#2298038) * Tue Jun 18 2024 Lumir Balhar - 2.23.0-1 - Update to 2.23.0 (rhbz#2292802) * Sat Jun 08 2024 Python Maint - 2.22.0-2 - Rebuilt for Python 3.13 * Tue Jun 04 2024 Lumir Balhar - 2.22.0-1 - Update to 2.22.0 (rhbz#2290371) * Wed May 22 2024 Lumir Balhar - 2.21.0-1 - Update to 2.21.0 (rhbz#2282165) * Thu May 02 2024 Lumir Balhar - 2.19.1-1 - Update to 2.19.1 (rhbz#2277948) * Mon Apr 29 2024 Lumir Balhar - 2.19.0-1 - Update to 2.19.0 (rhbz#2277662) * Wed Apr 24 2024 Lumir Balhar - 2.18.1-1 - Update to 2.18.1 (rhbz#2274954) * Thu Apr 11 2024 Lumir Balhar - 2.18.0-1 - Update to 2.18.0 (rhbz#2274370) * Fri Apr 05 2024 Lumir Balhar - 2.17.0-1 - Update to 2.17.0 (rhbz#2273483) * Wed Mar 27 2024 Lumir Balhar - 2.16.2-1 - Update to 2.16.2 (rhbz#2271653) * Thu Mar 14 2024 Lumir Balhar - 2.16.1-1 - Update to 2.16.1 (rhbz#2267980) * Mon Mar 04 2024 Lumir Balhar - 2.16.0-1 - Update to 2.16.0 (rhbz#2267494) * Sun Feb 25 2024 Lumir Balhar - 2.15.1-1 - Update to 2.15.1 (rhbz#2265745) * Fri Feb 16 2024 Lumir Balhar - 2.14.0-1 - Update to 2.14.0 (rhbz#2264501) * Mon Jan 29 2024 Fedora Release Engineering - 2.13.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 2.13.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 11 2024 Lumir Balhar - 2.13.2-1 - Update to 2.13.2 (rhbz#2257795) * Fri Nov 10 2023 Lumir Balhar - 2.13.1-1 - Update to 2.13.1 (rhbz#2249048) * Thu Aug 24 2023 Lumir Balhar - 2.13.0-1 - Update to 2.13.0 (rhbz#2213364) * Fri Jul 21 2023 Fedora Release Engineering - 2.8.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 29 2023 Python Maint - 2.8.0-2 - Rebuilt for Python 3.12 * Wed Jun 07 2023 Lumir Balhar - 2.8.0-1 - Update to 2.8.0 (rhbz#2212946) * Tue May 30 2023 Lumir Balhar - 2.7.1-1 - Update to 2.7.1 (rhbz#2192962) * Mon Mar 27 2023 Lumir Balhar - 2.7.0-1 - Update to 2.7.0 (rhbz#2181800) * Fri Mar 24 2023 Lumir Balhar - 2.6.0-1 - Update to 2.6.0 (rhbz#2179638) * Sun Mar 05 2023 Lumir Balhar - 2.5.2-1 - Update to 2.5.2 (rhbz#2171130) * Fri Jan 20 2023 Fedora Release Engineering - 2.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 01 2022 Lumír Balhar - 2.3.3-1 - Update to 2.3.3 Resolves: rhbz#2138912 * Wed Sep 07 2022 Lumír Balhar - 2.3.1-1 - Update to 2.3.1 Resolves: rhbz#2124639 * Fri Jul 22 2022 Fedora Release Engineering - 2.2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 2.2.1-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Jan 10 2022 Lumír Balhar - 2.2.1-1 - Update to 2.2.1 Resolves: rhbz#2038738 * Thu Oct 14 2021 Lumír Balhar - 2.2.0-1 - Update to 2.2.0 Resolves: rhbz#2013547 * Mon Aug 02 2021 Lumír Balhar - 2.1.0-1 - Update to 2.1.0 Resolves: rhbz#1988703 * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.0-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Jan 04 2021 Lumír Balhar - 2.0.0-1 - Update to 2.0.0 (#1910899) * Tue Sep 08 2020 Lumír Balhar - 1.0.0-1 - Update to 1.0.0 (#1846897) * Wed Jul 29 2020 Fedora Release Engineering - 0.13.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.13.2-6 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.13.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.13.2-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.13.2-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Apr 21 2019 Dhanesh B. Sabane - 0.13.2-1 - Fix Bug #1697089 - Bump version to 0.13.2 * Sat Feb 02 2019 Fedora Release Engineering - 0.13.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jan 13 2019 Dhanesh B. Sabane - 0.13.1-2 - Bump version to 0.13.1 and ignore tests * Sat Jun 30 2018 Dhanesh B. Sabane - 0.12.1-1 - Initial package. ## END: Generated by rpmautospec