Hello community,
here is the log from the commit of package python-argparse for openSUSE:Factory
checked in at Sat Jan 15 03:37:47 CET 2011.
--------
--- python-argparse/python-argparse.changes 2010-09-07 16:02:48.000000000 +0200
+++ python-argparse/python-argparse.changes 2010-12-15 15:41:28.000000000 +0100
@@ -1,0 +2,13 @@
+Wed Dec 15 14:06:37 UTC 2010 - saschpe@suse.de
+
+- Re-add documentation subpackage
+ * Got lost in previous commit
+ * Also add NEWS.txt and README.txt
+
+-------------------------------------------------------------------
+Sat Dec 11 20:48:26 UTC 2010 - saschpe@gmx.de
+
+- Re-generated spec file with py2pack, now builds for Fedora and
+ Mandriva.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-argparse.spec ++++++
--- /var/tmp/diff_new_pack.ZtlDNR/_old 2011-01-15 03:35:52.000000000 +0100
+++ /var/tmp/diff_new_pack.ZtlDNR/_new 2011-01-15 03:35:52.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python-argparse (Version 1.1)
+# spec file for package python-argparse
#
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 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
@@ -15,47 +15,59 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
+# norootforbuild
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-Name: python-argparse
+%define mod_name argparse
+
+Name: python-%{mod_name}
Version: 1.1
-Release: 1
-License: Apache
+Release: 2
+Url: http://code.google.com/p/argparse/
Summary: Python command-line parsing library
-Url: http://code.google.com/p/argparse
-Group: Development/Libraries/Python
-Source: argparse-%{version}.tar.bz2
-Source1: argparse-%{version}.pdf
-BuildRequires: dos2unix
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+License: Apache 2.0
+Group: Development/Languages/Python
+Source: %{mod_name}-%{version}.tar.bz2
+Source1: %{mod_name}-%{version}.pdf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
+BuildRequires: dos2unix python-devel
+%if 0%{?suse_version}
+%py_requires
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%endif
+%endif
%description
-The argparse module provides an easy, declarative interface for creating command
-line tools, which knows how to:
- - parse the arguments and flags from sys.argv;
- - convert arg strings into objects for your program;
- - format and print informative help messages;
- - and much more...
-
-The argparse module improves on the standard library optparse module in a number of ways including:
- - handling positional arguments;
- - supporting sub-commands;
- - allowing alternative option prefixes like + and /;
- - handling zero-or-more and one-or-more style arguments;
- - producing more informative usage messages;
- - providing a much simpler interface for custom types and actions.
+The argparse module provides an easy, declarative interface for
+creating command line tools, which knows how to:
+
+* parse the arguments and flags from sys.argv
+* convert arg strings into objects for your program
+* format and print informative help messages
+* and much more...
+
+The argparse module improves on the standard library optparse module
+in a number of ways including:
+
+* handling positional arguments
+* supporting sub-commands
+* allowing alternative option prefixes like + and /
+* handling zero-or-more and one-or-more style arguments
+* producing more informative usage messages
+* providing a much simpler interface for custom types and actions
+
+The latest version of argparse, along with API documentation and
+examples can be found at:
+
+ http://code.google.com/p/argparse/
-Author:
+Authors:
--------
Steven Bethard