# https://bugzilla.redhat.com/show_bug.cgi?id=998047 Name: python-backports Version: 1.0 Release: %mkrel 5 Summary: Namespace for backported Python features Group: Development/Python # Only code is sourced from http://www.python.org/dev/peps/pep-0382/ License: Public Domain URL: https://pypi.python.org/pypi/backports Source0: backports.py BuildRequires: python-devel %description The backports namespace is a namespace reserved for features backported from the Python standard library to older versions of Python 2. Packages that exist in the backports namespace in Fedora should not provide their own backports/__init__.py, but instead require this package. Backports to earlier versions of Python 3, if they exist, do not need this package because of changes made in Python 3.3 in PEP 420 (http://www.python.org/dev/peps/pep-0420/). %prep %build %install mkdir -pm 755 %{buildroot}%{python_sitelib}/backports install -pm 644 %{SOURCE0} %{buildroot}%{python_sitelib}/backports/__init__.py %if "%{python_sitelib}" != "%{python_sitearch}" mkdir -pm 755 %{buildroot}%{python_sitearch}/backports install -pm 644 %{SOURCE0} %{buildroot}%{python_sitearch}/backports/__init__.py %endif %files %{python_sitelib}/backports %if "%{python_sitelib}" != "%{python_sitearch}" %{python_sitearch}/backports %endif %changelog * Sat Feb 06 2016 umeabot <umeabot> 1.0-5.mga6 + Revision: 939952 - Mageia 6 Mass Rebuild * Wed Oct 15 2014 umeabot <umeabot> 1.0-4.mga5 + Revision: 738958 - Second Mageia 5 Mass Rebuild * Sat Sep 27 2014 tv <tv> 1.0-3.mga5 + Revision: 728100 - rebuild for missing pythoneggs deps * Tue Sep 16 2014 umeabot <umeabot> 1.0-2.mga5 + Revision: 687897 - Mageia 5 Mass Rebuild * Tue Sep 09 2014 juancho <juancho> 1.0-1.mga5 + Revision: 674049 - imported package python-backports * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon Aug 19 2013 Ian Weller <iweller@redhat.com> - 1.0-3 - Install to both python_sitelib and python_sitearch * Mon Aug 19 2013 Ian Weller <iweller@redhat.com> - 1.0-2 - Install to the correct location * Fri Aug 16 2013 Ian Weller <iweller@redhat.com> - 1.0-1 - Initial package build