Blame SPECS/python-jaraco-packaging.spec

08cf2d
# Created by pyp2rpm-3.2.2
08cf2d
%global pypi_name jaraco.packaging
08cf2d
%global pkg_name jaraco-packaging
08cf2d
# This package is interdependant on rst-linker to build docs
08cf2d
# will build both with out docs and add docs in later
08cf2d
%bcond_with docs 
08cf2d
08cf2d
Name:           python-%{pkg_name}
08cf2d
Version:        8.2.1
08cf2d
Release:        4%{?dist}
08cf2d
Summary:        Tools to supplement packaging Python releases
08cf2d
08cf2d
License:        MIT
08cf2d
URL:            https://github.com/jaraco/jaraco.packaging
08cf2d
Source0:        https://files.pythonhosted.org/packages/source/j/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
08cf2d
BuildArch:      noarch
08cf2d
 
08cf2d
%description
08cf2d
Tools for packaging.dependency_tree A dist-utils command for reporting the
08cf2d
dependency tree as resolved by setup-tools. Use after installing a package.show
08cf2d
A dist-utils command for reporting the attributes of a distribution, such as the
08cf2d
version or author name.
08cf2d
08cf2d
%package -n python3-jaraco
08cf2d
Summary: A Parent package for jaraco's parent dir and init file.
08cf2d
BuildRequires:  python3-devel
08cf2d
%{?python_provide:%python_provide python3-jaraco}
08cf2d
08cf2d
%description -n python3-jaraco
08cf2d
A Parent package for jaraco's parent dir and init file.
08cf2d
08cf2d
%package -n python3-%{pkg_name}
08cf2d
Summary:        %{summary}
08cf2d
Requires:       python3-jaraco
08cf2d
Requires:       python3dist(rst.linker)
08cf2d
Requires:       python3dist(six) >= 1.4
08cf2d
Requires:       python3dist(setuptools)
08cf2d
08cf2d
BuildRequires:  python3dist(setuptools)
08cf2d
BuildRequires:  python3-setuptools_scm >= 1.15.0
08cf2d
BuildRequires:  python3dist(six) >= 1.4
08cf2d
BuildRequires:  python3dist(toml)
08cf2d
08cf2d
%if 0%{?python3_version_nodots} < 38
08cf2d
Requires:       python3dist(importlib-metadata) >= 0.18
08cf2d
%endif
08cf2d
BuildRequires:  python3dist(importlib-metadata) >= 0.18
08cf2d
08cf2d
%{?python_provide:%python_provide python3-%{pkg_name}}
08cf2d
08cf2d
%description -n python3-%{pkg_name}
08cf2d
Tools for packaging.dependency_tree A dist-utils command for reporting the
08cf2d
dependency tree as resolved by setup-tools. Use after installing a package.show
08cf2d
A dist-utils command for reporting the attributes of a distribution, such as the
08cf2d
version or author name.
08cf2d
08cf2d
08cf2d
%if %{with docs}
08cf2d
%package -n python-%{pkg_name}-doc
08cf2d
Summary:        jaraco.packaging documentation
08cf2d
08cf2d
BuildRequires:  python3dist(sphinx)
08cf2d
BuildRequires:  python3dist(rst.linker)
08cf2d
08cf2d
%description -n python-%{pkg_name}-doc
08cf2d
Documentation for jaraco.packaging
08cf2d
%endif
08cf2d
08cf2d
%prep
08cf2d
%autosetup -n %{pypi_name}-%{version}
08cf2d
# Remove bundled egg-info
08cf2d
rm -rf %{pypi_name}.egg-info
08cf2d
08cf2d
%build
08cf2d
%py3_build
08cf2d
%if %{with docs}
08cf2d
# generate html docs 
08cf2d
# This package requires itself to build docs :/
08cf2d
PYTHONPATH=./ sphinx-build docs html
08cf2d
# remove the sphinx-build leftovers
08cf2d
rm -rf html/.{doctrees,buildinfo}
08cf2d
%endif
08cf2d
08cf2d
%install
08cf2d
%py3_install
08cf2d
08cf2d
%check
08cf2d
%{__python3} setup.py test
08cf2d
08cf2d
%files -n python3-jaraco
08cf2d
%license LICENSE
08cf2d
%doc README.rst
08cf2d
%{python3_sitelib}/jaraco
08cf2d
%exclude %{python3_sitelib}/jaraco/packaging
08cf2d
08cf2d
%files -n python3-%{pkg_name}
08cf2d
%license LICENSE
08cf2d
%doc README.rst
08cf2d
%{_bindir}/dependency-tree
08cf2d
%{python3_sitelib}/jaraco/packaging
08cf2d
%{python3_sitelib}/jaraco.packaging-%{version}-py%{python3_version}.egg-info
08cf2d
08cf2d
%if %{with docs}
08cf2d
%files -n python-%{pkg_name}-doc
08cf2d
%license LICENSE
08cf2d
%doc html 
08cf2d
%endif
08cf2d
08cf2d
%changelog
08cf2d
* Mon Oct 25 2021 Kaleb S. KEITHLEY (kkeithle [at] redhat.com> - 8.2.1-4
08cf2d
- Rebuild from lookaside
08cf2d
08cf2d
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.1-3
08cf2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
08cf2d
08cf2d
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 8.2.1-2
08cf2d
- Rebuilt for Python 3.10
08cf2d
08cf2d
* Fri Apr 30 2021 Dan Radez <dradez@redhat.com> - 8.2.1-1
08cf2d
- Update to 8.2.1
08cf2d
08cf2d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.0-2
08cf2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
08cf2d
08cf2d
* Tue Jan 05 2021 Dan Radez <dradez@redhat.com> - 8.2.0-1
08cf2d
- Update to 8.2.0
08cf2d
08cf2d
* Wed Dec 09 2020 Dan Radez <dradez@redhat.com> - 8.1.1-1
08cf2d
- Update to 8.1.1
08cf2d
08cf2d
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.1.0-3
08cf2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
08cf2d
08cf2d
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 8.1.0-2
08cf2d
- Rebuilt for Python 3.9
08cf2d
08cf2d
* Fri May 08 2020 Dan Radez <dradez@redhat.com> - 8.1.0-1
08cf2d
- Update to 8.1
08cf2d
08cf2d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.2-7
08cf2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
08cf2d
08cf2d
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 6.2-6
08cf2d
- Rebuilt for Python 3.8.0rc1 (#1748018)
08cf2d
08cf2d
* Tue Aug 20 2019 Miro Hrončok <mhroncok@redhat.com> - 6.2-5
08cf2d
- Fix dependency on rst.linker
08cf2d
08cf2d
* Tue Aug 20 2019 Dan Radez <dradez@redhat.com> - 6.2-4
08cf2d
- removing the sed . to _ it's confusing and not needed
08cf2d
08cf2d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 6.2-3
08cf2d
- Rebuilt for Python 3.8
08cf2d
08cf2d
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 6.2-2
08cf2d
- Rebuilt for Python 3.8
08cf2d
08cf2d
* Fri Aug 16 2019 Dan Radez <dradez@redhat.com> - 6.2-1
08cf2d
- updating to 6.2
08cf2d
08cf2d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.1-8
08cf2d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
08cf2d
08cf2d
* Mon Apr 08 2019 Dan Radez <dradez@redhat.com> - 6.1-7
08cf2d
- fixing egg info
08cf2d
08cf2d
* Mon Apr 08 2019 Dan Radez <dradez@redhat.com> - 6.1-6
08cf2d
- Updating doc reqs in prep to enable doc build
08cf2d
08cf2d
* Fri Apr 05 2019 Dan Radez <dradez@redhat.com> - 6.1-5
08cf2d
- fixing python-jaraco-packaging requires... again
08cf2d
08cf2d
* Fri Apr 05 2019 Dan Radez <dradez@redhat.com> - 6.1-4
08cf2d
- fixing python-jaraco-packaging requires.
08cf2d
08cf2d
* Fri Apr 05 2019 Dan Radez <dradez@redhat.com> - 6.1-3
08cf2d
- adding python-jaraco subpackage.
08cf2d
08cf2d
* Fri Apr 05 2019 Dan Radez <dradez@redhat.com> - 6.1-2
08cf2d
- adding py3 subpackage.
08cf2d
08cf2d
* Tue Apr 02 2019 Dan Radez <dradez@redhat.com> - 6.1-1
08cf2d
- Initial package.