Accepting request 199067 from home:poorboywilly:branches:devel:languages:python
Fix build broken by attempted download of distribute OBS-URL: https://build.opensuse.org/request/show/199067 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyenchant?expand=0&rev=13
This commit is contained in:
parent
abae00ad7f
commit
6bc8e3f506
12
pyenchant-drop-bootstrap-distribute.patch
Normal file
12
pyenchant-drop-bootstrap-distribute.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- setup.py.orig 2013-09-13 13:37:21.776077338 -0600
|
||||||
|
+++ setup.py 2013-09-13 13:37:36.518174652 -0600
|
||||||
|
@@ -5,9 +5,6 @@
|
||||||
|
# This script is placed in the public domain.
|
||||||
|
#
|
||||||
|
|
||||||
|
-
|
||||||
|
-import distribute_setup
|
||||||
|
-distribute_setup.use_setuptools()
|
||||||
|
from setuptools import setup, find_packages, Extension
|
||||||
|
from distutils.archive_util import make_archive
|
||||||
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 14 18:10:35 UTC 2013 - os-dev@jacraig.com
|
||||||
|
|
||||||
|
- Add pyenchant-drop-bootstrap-distribute.patch: don't use the distribute
|
||||||
|
bootstrapping code, just use setuptools. Fixes build that was broken by the
|
||||||
|
attempt to download distribute.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 4 09:27:09 UTC 2012 - toddrme2178@gmail.com
|
Fri May 4 09:27:09 UTC 2012 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -26,10 +26,12 @@ Summary: Python bindings for the Enchant spellchecking system
|
|||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
Source: http://pypi.python.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
|
||||||
|
# PATCH-FIX-OPENSUSE pyenchant-drop-bootstrap-distribute.patch
|
||||||
|
Patch1: pyenchant-drop-bootstrap-distribute.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: enchant
|
BuildRequires: enchant
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-setuptools
|
||||||
Requires: enchant
|
Requires: enchant
|
||||||
Obsoletes: python-enchant < %{version}
|
Obsoletes: python-enchant < %{version}
|
||||||
Provides: PyEnchant
|
Provides: PyEnchant
|
||||||
@ -45,6 +47,7 @@ PyEnchant is a spellchecking library for Python, based on the excellent Enchant
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{modname}-%{version}
|
||||||
|
%patch1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
Loading…
Reference in New Issue
Block a user