From bd9e4d00a52e2ee4a23eab2a0780941c8ccdc530 Mon Sep 17 00:00:00 2001 From: David Shea Date: Jan 13 2015 15:57:11 +0000 Subject: Update to inflect-0.2.5, which fixes the following issues: - Fixed TypeError while parsing compounds (by yavarhusain) - Fixed encoding issue in setup.py on Python 3 --- diff --git a/.gitignore b/.gitignore index 070012b..9905dba 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /inflect-0.2.4.tar.gz +/inflect-0.2.5.tar.gz diff --git a/inflect-0.2.4-readme-encoding.patch b/inflect-0.2.4-readme-encoding.patch deleted file mode 100644 index 35e8797..0000000 --- a/inflect-0.2.4-readme-encoding.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -purN inflect-0.2.4.orig/setup.py inflect-0.2.4/setup.py ---- inflect-0.2.4.orig/setup.py 2013-06-09 03:03:47.000000000 -0400 -+++ inflect-0.2.4/setup.py 2014-07-08 14:02:39.471445182 -0400 -@@ -6,7 +6,7 @@ import inflect - - here = os.path.dirname(__file__) - readme_path = os.path.join(here, 'README.rst') --readme = open(readme_path).read() -+readme = open(readme_path, 'rb').read().decode('utf-8') - - setup( - name='inflect', diff --git a/python-inflect.spec b/python-inflect.spec index a8fc97a..8e3af44 100644 --- a/python-inflect.spec +++ b/python-inflect.spec @@ -1,12 +1,11 @@ Name: python-inflect -Version: 0.2.4 -Release: 4%{?dist} +Version: 0.2.5 +Release: 1%{?dist} Summary: Correctly generate plurals, singular nouns, ordinals and indefinite articles License: AGPLv3+ URL: https://pypi.python.org/pypi/inflect Source0: https://pypi.python.org/packages/source/i/inflect/inflect-%{version}.tar.gz -Patch0: inflect-0.2.4-readme-encoding.patch BuildArch: noarch @@ -62,7 +61,6 @@ to English words ("one", "two", "three). %prep %setup -q -n inflect-%{version} -%patch0 -p1 rm -rf %{py3dir} cp -a . %{py3dir} @@ -93,6 +91,11 @@ cp -a . %{py3dir} %{python3_sitelib}/inflect-%{version}-*.egg-info %changelog +* Tue Jan 13 2015 David Shea - 0.2.5-1 +- Update to inflect-0.2.5, which fixes the following issues: +- Fixed TypeError while parsing compounds (by yavarhusain) +- Fixed encoding issue in setup.py on Python 3 + * Mon Jul 21 2014 David Shea - 0.2.4-4 - Separate the python2 and python3 buildrequires by package section diff --git a/sources b/sources index 0ad68e2..c1046e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -fc2d807b600c4e959e993690ffa573bc inflect-0.2.4.tar.gz +ca9ecb838687253eedc6c81f59c656a7 inflect-0.2.5.tar.gz