14
0

Accepting request 42634 from devel:languages:python

Copy from devel:languages:python/python-mechanize based on submit request 42634 from user coolo

OBS-URL: https://build.opensuse.org/request/show/42634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-mechanize?expand=0&rev=2
This commit is contained in:
OBS User autobuild
2010-07-06 08:00:27 +00:00
committed by Git OBS Bridge
parent 48e5693721
commit af389a55b9
5 changed files with 56 additions and 10 deletions

3
mechanize-0.1.11.tar.bz2 Normal file
View File

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

View File

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

View File

@@ -0,0 +1,4 @@
# This line is mandatory to access the configuration functions
from Config import *
addFilter("files-duplicate .*/site-packages/mechanize-.*-py.*.egg-info/zip-safe")

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Thu Jul 1 13:36:53 UTC 2010 - toms@suse.de
- Added check for openSUSE 11.1 and build arch
-------------------------------------------------------------------
Thu Jul 1 13:21:40 UTC 2010 - toms@suse.de
- Merging from my home repo:
- updated to 0.1.11
- Set buildarch to noarch
- Extended changelog
- Added rpmlintrc file
-------------------------------------------------------------------
Thu Jul 2 08:55:32 CEST 2009 - toms@suse.de
- Removed provides (wrong package)
-------------------------------------------------------------------
Tue Jun 30 16:04:07 CEST 2009 - toms@suse.de
- Added provides for python-ClientForm
-------------------------------------------------------------------
Sat Jun 13 17:41:36 CEST 2009 - toms@suse.de
- Fixed package typo: python-clientform -> python-ClientForm.
Thanks to Alfredo J. V. P.!
-------------------------------------------------------------------
Sat Feb 21 21:38:00 CET 2009 - toms@suse.de
- Update to 0.1.11
-------------------------------------------------------------------
Tue Feb 12 00:00:00 UTC 2008 - poeml@suse.de

View File

@@ -1,5 +1,5 @@
#
# spec file for package python-mechanize (Version 0.1.7)
# spec file for package python-mechanize (Version 0.1.11)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -15,22 +15,25 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define modname mechanize
Name: python-mechanize
Version: 0.1.7
Name: python-%{modname}
Version: 0.1.11
Release: 1
%define extver b
Summary: Stateful programmatic web browsing
Url: http://wwwsearch.sourceforge.net/mechanize/
License: BSD
Group: Development/Libraries/Python
Source: %{modname}-%{version}%{extver}.tar.gz
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
Requires: python-clientform python-beautifulsoup
BuildRequires: python-devel python-setuptools
%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
%description
Stateful programmatic web browsing, after Andy Lester's Perl module
@@ -49,8 +52,12 @@ Much of the code originally derived from Perl code by Gisle Aas (libwww-perl),
Johnny Lee (MSIE Cookie support) and last but not least Andy Lester
(WWW::Mechanize). urllib2 was written by Jeremy Hylton.
Authors:
--------
John J. Lee <jjl@pobox.com>
%prep
%setup -q -n %{modname}-%{version}%{extver}
%setup -q -n %{modname}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -58,7 +65,7 @@ python setup.py build
%install
rm -rf %{buildroot}
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
rm -rf %{buildroot}