[python-okaara/f19] Update to python-okaara-1.0.32

Alex Wood awood at fedoraproject.org
Fri Jan 31 18:39:10 UTC 2014


commit 7c44b93b9c8a8cec54c28d678db5916e431e7301
Author: Alex Wood <awood at redhat.com>
Date:   Wed Jan 29 15:55:49 2014 -0500

    Update to python-okaara-1.0.32

 .gitignore         |    1 +
 python-okaara.spec |  114 ++++++++++++++++++++++++++++++++++++++++++++++------
 sources            |    2 +-
 3 files changed, 103 insertions(+), 14 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6abf01f..c05ee9f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /python-okaara-1.0.21.tar.gz
+/python-okaara-1.0.32-1.tar.gz
diff --git a/python-okaara.spec b/python-okaara.spec
index d5f3989..e7ffd5c 100644
--- a/python-okaara.spec
+++ b/python-okaara.spec
@@ -3,33 +3,43 @@
 # -- headers ------------------------------------------------------------------
 
 Name:           python-okaara
-Version:        1.0.21
-Release:        3%{?dist}
+Version:        1.0.32
+%global rel 1
+Release:        %{rel}%{?dist}
 Summary:        Python command line utilities
 
 Group:          Development/Tools
 License:        GPLv2
 URL:            https://github.com/jdob/okaara
-Source0:        http://jdob.fedorapeople.org/okaara-src/%{name}-%{version}.tar.gz
+Source0:        https://github.com/jdob/okaara/archive/%{name}-%{version}-%{rel}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 BuildRequires:  python-nose
 BuildRequires:  python-setuptools
+BuildRequires:  python-babel
 BuildRequires:  python2-devel
 
 %description
 Python library to facilitate the creation of command-line interfaces.
 
 %prep
-%setup -q
+# GitHub gives a weird name for the tarball
+%setup -q -n okaara-%{name}-%{version}-%{rel}
 
 # -- build --------------------------------------------------------------------
 
 %build
-pushd src
 %{__python} setup.py build
-popd
+
+mkdir -p po/build
+for lang in `ls po/*.po` ; do
+    echo $lang;
+    lang=`basename $lang .po`;
+    mkdir -p po/build/$lang/LC_MESSAGES/;
+    %{__python} setup.py compile_catalog -i po/$lang.po \
+        -o po/build/$lang/LC_MESSAGES/okaara.mo;
+done
 
 # -- install ------------------------------------------------------------------
 
@@ -37,18 +47,17 @@ popd
 rm -rf $RPM_BUILD_ROOT
 
 # Python setup
-pushd src
 %{__python} setup.py install -O1 --skip-build --root %{buildroot}
-popd
 rm -f $RPM_BUILD_ROOT%{python_sitelib}/rhui*egg-info/requires.txt
 
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/locale/
+cp -R po/build/* $RPM_BUILD_ROOT/%{_datadir}/locale/
+%find_lang okaara
+
 # -- check --------------------------------------------------------------------
 
 %check
-export PYTHONPATH=$RPM_BUILD_ROOT/%{python_sitelib}
-pushd test
 nosetests
-popd
 
 # -- clean --------------------------------------------------------------------
 
@@ -57,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
 
 # -- files --------------------------------------------------------------------
 
-%files
+%files -f okaara.lang
 %{python_sitelib}/okaara/
 %{python_sitelib}/okaara*.egg-info
 %doc LICENSE
@@ -65,12 +74,91 @@ rm -rf $RPM_BUILD_ROOT
 # -- changelog ----------------------------------------------------------------
 
 %changelog
+<<<<<<< HEAD
+=======
+* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.21-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu May 23 2013 Jay Dobies <jason.dobies at redhat.com> 1.0.32-1
+- Added empty strings as a possibility for optional parse methods
+  (jason.dobies at redhat.com)
+- Added copyright information (jason.dobies at redhat.com)
+
+* Wed May 22 2013 Jay Dobies <jason.dobies at redhat.com> 1.0.31-1
+- Renamed non-negative int parser (jason.dobies at redhat.com)
+- Added base set of parsers (jason.dobies at redhat.com)
+- Header standardization (jason.dobies at redhat.com)
+- Updated sample (jason.dobies at redhat.com)
+
+* Thu Feb 14 2013 Jay Dobies <jason.dobies at redhat.com> 1.0.30-1
+- Various clean up (jason.dobies at redhat.com)
+
+* Thu Feb 14 2013 Jay Dobies <jason.dobies at redhat.com> 1.0.29-1
+- Fixed deadlock when the threaded spinner times out (jason.dobies at redhat.com)
+
+>>>>>>> 8bfcdb8... Update to python-okaara-1.0.32
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.21-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
+* Tue Jan 08 2013 Jay Dobies <jason.dobies at redhat.com> 1.0.28-1
+- Added support for telling the user if an unexpected option was specified
+  (jason.dobies at redhat.com)
+- Remove Pulp references (jason.dobies at redhat.com)
+- Fixed class formatting (jason.dobies at redhat.com)
+
+* Thu Dec 06 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.27-1
+- The full path to the section isn't known, so the usage was misleading since
+  it was missing the parent sections. The change for now is to simply not
+  include the path to the section and just inform the user of the
+  section/command relationship. (jason.dobies at redhat.com)
+- Fix to find closest match in the event a nested command is not found to make
+  sure the cloest matching subsection is returned (jason.dobies at redhat.com)
+- Reorganized code for pip standards (jason.dobies at redhat.com)
+- Clean up for handling of argument - prefixes (jason.dobies at redhat.com)
+
+* Fri Aug 24 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.26-1
+- Added syntactic sugar methods to the CLI (jason.dobies at redhat.com)
+- Added keyword property to the Option class (jason.dobies at redhat.com)
+
+* Fri Aug 24 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.25-1
+- fixing a bug where an Exception instance was assumed to have an attribute not
+  present in python <2.5, and that attribute was assumed to have a non-
+  guaranteed value. (mhrivnak at redhat.com)
+- Add i18n support. (jbowes at repl.ca)
+- Fixed incorrect package_dir after moving setup.py to root
+  (jason.dobies at redhat.com)
+- add some more info to setup.py (jbowes at repl.ca)
+- spec: nosetests can run from the toplevel src dir (jbowes at repl.ca)
+- Move setup.py to the toplevel (jbowes at repl.ca)
+- Added column alignment capabilities (jason.dobies at redhat.com)
+
+* Thu Jul 26 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.24-1
+- Added interruptable handling to prompt_password (jason.dobies at redhat.com)
+- Changed table and col width to be non-instance to make life a whole lot
+  easier (jason.dobies at redhat.com)
+- Entirely restructured table handling with a pre-parse step
+  (jason.dobies at redhat.com)
+- Changed table_width and col_width to be stored as instance variables
+  (jason.dobies at redhat.com)
+- Removed pointless layer between table and its config
+  (jason.dobies at redhat.com)
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.21-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
+* Thu Jul 19 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.23-1
+- Added ability to remove a command from the root CLI (jason.dobies at redhat.com)
+
+* Wed Jul 18 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.22-1
+- converted to new-style classes so they are easier to subclass.
+  (mhrivnak at redhat.com)
+- Validate and parse functions are no longer applied to options for which the
+  user did not supply any input. (mhrivnak at redhat.com)
+ Added built in validate and parse functions on options
+  (jason.dobies at redhat.com)
+- Some refactoring to support subclasses better (jason.dobies at redhat.com)
+- Added color support (naturally) (jason.dobies at redhat.com)
+
 * Mon Jul 09 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.21-1
 - Make sure src is in the python path so tests can run
   (jason.dobies at redhat.com)
@@ -78,7 +166,7 @@ rm -rf $RPM_BUILD_ROOT
 * Sun Jul 08 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.20-1
 - Removing the explicit python version requirement since it's not needed on
   Fedora (might still be needed on RHEL5). (jason.dobies at redhat.com)
-- Added %check section and %files change for fedora packaging
+- Added %%check section and %%files change for fedora packaging
   (jason.dobies at redhat.com)
 
 * Wed May 23 2012 Jay Dobies <jason.dobies at redhat.com> 1.0.19-1
diff --git a/sources b/sources
index c07d2fb..a30a866 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2d86eed7afd9f386e2a5bf2bd4811a3a  python-okaara-1.0.21.tar.gz
+053e6bd5272abc80fe13ef1c0035a44f  python-okaara-1.0.32-1.tar.gz


More information about the scm-commits mailing list