[python26-configobj/el5] First python26 package rhbz#840447
stevetraylen
stevetraylen at fedoraproject.org
Mon Jul 16 17:18:16 UTC 2012
commit 727f30b2fdee9c4a5bd091a296b7b305bf57c638
Author: Steve Traylen <steve.traylen at cern.ch>
Date: Mon Jul 16 20:31:21 2012 +0200
First python26 package rhbz#840447
.gitignore | 1 +
configobj-import-all-fix.patch | 12 ++++
python26-configobj.spec | 138 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 152 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f5a0a08 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/configobj-4.7.2.zip
diff --git a/configobj-import-all-fix.patch b/configobj-import-all-fix.patch
new file mode 100644
index 0000000..1fe30c7
--- /dev/null
+++ b/configobj-import-all-fix.patch
@@ -0,0 +1,12 @@
+Index: configobj-4.7.2/validate.py
+===================================================================
+--- configobj-4.7.2.orig/validate.py
++++ configobj-4.7.2/validate.py
+@@ -160,7 +160,6 @@ __all__ = (
+ 'is_ip_addr_list',
+ 'is_mixed_list',
+ 'is_option',
+- '__docformat__',
+ )
+
+
diff --git a/python26-configobj.spec b/python26-configobj.spec
new file mode 100644
index 0000000..fae2cca
--- /dev/null
+++ b/python26-configobj.spec
@@ -0,0 +1,138 @@
+%global python_sitelib %{_prefix}/lib/python2.6/site-packages
+%global __os_install_post %__multiple_python_os_install_post
+
+Name: python26-configobj
+Version: 4.7.2
+Release: 5%{?dist}
+Summary: Config file reading, writing, and validation
+
+Group: System Environment/Libraries
+License: BSD
+URL: http://www.voidspace.org.uk/python/configobj.html
+Source0: http://www.voidspace.org.uk/downloads/configobj-%{version}.zip
+Patch0: configobj-import-all-fix.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: python26-devel
+BuildRequires: python26
+
+%description
+ConfigObj is a simple but powerful config file reader and writer: an ini file
+round tripper. Its main feature is that it is very easy to use, with a
+straightforward programmer's interface and a simple syntax for config files.
+It has lots of other features though:
+ * Nested sections (subsections), to any level
+ * List values
+ * Multiple line values
+ * String interpolation (substitution)
+ * Integrated with a powerful validation system
+ o including automatic type checking/conversion
+ o repeated sections
+ o and allowing default values
+ * All comments in the file are preserved
+ * The order of keys/sections is preserved
+ * No external dependencies
+ * Full Unicode support
+ * A powerful unrepr mode for storing basic datatypes
+
+
+%prep
+%setup -q -n configobj-%{version}
+%patch0 -p1 -b .all
+
+%build
+python26 setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python26 setup.py install --skip-build --root=$RPM_BUILD_ROOT
+
+%check
+export PYTHONPATH="%{buildroot}/%{python_sitelib}"
+python26 tests/test_configobj.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc docs/*
+%{python_sitelib}/*
+
+%changelog
+* Mon Jul 16 2012 Steve Traylen <steve.traylen at cern.ch> - 4.7.2-3
+- Adapt fedora18 package for python26 epel5 package.
+
+* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.7.2-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.7.2-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Thu Jul 22 2010 David Malcolm <dmalcolm at redhat.com> - 4.7.2-2
+- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
+
+* Thu Jun 17 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 4.7.2-1
+- Fix traceback when doing from validate import *
+- Upstream bugfix release
+
+* Wed Jan 20 2010 Luke Macken <lmacken at redhat.com> - 4.7.0-2
+- Merge a bunch of changes from Gareth Armstrong <gareth.armstrong at hp.com>
+ - The src zip file should come either from http://www.voidspace.org.uk/
+ downloads/ or http://code.google.com/p/configobj/ as the PyPI tarball is
+ not complete. No docs and no test code.
+ - Added docs
+ - Remove BR on python-setuptools-devel
+
+* Sun Jan 10 2010 Luke Macken <lmacken at redhat.com> - 4.7.0-1
+- Update to 4.7.0
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.6.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu May 7 2009 Yaakov M. Nemoy <ynemoy at fedoraproject.org> - 4.6.0-1
+- updated to latest upstream
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.5.3-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Feb 09 2009 Luke Macken <lmacken at redhat.com> - 4.5.3-4
+- Conditionally include the egg-info, when available (#478417)
+
+* Mon Dec 1 2008 Toshio Kuratomi <toshio at fedoraproject.org> - 4.5.3-3
+- Upload Source file so this actually builds.
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 4.5.3-2
+- Rebuild for Python 2.6
+
+* Sat Jun 28 2008 Luke Macken <lmacken at redhat.com> - 4.5.3-1
+- Update to 4.5.3
+
+* Thu Feb 28 2008 Luke Macken <lmacken at redhat.com> - 4.5.2-1
+- Update to 4.5.2
+
+* Sun Sep 2 2007 Luke Macken <lmacken at redhat.com> - 4.4.0-2
+- Update for python-setuptools changes in rawhide
+
+* Sat Mar 3 2007 Luke Macken <lmacken at redhat.com> - 4.4.0-1
+- 4.4.0
+
+* Sat Dec 9 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-6
+- Rebuild for python 2.5
+
+* Sun Sep 3 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-5
+- Fix dist tag
+
+* Sun Sep 3 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-4
+- Rebuild for FC6
+
+* Mon Aug 14 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-3
+- Include pyo files
+
+* Tue Jul 18 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-2
+- Fix typo in the url
+
+* Mon Jul 10 2006 Luke Macken <lmacken at redhat.com> - 4.3.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..e55a682 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+51cee395cfbf831339b03f72706de18e configobj-4.7.2.zip
More information about the scm-commits
mailing list