Hello community,

here is the log from the commit of package python-argparse for openSUSE:Factory 
checked in at 2013-04-24 15:57:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-argparse (Old)
 and      /work/SRC/openSUSE:Factory/.python-argparse.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-argparse", Maintainer is "speili...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-argparse/python-argparse.changes  
2011-09-26 10:13:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-argparse.new/python-argparse.changes     
2013-04-24 15:57:57.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Apr 14 16:37:44 UTC 2013 - p.drou...@gmail.com
+
+- Initial python3 support
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2013-04-05 00:01:41.916011506 +0200
+++ /work/SRC/openSUSE:Factory/.python-argparse.new/python3-argparse.changes    
2013-04-24 15:57:57.000000000 +0200
@@ -0,0 +1,74 @@
+-------------------------------------------------------------------
+Sun Apr 14 16:37:44 UTC 2013 - p.drou...@gmail.com
+
+- Initial python3 support
+
+-------------------------------------------------------------------
+Thu Sep 22 10:53:36 UTC 2011 - sasc...@suse.de
+
+- Corrected license to Python-2.0
+
+-------------------------------------------------------------------
+Thu Sep 22 09:24:24 UTC 2011 - sasc...@suse.de
+
+- Set license to Apache-2.0 (SPDX style)
+- Merge doc package back into base package
+- Remove %clean section and authors from description
+- Require python-distribute instead of python-setuptools
+
+-------------------------------------------------------------------
+Fri Apr  1 01:00:43 UTC 2011 - alexan...@exatati.com.br
+
+- Update to 1.2.1:
+  - fixed Issue #82: argparse 1.2 incompatible with Python 3.1
+  - hacked the tests so they don't have the minor failures that were caused
+    by the compatibility stuff for python 2.3 and 3.1
+
+-------------------------------------------------------------------
+Mon Mar 28 16:38:22 UTC 2011 - alexan...@exatati.com.br
+
+- Update to 1.2:
+  - fixed Issue #79: re-licensed argparse package under same
+    license as py 2.7 stdlib argparse code
+  - fixed Issue #80: argparse 1.2 is now same archive on pypi / on
+    google code
+- Hard-coded PDF version as it is not following release number
+  (at least for now).
+
+-------------------------------------------------------------------
+Wed Dec 15 14:06:37 UTC 2010 - sasc...@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 - sasc...@gmx.de
+
+- Re-generated spec file with py2pack, now builds for Fedora and
+  Mandriva.
+
+-------------------------------------------------------------------
+Tue Sep  7 13:32:48 UTC 2010 - alexan...@exatati.com.br
+
+- Bzip2 source file;
+- Spec file cleaned with spec-cleaner.
+
+-------------------------------------------------------------------
+Sun May 30 09:45:05 UTC 2010 - t...@suse.de
+
+SPEC file changes:
+- Create subpackage for documentation
+- Added %changelog
+- Used macro "modname"
+- Added additionally PDF for documentation subpackage
+
+-------------------------------------------------------------------
+Mon Mar  1 14:37:00 UTC 2010 - alexan...@exatati.com.br
+
+- Update to 1.1.
+
+-------------------------------------------------------------------
+Thu Dec 10 11:49:00 UTC 2009 - alexan...@exatati.com.br
+
+- Initial package (1.0.1) for openSUSE.

New:
----
  python3-argparse.changes
  python3-argparse.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-argparse.spec ++++++
--- /var/tmp/diff_new_pack.5tYj6K/_old  2013-04-24 15:57:58.000000000 +0200
+++ /var/tmp/diff_new_pack.5tYj6K/_new  2013-04-24 15:57:58.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-argparse
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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

++++++ python3-argparse.spec ++++++
#
# spec file for package python3-argparse
#
# Copyright (c) 2013 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/
#



Name:           python3-argparse
Version:        1.2.1
Release:        0
Url:            http://code.google.com/p/argparse/
Summary:        Python command-line parsing library
License:        Python-2.0
Group:          Development/Languages/Python
Source:         argparse-%{version}.tar.bz2
Source1:        argparse-1.1.pdf
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
Requires:       python3
BuildArch:      noarch

%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 

%prep
%setup -n argparse-%{version}
mkdir html
pushd doc
    mv * ../html/
    mv ../html .
popd
sed -i "s/\r//" NEWS.txt # Avoid warning wrong-file-end-of-line-encoding
cp %{SOURCE1} doc/

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files 
%defattr(-,root,root,-)
%doc NEWS.txt README.txt doc/*
%python3_sitelib/*

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to