[python-svgwrite] Update to 1.1.4 from upstream

Julien Enselme jujens at fedoraproject.org
Tue Mar 25 20:58:49 UTC 2014


commit 14fb23554ea0867696ddf9c3ed3e8a899d857602
Author: Julien Enselme <jujens at jujens.eu>
Date:   Tue Mar 25 21:58:51 2014 +0100

    Update to 1.1.4 from upstream
    
    - The bundled library was removed upstream

 .gitignore                            |    1 +
 python-svgwrite-1.1.3-pyparsing.patch |   59 ---------------------------------
 python-svgwrite.spec                  |   19 +++-------
 sources                               |    2 +-
 4 files changed, 8 insertions(+), 73 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b3bd988..4073139 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /svgwrite-1.1.3.tar.gz
+/svgwrite-1.1.4.tar.gz
diff --git a/python-svgwrite.spec b/python-svgwrite.spec
index 453ac54..802a7be 100644
--- a/python-svgwrite.spec
+++ b/python-svgwrite.spec
@@ -1,12 +1,11 @@
 Name:           python-svgwrite
-Version:        1.1.3
-Release:        4%{?dist}
+Version:        1.1.4
+Release:        1%{?dist}
 Summary:        Python 2 library to create SVG drawings
 
 License:        MIT
 URL:            https://bitbucket.org/mozman/svgwrite
 Source0:        https://bitbucket.org/mozman/svgwrite/downloads/svgwrite-%{version}.tar.gz
-Patch0:         %{name}-%{version}-pyparsing.patch
 
 BuildArch:      noarch
 BuildRequires:  python2-devel pyparsing
@@ -25,16 +24,6 @@ Python 3 library to create SVG drawings.
 
 %prep
 %setup -q -n svgwrite-%{version}
-# Convert line endings to unix before applying patch
-sed $'s/\r$//' svgwrite/data/svgparser.py > tmp &&
-mv tmp svgwrite/data/svgparser.py
-sed $'s/\r$//' tests/test_clock_val_parser.py > tmp &&
-mv tmp tests/test_clock_val_parser.py
-sed $'s/\r$//' tests/test_parsing_basic_types.py > tmp &&
-mv tmp tests/test_parsing_basic_types.py
-%patch0 -p1
-# pyparsing is an bunble library
-rm svgwrite/data/pyparsing_py{2,3}.py
 rm -rf %{py3dir}
 cp -a . %{py3dir}
 
@@ -86,6 +75,10 @@ popd
 %{python3_sitelib}/svgwrite/
 
 %changelog
+* Tue Mar 25 2014 Julien Enselme <jujens at jujens.eu> - 1.1.4-1
+- Update to 1.1.4 from upstream
+- The bundled library was removed upstream
+
 * Fri Mar 14 2014 Julien Enselme <jujens at jujens.eu> - 1.1.3-4
 - Add pyparsing and python3-pyparsing as requires
 - Patch sources so that this bundled library is not used
diff --git a/sources b/sources
index 43a119e..3caf9ff 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-01adbeae1d75741f515058120f761120  svgwrite-1.1.3.tar.gz
+1e0c82088b68dcb5cffb64d2f820965a  svgwrite-1.1.4.tar.gz


More information about the scm-commits mailing list