From bb1acfde536d3caf4e2ba9d309f686144ce2c286d3bac5be36d6f48f59fd54fa Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Thu, 2 May 2013 09:11:07 +0000 Subject: [PATCH] Accepting request 173972 from home:dirkmueller:branches:devel:languages:python - remove lxml support (fails unit test) OBS-URL: https://build.opensuse.org/request/show/173972 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beautifulsoup4?expand=0&rev=14 --- python-beautifulsoup4.changes | 5 +++++ python-beautifulsoup4.spec | 14 +++----------- python3-beautifulsoup4.spec | 10 +++++----- 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/python-beautifulsoup4.changes b/python-beautifulsoup4.changes index fe3c8bf..7be8b31 100644 --- a/python-beautifulsoup4.changes +++ b/python-beautifulsoup4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Apr 30 12:59:02 UTC 2013 - dmueller@suse.com + +- remove lxml support (fails unit test) + ------------------------------------------------------------------- Sat Jan 12 14:10:18 UTC 2013 - toddrme2178@gmail.com diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index 8279f8a..e1a080f 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -1,7 +1,7 @@ # # spec file for package python-beautifulsoup4 # -# Copyright (c) 2012 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 @@ -15,10 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define _name beautifulsoup4 %define _major 4.x - Name: python-%{_name} Version: 4.1.3 Release: 0 @@ -29,12 +29,10 @@ Url: http://www.crummy.com/software/BeautifulSoup/ Source: http://pypi.python.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel >= 2.6 -BuildRequires: python-nose BuildRequires: python-html5lib -BuildRequires: python-lxml +BuildRequires: python-nose BuildRequires: python-xml Requires: python-html5lib -Requires: python-lxml Requires: python-xml %{py_requires} @@ -85,13 +83,7 @@ python setup.py install \ --root=%{buildroot} %check -# we know the builting parses does not work on 12.1 -%if 0%{?suse_version} >= 1140 -nosetests -e 'bs4\.tests\.test_soup\.TestEncodingConversion' -%else nosetests -%endif - %files %defattr(-,root,root) diff --git a/python3-beautifulsoup4.spec b/python3-beautifulsoup4.spec index 521705b..7d45773 100644 --- a/python3-beautifulsoup4.spec +++ b/python3-beautifulsoup4.spec @@ -1,7 +1,7 @@ # -# spec file for package python-beautifulsoup4 +# spec file for package python3-beautifulsoup4 # -# Copyright (c) 2012 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 @@ -15,10 +15,10 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define _name beautifulsoup4 %define _major 4.x - Name: python3-%{_name} Version: 4.1.3 Release: 0 @@ -28,10 +28,10 @@ Group: Development/Libraries/Python Url: http://www.crummy.com/software/BeautifulSoup/ Source: http://pypi.python.org/packages/source/b/beautifulsoup4/beautifulsoup4-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python3-devel BuildRequires: python3-2to3 -BuildRequires: python3-nose +BuildRequires: python3-devel BuildRequires: python3-lxml +BuildRequires: python3-nose Requires: python3-lxml BuildArch: noarch