Accepting request 199200 from home:mvyskocil
- don't use distribute bootstrapping code as it attempt to download files * flickrapi-drop-bootstrap-distribute.patch OBS-URL: https://build.opensuse.org/request/show/199200 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-flickrapi?expand=0&rev=6
This commit is contained in:
parent
b1b9160282
commit
6c8b0452c2
14
flickrapi-drop-bootstrap-distribute.patch
Normal file
14
flickrapi-drop-bootstrap-distribute.patch
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
Index: flickrapi-1.4.2/setup.py
|
||||||
|
===================================================================
|
||||||
|
--- flickrapi-1.4.2.orig/setup.py
|
||||||
|
+++ flickrapi-1.4.2/setup.py
|
||||||
|
@@ -5,9 +5,6 @@
|
||||||
|
Run with "python setup.py install" to install FlickrAPI
|
||||||
|
'''
|
||||||
|
|
||||||
|
-import distribute_setup
|
||||||
|
-distribute_setup.use_setuptools()
|
||||||
|
-
|
||||||
|
import sys
|
||||||
|
|
||||||
|
# Check the Python version
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 16 08:58:45 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- don't use distribute bootstrapping code as it attempt to download files
|
||||||
|
* flickrapi-drop-bootstrap-distribute.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 12 11:31:09 UTC 2012 - coolo@suse.com
|
Thu Jan 12 11:31:09 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
@ -23,11 +23,12 @@ Url: http://stuvel.eu/projects/flickrapi
|
|||||||
Summary: Python interface to Flickr
|
Summary: Python interface to Flickr
|
||||||
License: Python-2.0
|
License: Python-2.0
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Source: flickrapi-%{version}.zip
|
Source0: flickrapi-%{version}.zip
|
||||||
|
Patch0: flickrapi-drop-bootstrap-distribute.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-docutils
|
BuildRequires: python-docutils
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: python-xml
|
BuildRequires: python-xml
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
Requires: python-xml
|
Requires: python-xml
|
||||||
@ -53,6 +54,7 @@ photos, and all Flickr API functions.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n flickrapi-%{version}
|
%setup -q -n flickrapi-%{version}
|
||||||
sed -i "1d" flickrapi/__init__.py # Fix non-executable script
|
sed -i "1d" flickrapi/__init__.py # Fix non-executable script
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user