Hello community,
here is the log from the commit of package python-beautifulsoup4 for
openSUSE:Factory checked in at 2013-03-08 13:26:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-beautifulsoup4 (Old)
and /work/SRC/openSUSE:Factory/.python-beautifulsoup4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-beautifulsoup4", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-beautifulsoup4/python-beautifulsoup4.changes
2013-01-11 09:38:47.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-beautifulsoup4.new/python-beautifulsoup4.changes
2013-03-08 13:26:22.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Jan 12 14:10:18 UTC 2013 - [email protected]
+
+- Use explicit file list
+- Fix building on openSUSE 12.1 and 12.2
+- Use recommended lxml parser instead of native one
+ (native fails fails for some python versions)
+
+-------------------------------------------------------------------
---
/work/SRC/openSUSE:Factory/python-beautifulsoup4/python3-beautifulsoup4.changes
2013-01-12 19:47:06.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-beautifulsoup4.new/python3-beautifulsoup4.changes
2013-03-08 13:26:22.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Jan 12 14:09:52 UTC 2013 - [email protected]
+
+- Use explicit file list
+- Fix building on openSUSE 12.1 and 12.2
+- Use recommended lxml parser instead of native one
+ (native fails fails for some python versions)
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-beautifulsoup4.spec ++++++
--- /var/tmp/diff_new_pack.XZa2wX/_old 2013-03-08 13:26:24.000000000 +0100
+++ /var/tmp/diff_new_pack.XZa2wX/_new 2013-03-08 13:26:24.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-beautifulsoup4
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -30,11 +30,19 @@
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel >= 2.6
BuildRequires: python-nose
+BuildRequires: python-html5lib
+BuildRequires: python-lxml
+BuildRequires: python-xml
+Requires: python-html5lib
+Requires: python-lxml
+Requires: python-xml
%{py_requires}
# build fails for SLE11 64bit due to 'noarch'
%if 0%{?suse_version} >= 1140
BuildArch: noarch
+%else
+%{!?python_sitelib: %global python_sitelib %(python -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%endif
%description
@@ -69,19 +77,26 @@
%setup -q -n %{_name}-%{version}
%build
-export CFLAGS="%{optflags}"
-python setup.py build
+CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install \
--prefix=%{_prefix} \
- --root=%{buildroot} \
- --record-rpm=INSTALLED_FILES
+ --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 -f INSTALLED_FILES
+%files
%defattr(-,root,root)
+%doc AUTHORS.txt COPYING.txt NEWS.txt README.txt TODO.txt
+%{python_sitelib}/bs4/
+%{python_sitelib}/%{_name}-%{version}-py*.egg-info
%changelog
++++++ python3-beautifulsoup4.spec ++++++
--- /var/tmp/diff_new_pack.XZa2wX/_old 2013-03-08 13:26:24.000000000 +0100
+++ /var/tmp/diff_new_pack.XZa2wX/_new 2013-03-08 13:26:24.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python3-beautifulsoup4
+# spec file for package python-beautifulsoup4
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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,14 +28,12 @@
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
+BuildRequires: python3-devel
+BuildRequires: python3-2to3
BuildRequires: python3-nose
-Requires: python3 >= %{py3_ver}
-
-# build fails for SLE11 64bit due to 'noarch'
-%if 0%{?suse_version} >= 1140
+BuildRequires: python3-lxml
+Requires: python3-lxml
BuildArch: noarch
-%endif
%description
Beautiful Soup is a Python HTML/XML parser designed for quick turnaround
@@ -69,16 +67,17 @@
%setup -q -n %{_name}-%{version}
%build
-export CFLAGS="%{optflags}"
-python3 setup.py build
+CFLAGS="%{optflags}" python3 setup.py build
%install
python3 setup.py install \
--prefix=%{_prefix} \
- --root=%{buildroot} \
- --record-rpm=INSTALLED_FILES
+ --root=%{buildroot}
-%files -f INSTALLED_FILES
+%files
%defattr(-,root,root)
+%doc AUTHORS.txt COPYING.txt NEWS.txt README.txt TODO.txt
+%{python3_sitelib}/bs4/
+%{python3_sitelib}/%{_name}-%{version}-py*.egg-info
%changelog
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]