Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 46e0bef4723694789a0f49614f0d5829 > files > 2

python-beautifulsoup-3.2.1-2.mga3.src.rpm

%define oname	BeautifulSoup 
  
Name:		python-beautifulsoup 
Version:	3.2.1
Release:	%mkrel 2
Summary:	The Screen-Scraper's Friend 
  
Group:		Development/Python
License:	Python
URL:		http://www.crummy.com/software/BeautifulSoup 
Source0:	http://www.crummy.com/software/BeautifulSoup/download/3.x/%{oname}-%{version}.tar.gz
  
BuildArch:	noarch 
BuildRequires:	python-devel
BuildRequires:	python-setuptools
Requires:	python 
  
%description 
The BeautifulSoup class turns arbitrarily bad HTML into a tree-like 
nested tag-soup list of Tag objects and text snippets. A Tag object 
corresponds to an HTML tag.  It knows about the HTML tag's attributes, 
and contains a representation of everything contained between the 
original tag and its closing tag (if any). It's easy to extract Tags 
that meet certain criteria. 
  
%prep
%setup -q -n %{oname}-%{version}
  
%build 
python setup.py build
 
%install 
rm -rf %{buildroot}
python setup.py install --root=%{buildroot} --skip-build --optimize=2

%clean 
rm -rf %{buildroot}
  
%files  
%defattr(-,root,root,-) 
%{py_puresitedir}/%{oname}.py*
%{py_puresitedir}/%{oname}Tests.py*
%{py_puresitedir}/%{oname}-%{version}-py%{pyver}.egg-info


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 3.2.1-2.mga3
+ Revision: 378503
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Mon Feb 20 2012 zezinho <zezinho> 3.2.1-1.mga2
+ Revision: 211062
- new version

  + fwang <fwang>
    - new version 3.2.0

* Mon Feb 21 2011 ahmad <ahmad> 3.0.8-4.mga1
+ Revision: 55630
- rebuild to make all pythonegg requires/provides lowercase

* Thu Feb 17 2011 wally <wally> 3.0.8-3.mga1
+ Revision: 53238
- remove buildroot definition
- imported package python-beautifulsoup