From c85cb33f02a571576abfdeec69afa61b1ca3df99 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Feb 18 2014 15:26:25 +0000 Subject: import python-backports-1.0-6.el7.src.rpm --- diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SOURCES/backports.py b/SOURCES/backports.py new file mode 100644 index 0000000..3ad9513 --- /dev/null +++ b/SOURCES/backports.py @@ -0,0 +1,2 @@ +from pkgutil import extend_path +__path__ = extend_path(__path__, __name__) diff --git a/SPECS/python-backports.spec b/SPECS/python-backports.spec new file mode 100644 index 0000000..2fa172a --- /dev/null +++ b/SPECS/python-backports.spec @@ -0,0 +1,60 @@ +# https://bugzilla.redhat.com/show_bug.cgi?id=998047 + +Name: python-backports +Version: 1.0 +Release: 6%{?dist} +Summary: Namespace for backported Python features + +# 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 + +BuildArch: noarch +BuildRequires: python2-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 + + +%files +%{python_sitelib}/backports + + +%changelog +* Fri Feb 14 2014 Endi S. Dewata - 1.0-6 +- Fixed build arch + +* Tue Jan 28 2014 Daniel Mach - 1.0-5 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 1.0-4 +- Mass rebuild 2013-12-27 + +* Mon Aug 19 2013 Ian Weller - 1.0-3 +- Install to both python_sitelib and python_sitearch + +* Mon Aug 19 2013 Ian Weller - 1.0-2 +- Install to the correct location + +* Fri Aug 16 2013 Ian Weller - 1.0-1 +- Initial package build