commit cc0fe1d65deb99ccb6af6e9c599ac5230577109e5c1a7ab9f529f30e18886230 Author: OBS User autobuild Date: Tue Jun 29 15:55:39 2010 +0000 Accepting request 42002 from devel:languages:python Copy from devel:languages:python/python-configobj based on submit request 42002 from user coolo OBS-URL: https://build.opensuse.org/request/show/42002 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-configobj?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/configobj-4.4.0.zip b/configobj-4.4.0.zip new file mode 100644 index 0000000..5839b1e --- /dev/null +++ b/configobj-4.4.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca09e5a308eaec07749eb74d772f6263dc9d7b7e76787b8c1fb986d34d323803 +size 171350 diff --git a/python-configobj.changes b/python-configobj.changes new file mode 100644 index 0000000..e66f395 --- /dev/null +++ b/python-configobj.changes @@ -0,0 +1,11 @@ +------------------------------------------------------------------- +Sun May 27 18:22:00 CEST 2007 - peter+rpmspam@suntel.com.tr + +- add "unzip" as a builddep so it builds on Factory - 4.4.0 + +------------------------------------------------------------------- + +Fri May 11 16:59:40 CEST 2007 - poeml@suse.de + +- package created (copy from packman package) - 4.4.0 + diff --git a/python-configobj.spec b/python-configobj.spec new file mode 100644 index 0000000..a8d3a2e --- /dev/null +++ b/python-configobj.spec @@ -0,0 +1,69 @@ +# +# spec file for package python-configobj (Version 4.4.0) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: python-configobj +BuildRequires: python-devel unzip +Summary: ConfigObj is a simple but powerful config file reader and writer +Version: 4.4.0 +Release: 1 +License: BSD +Group: Development/Libraries/Python +Source: configobj-%{version}.zip +Url: http://www.voidspace.org.uk/python/configobj.html +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{py_requires} + +%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 + including automatic type checking/conversion, repeated sections, + 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} + +%build +export CFLAGS="$RPM_OPT_FLAGS" +python setup.py build + +%install +python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f INSTALLED_FILES +%defattr(-,root,root) +%doc docs/* CONFIGOBJ_CHANGELOG_TODO.txt + +%changelog