forked from pool/python-beautifulsoup4
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
This commit is contained in:
committed by
Git OBS Bridge
parent
1b341d5fbd
commit
bb1acfde53
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user