|
 |
eaf1a12 |
%global srcname pipdeptree
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
%global _description\
|
|
 |
eaf1a12 |
pipdeptree is a command line utility for displaying the installed python\
|
|
 |
eaf1a12 |
packages in form of a dependency tree. It works for packages installed\
|
|
 |
eaf1a12 |
globally on a machine as well as in a virtualenv.
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
Name: python-%{srcname}
|
|
 |
76e01f2 |
Version: 2.0.0
|
|
 |
5ba795e |
Release: 3%{?dist}
|
|
 |
eaf1a12 |
Summary: Command line utility to show dependency tree of packages
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
License: MIT
|
|
 |
eaf1a12 |
URL: https://github.com/naiquevin/pipdeptree
|
|
 |
eaf1a12 |
Source0: https://github.com/naiquevin/pipdeptree/archive/%{version}/%{srcname}/%{srcname}-%{version}.tar.gz
|
|
 |
eaf1a12 |
BuildArch: noarch
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
BuildRequires: python3-devel
|
|
 |
933dbb9 |
BuildRequires: pyproject-rpm-macros
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
%description %_description
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
%package -n python3-%{srcname}
|
|
 |
eaf1a12 |
Summary: %{summary}
|
|
 |
eaf1a12 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
%description -n python3-%{srcname} %_description
|
|
 |
eaf1a12 |
|
|
 |
933dbb9 |
%pyproject_extras_subpkg -n python3-%{srcname} graphviz
|
|
 |
933dbb9 |
|
|
 |
eaf1a12 |
%prep
|
|
 |
eaf1a12 |
%autosetup -n %{srcname}-%{version}
|
|
 |
933dbb9 |
|
|
 |
933dbb9 |
%generate_buildrequires
|
|
 |
76e01f2 |
%pyproject_buildrequires -t
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
%build
|
|
 |
933dbb9 |
%pyproject_wheel
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
%install
|
|
 |
933dbb9 |
%pyproject_install
|
|
 |
933dbb9 |
%pyproject_save_files %{srcname}
|
|
 |
eaf1a12 |
|
|
 |
76e01f2 |
%check
|
|
 |
76e01f2 |
# .pyproject-builddir contains some copies of test_ files
|
|
 |
76e01f2 |
# which confuses pytest
|
|
 |
76e01f2 |
rm -r %_pyproject_builddir
|
|
 |
76e01f2 |
# test_custom_interpreter sees more packages than it's expected
|
|
 |
76e01f2 |
# and therefore the expected output does not fit
|
|
 |
76e01f2 |
%tox -- -- -k "not test_custom_interpreter"
|
|
 |
76e01f2 |
|
|
 |
933dbb9 |
%files -n python3-%{srcname} -f %pyproject_files
|
|
 |
eaf1a12 |
%license LICENSE
|
|
 |
eaf1a12 |
%doc README.rst
|
|
 |
eaf1a12 |
%{_bindir}/pipdeptree
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
%changelog
|
|
 |
5ba795e |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.0-3
|
|
 |
5ba795e |
- Rebuilt for Python 3.10
|
|
 |
5ba795e |
|
|
 |
35120ea |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
 |
35120ea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
35120ea |
|
|
 |
76e01f2 |
* Mon Jan 04 2021 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
|
|
 |
76e01f2 |
- Update to 2.0.0 (#1910899)
|
|
 |
76e01f2 |
|
|
 |
933dbb9 |
* Tue Sep 08 2020 Lumír Balhar <lbalhar@redhat.com> - 1.0.0-1
|
|
 |
933dbb9 |
- Update to 1.0.0 (#1846897)
|
|
 |
933dbb9 |
|
|
 |
6a0ff84 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.2-7
|
|
 |
6a0ff84 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
6a0ff84 |
|
|
 |
c23250c |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.13.2-6
|
|
 |
c23250c |
- Rebuilt for Python 3.9
|
|
 |
c23250c |
|
|
 |
5761b67 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.2-5
|
|
 |
5761b67 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
5761b67 |
|
|
 |
5ac612d |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.2-4
|
|
 |
5ac612d |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
5ac612d |
|
|
 |
d200880 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.13.2-3
|
|
 |
d200880 |
- Rebuilt for Python 3.8
|
|
 |
d200880 |
|
|
 |
d9dfe92 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.2-2
|
|
 |
d9dfe92 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
d9dfe92 |
|
|
 |
6f05b83 |
* Sun Apr 21 2019 Dhanesh B. Sabane <dhanesh95@fedoraproject.org> - 0.13.2-1
|
|
 |
6f05b83 |
- Fix Bug #1697089 - Bump version to 0.13.2
|
|
 |
eaf1a12 |
|
|
 |
d631b4c |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-3
|
|
 |
d631b4c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
d631b4c |
|
|
 |
eaf1a12 |
* Sun Jan 13 2019 Dhanesh B. Sabane <dhanesh95@fedoraproject.org> - 0.13.1-2
|
|
 |
eaf1a12 |
- Bump version to 0.13.1 and ignore tests
|
|
 |
eaf1a12 |
|
|
 |
eaf1a12 |
* Sat Jun 30 2018 Dhanesh B. Sabane <dhanesh95@disroot.org> - 0.12.1-1
|
|
 |
eaf1a12 |
- Initial package.
|