d732cea
%global upname pathtools
d732cea
d732cea
Name:		python-%{upname}
d732cea
Version:	0.1.2
383d983
Release:	23%{?dist}
d732cea
Summary:	Pattern matching and various utilities for file systems paths
d732cea
d732cea
License:	MIT
d732cea
URL:		https://github.com/gorakhargosh/%{upname}
d732cea
Source0:	%{pypi_source %{upname}}
d732cea
d732cea
BuildArch:	noarch
5fd5c6e
BuildRequires: make
d732cea
BuildRequires:	python3-devel
d732cea
BuildRequires:	python3-setuptools
d732cea
BuildRequires:	python3-sphinx
d732cea
BuildRequires:	python3-flask-sphinx-themes
d732cea
d732cea
%global _description\
d732cea
%{name} is a Python API library for common path\
d732cea
and pattern functionality.\
d732cea
d732cea
d732cea
%description %_description
d732cea
d732cea
%package -n python3-%{upname}
d732cea
Summary: %summary
d732cea
%{?python_provide:%python_provide python3-%{upname}}
d732cea
d732cea
%description -n python3-%{upname} %_description
d732cea
d732cea
d732cea
%prep
d732cea
%setup -qn %{upname}-%{version}
d732cea
d732cea
# remove hashbang from lib's files
d732cea
sed -i -e '/#!\//d' pathtools/*.py
d732cea
d732cea
d732cea
%build
d732cea
%py3_build
d732cea
d732cea
pushd docs
d732cea
make SPHINXBUILD=sphinx-build-3 html
d732cea
rm -rf build/html/.build*
d732cea
popd
d732cea
d732cea
d732cea
%install
d732cea
%py3_install
d732cea
d732cea
d732cea
%files -n python3-%{upname}
d732cea
%license LICENSE
d732cea
%doc AUTHORS LICENSE README
d732cea
%doc docs/build/html
d732cea
%{python3_sitelib}/pathtools*/
d732cea
d732cea
d732cea
%changelog
383d983
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-23
383d983
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
383d983
ad5ce54
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-22
ad5ce54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
ad5ce54
2a461e8
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-21
2a461e8
- Rebuilt for Python 3.9
2a461e8
397fbd0
* Mon Dec 09 2019 Stephen Coady <scoady@redhat.com> - 0.1.2-20
397fbd0
- Rebuilt to adopt package
397fbd0
d732cea
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-19
d732cea
- Rebuilt for Python 3.8
d732cea
d732cea
* Wed Jul 24 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-18
d732cea
- Drop python2-pathtools
d732cea
d732cea
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-17
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d732cea
d732cea
* Mon Dec 10 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-16
d732cea
- Only build the documentation on Python 3
d732cea
d732cea
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-15
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d732cea
d732cea
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-14
d732cea
- Rebuilt for Python 3.7
d732cea
d732cea
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.1.2-13
d732cea
- Update Python 2 dependency declarations to new packaging standards
d732cea
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
d732cea
d732cea
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-12
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
d732cea
d732cea
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.1.2-11
d732cea
- Python 2 binary package renamed to python2-pathtools
d732cea
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
d732cea
d732cea
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-10
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
d732cea
d732cea
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-9
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d732cea
d732cea
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.1.2-8
d732cea
- Rebuild for Python 3.6
d732cea
d732cea
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-7
d732cea
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
d732cea
d732cea
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-6
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d732cea
d732cea
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-5
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
d732cea
d732cea
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d732cea
d732cea
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-3
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d732cea
d732cea
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 0.1.2-2
d732cea
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
d732cea
d732cea
* Mon Aug 12 2013 Björn Esser <bjoern.esser@gmail.com> - 0.1.2-1
d732cea
- Initial RPM release (#996088)