Hello community,

here is the log from the commit of package python-cssutils for openSUSE:Factory 
checked in at 2013-01-17 09:57:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-cssutils (Old)
 and      /work/SRC/openSUSE:Factory/.python-cssutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-cssutils", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-cssutils/python-cssutils.changes  
2012-03-13 09:38:34.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python-cssutils.changes     
2013-01-17 09:57:52.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Jan 11 16:55:32 UTC 2013 - [email protected]
+
+- Initial python3 support
+
+-------------------------------------------------------------------
New Changes file:

--- /dev/null   2013-01-09 19:40:42.352580873 +0100
+++ /work/SRC/openSUSE:Factory/.python-cssutils.new/python3-cssutils.changes    
2013-01-17 09:57:52.000000000 +0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Fri Jan 11 16:55:46 UTC 2013 - [email protected]
+
+- Initial python3 support
+

New:
----
  python3-cssutils.changes
  python3-cssutils.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-cssutils.spec ++++++
--- /var/tmp/diff_new_pack.Cjtl3E/_old  2013-01-17 09:57:52.000000000 +0100
+++ /var/tmp/diff_new_pack.Cjtl3E/_new  2013-01-17 09:57:52.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-cssutils
 #
-# 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

++++++ python3-cssutils.spec ++++++
#
# spec file for package python3-cssutils
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           python3-cssutils
Version:        0.9.9
Release:        0
Url:            http://cthedot.de/cssutils/
Summary:        A CSS Cascading Style Sheets library for Python
License:        LGPL-3.0+
Group:          Development/Languages/Python
Source:         
http://pypi.python.org/packages/source/c/cssutils/cssutils-%{version}.zip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python3
BuildRequires:  python3-devel
BuildRequires:  python3-distribute
BuildRequires:  unzip
BuildArch:      noarch

%description
A Python package to parse and build CSS Cascading Style Sheets. DOM only, not 
any rendering facilities!

%prep
%setup -q -n cssutils-%{version}
sed -i "1d" 
src/cssutils/{parse,codec,sac,serialize,scripts/csscapture,_codec2,errorhandler,scripts/cssparse,_codec3,scripts/csscombine,tokenize2,__init__}.py
 # Fix non-executable scripts
sed -i "s/\r//" src/cssutils/{sac,scripts/csscombine,tokenize2}.py COPYING 
COPYING.LESSER 
examples/{website,minify,imports,cssencodings,style,testutil,codec}.py # Fix 
EOL encodings

%build
python3 setup.py build

%install
python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
# remove or move files that conflict with python 2.x
mv %{buildroot}%{_bindir}/csscapture 
%{buildroot}%{_bindir}/csscapture-%{py3_ver}
mv %{buildroot}%{_bindir}/csscombine 
%{buildroot}%{_bindir}/csscombine-%{py3_ver}
mv %{buildroot}%{_bindir}/cssparse %{buildroot}%{_bindir}/cssparse-%{py3_ver}

%files
%defattr(-,root,root,-)
%doc COPYING COPYING.LESSER README.txt examples
%{_bindir}/css*
%{python3_sitelib}/*

%changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to