|
|
8dd529 |
%global pypi_name pkginfo
|
|
|
8dd529 |
|
|
|
8dd529 |
%global common_description %{expand:
|
|
|
8dd529 |
This package provides an API for querying the distutils metadata written in the
|
|
|
8dd529 |
PKG-INFO file inside a source distribution (an sdist) or a binary distribution
|
|
|
8dd529 |
(e.g., created by running bdist_egg). It can also query the EGG-INFO directory
|
|
|
8dd529 |
of an installed distribution, and the *.egg-info stored in a "development
|
|
|
8dd529 |
checkout" (e.g, created by running setup.py develop).}
|
|
|
8dd529 |
|
|
|
8dd529 |
Name: python-%{pypi_name}
|
|
|
8dd529 |
Summary: Query metadata from sdists / bdists / installed packages
|
|
|
8dd529 |
Version: 1.5.0.1
|
|
|
8dd529 |
Release: 7%{?dist}
|
|
|
8dd529 |
License: MIT
|
|
|
8dd529 |
|
|
|
8dd529 |
URL: https://pypi.python.org/pypi/%{pypi_name}
|
|
|
8dd529 |
Source0: %{pypi_source}
|
|
|
8dd529 |
|
|
|
8dd529 |
# don't ship internal test subpackage
|
|
|
8dd529 |
Patch1: 0001-disable-test-sub-package.patch
|
|
|
8dd529 |
|
|
|
8dd529 |
# disable one broken test
|
|
|
8dd529 |
Patch2: 0002-disable-a-broken-test.patch
|
|
|
8dd529 |
|
|
|
8dd529 |
BuildArch: noarch
|
|
|
8dd529 |
|
|
|
8dd529 |
BuildRequires: python3-devel
|
|
|
8dd529 |
BuildRequires: python3-setuptools
|
|
|
8dd529 |
BuildRequires: python3dist(nose)
|
|
|
8dd529 |
BuildRequires: python3dist(sphinx)
|
|
|
8dd529 |
|
|
|
8dd529 |
%description %{common_description}
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%package -n python3-%{pypi_name}
|
|
|
8dd529 |
Summary: Query metadata from sdists / bdists / installed packages
|
|
|
8dd529 |
Requires: python3-setuptools
|
|
|
8dd529 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
8dd529 |
|
|
|
8dd529 |
%description -n python3-%{pypi_name} %{common_description}
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%package doc
|
|
|
8dd529 |
Summary: Documentation for python-%{pypi_name}
|
|
|
8dd529 |
|
|
|
8dd529 |
%description doc %{common_description}
|
|
|
8dd529 |
This package contains the documentation.
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%prep
|
|
|
8dd529 |
%autosetup -n %{pypi_name}-%{version} -p1
|
|
|
8dd529 |
|
|
|
8dd529 |
# Remove bundled egg-info
|
|
|
8dd529 |
rm -rf %{pypi_name}.egg-info
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%build
|
|
|
8dd529 |
%py3_build
|
|
|
8dd529 |
|
|
|
8dd529 |
# generate html docs
|
|
|
8dd529 |
PYTHONPATH=${PWD} sphinx-build-3 docs html
|
|
|
8dd529 |
|
|
|
8dd529 |
# remove the sphinx-build leftovers
|
|
|
8dd529 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%install
|
|
|
8dd529 |
%py3_install
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%check
|
|
|
8dd529 |
%{__python3} setup.py test
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%files -n python3-%{pypi_name}
|
|
|
8dd529 |
%license LICENSE.txt
|
|
|
8dd529 |
%doc README.txt CHANGES.txt
|
|
|
8dd529 |
|
|
|
8dd529 |
%{_bindir}/pkginfo
|
|
|
8dd529 |
|
|
|
8dd529 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
8dd529 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/
|
|
|
8dd529 |
|
|
|
8dd529 |
%files -n python-%{pypi_name}-doc
|
|
|
8dd529 |
%license LICENSE.txt
|
|
|
8dd529 |
%doc html
|
|
|
8dd529 |
|
|
|
8dd529 |
|
|
|
8dd529 |
%changelog
|
|
|
8dd529 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.1-7
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.1-6
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.0.1-5
|
|
|
8dd529 |
- Revert previous changes
|
|
|
8dd529 |
|
|
|
8dd529 |
* Fri Jun 26 2020 Fabian Affolter <mail@fabian-affolter.ch> - 1.5.0.1-4
|
|
|
8dd529 |
- Add python3-setuptools as BR
|
|
|
8dd529 |
|
|
|
8dd529 |
* Tue May 26 2020 Miro Hron훾ok <mhroncok@redhat.com> - 1.5.0.1-3
|
|
|
8dd529 |
- Rebuilt for Python 3.9
|
|
|
8dd529 |
|
|
|
8dd529 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0.1-2
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Tue Sep 24 2019 Fabio Valentini <decathorpe@gmail.com> - 1.5.0.1-1
|
|
|
8dd529 |
- Update to version 1.5.0.1.
|
|
|
8dd529 |
|
|
|
8dd529 |
* Mon Sep 23 2019 Fabio Valentini <decathorpe@gmail.com> - 1.4.2-7
|
|
|
8dd529 |
- Drop python2-pkginfo and versioned symlinks for the binary.
|
|
|
8dd529 |
|
|
|
8dd529 |
* Mon Aug 19 2019 Miro Hron훾ok <mhroncok@redhat.com> - 1.4.2-6
|
|
|
8dd529 |
- Rebuilt for Python 3.8
|
|
|
8dd529 |
|
|
|
8dd529 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-4
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Tue Jun 19 2018 Miro Hron훾ok <mhroncok@redhat.com> - 1.4.2-2
|
|
|
8dd529 |
- Rebuilt for Python 3.7
|
|
|
8dd529 |
|
|
|
8dd529 |
* Sat Mar 24 2018 Jeremy Cline <jeremy@jcline.org> - 1.4.2-1
|
|
|
8dd529 |
- Update to latest upstream
|
|
|
8dd529 |
- License change to MIT
|
|
|
8dd529 |
|
|
|
8dd529 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-7
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-6
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.2-5
|
|
|
8dd529 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
8dd529 |
|
|
|
8dd529 |
* Mon Dec 19 2016 Miro Hron훾ok <mhroncok@redhat.com> - 1.3.2-4
|
|
|
8dd529 |
- Rebuild for Python 3.6
|
|
|
8dd529 |
|
|
|
8dd529 |
* Wed Jul 20 2016 Jeremy Cline <jeremy@jcline.org> - 1.3.2-3
|
|
|
8dd529 |
- Remove hard-coded Python y release versions in /usr/bin entries
|
|
|
8dd529 |
|
|
|
8dd529 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
|
|
|
8dd529 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
8dd529 |
|
|
|
8dd529 |
* Thu Jun 09 2016 Jeremy Cline <jeremy@jcline.org> - 1.3.2-1
|
|
|
8dd529 |
- Initial commit
|
|
|
8dd529 |
|