14
0
forked from pool/python-w3lib

Accepting request 207078 from home:posophe:branches:devel:languages:python

Update

OBS-URL: https://build.opensuse.org/request/show/207078
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-w3lib?expand=0&rev=2
This commit is contained in:
Denisart Benjamin
2013-11-15 20:40:49 +00:00
committed by Git OBS Bridge
parent 0403ee44ab
commit cfaa842571
4 changed files with 17 additions and 12 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Nov 15 20:36:22 UTC 2013 - p.drouand@gmail.com
- Update to version 1.5
+ No changelog available
- Add python-setuptools BuildRequires; new dependency
-------------------------------------------------------------------
Wed May 23 21:43:14 UTC 2012 - jfunk@funktronics.ca

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-w3lib
#
# 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
@@ -16,7 +16,7 @@
#
Name: python-w3lib
Version: 1.2
Version: 1.5
Release: 0
Url: http://github.com/scrapy/w3lib
Summary: Library of Web-Related Functions
@@ -24,15 +24,13 @@ License: BSD-3-Clause
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/w/w3lib/w3lib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-setuptools
BuildRequires: python-devel
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%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)")}
%description
This is a Python library of web-related functions, such as:
@@ -61,7 +59,7 @@ This is a Python library of web-related functions, such as:
%setup -q -n w3lib-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:61f27e225635da7f4d005409e4874748cd63a1e1ffef3495edb7254c4d5ac339
size 8584

3
w3lib-1.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f611f0a21327aa93af09ef45c04fa87849b697e60157c1fc24bbb90796d290a6
size 9416