Hello community,

here is the log from the commit of package python-enchant for openSUSE:Factory
checked in at Mon May 30 16:35:47 CEST 2011.



--------
New Changes file:

--- /dev/null   2010-08-26 16:28:41.000000000 +0200
+++ python-enchant/python-enchant.changes       2010-12-28 02:28:14.000000000 
+0100
@@ -0,0 +1,5 @@
+-------------------------------------------------------------------
+Tue Dec 28 01:21:52 UTC 2010 - [email protected]
+
+- Initial package from source: pyenchant-1.5.1.tar.bz2
+

calling whatdependson for head-i586


New:
----
  ez_setup.patch
  pyenchant-1.5.1.tar.bz2
  python-enchant.changes
  python-enchant.spec

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

Other differences:
------------------
++++++ python-enchant.spec ++++++
#
# spec file for package python-enchant
#
# Copyright (c) 2011 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:           python-enchant
Version:        1.5.1
Release:        1
License:        LGPL2.1
Summary:        Spell checking library for python
Url:            http://www.rfk.id.au/software/pyenchant/
Group:          Productivity/Text/Spell
Source:         pyenchant-%{version}.tar.bz2
# PATCH-FIX - disables ez_setup since we have setuptools
Patch0:         ez_setup.patch
BuildRequires:  enchant-devel
BuildRequires:  fdupes
%if 0%{?suse_version} >= 1110
BuildRequires:  python-base
%else
BuildRequires:  python-devel
Requires:       python-devel
%endif
%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%if %{?suse_version: 0%{?suse_version} > 1110} %{!?suse_version:1}
BuildArch:      noarch
%endif
BuildRequires:  python-setuptools
Requires:       enchant
Provides:       PyEnchant
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%py_requires

%description
PyEnchant (distributed as 'python-enchant') is a spellchecking library for
Python, based on the excellent Enchant library.

%prep
%setup -q -n pyenchant-%{version}
%patch0

%build
export CFLAGS="%{optflags}"
python setup.py build

%install
python setup.py install -O1 \
   --skip-build \
   --prefix=%{_prefix} \
   --root=%{buildroot} \
   --single-version-externally-managed \
   --record-rpm=INSTALLED_FILES
# Remove unwanted and duplicated files
%fdupes %{buildroot}

%clean
%{?buildroot:rm -rf %{buildroot}}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README.txt

%changelog
++++++ ez_setup.patch ++++++
--- setup.py.old        2009-02-02 10:55:01.000000000 +0100
+++ setup.py    2009-02-02 10:55:07.000000000 +0100
@@ -4,10 +4,6 @@
 #
 #  This script is placed in the public domain.
 #
-
-import ez_setup
-ez_setup.use_setuptools()
-
 from setuptools import setup, find_packages, Extension
 
 import sys

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



Remember to have fun...

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

Reply via email to