Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 7ff6943a3e8c4be0a84687ab24409709 > files > 2

python-markupsafe-0.15-2.mga3.src.rpm

%define tarname MarkupSafe
%define name	python-markupsafe
%define version 0.15
%define release %mkrel 2

%define enable_tests 1

Summary:	XML/HTML/XHTML markup safe string package for Python
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:	http://pypi.python.org/packages/source/M/MarkupSafe/%{tarname}-%{version}.tar.gz
License:	BSD
Group:		Development/Python
Url:		http://pypi.python.org/pypi/MarkupSafe
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires:	python-setuptools
%if %enable_tests
BuildRequires:	python-nose
%endif
BuildRequires:	python-devel

%description
This package implements a XML/HTML/XHTML markup safe string for Python.

%prep
%setup -q -n %{tarname}-%{version}

%build
PYTHONDONTWRITEBYTECODE= %__python setup.py build

%install
%__rm -rf %{buildroot}
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} --record=FILE_LIST

%check
%if %enable_tests
nosetests
%endif
%clean
%__rm -rf %{buildroot}

%files -f FILE_LIST
%defattr(-,root,root)
%doc AUTHORS LICENSE README.rst


%changelog

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

* Sat Sep 08 2012 philippem <philippem> 0.15-1.mga3
+ Revision: 290064
- New upstream release 0.15

* Sat Apr 16 2011 ahmad <ahmad> 0.12-1.mga1
+ Revision: 86850
- update to 0.12

* Mon Feb 21 2011 ahmad <ahmad> 0.11-5.mga1
+ Revision: 55153
- rebuild so that pythonegg provides are lowercase
- enable tests

* Sun Jan 16 2011 ahmad <ahmad> 0.11-4.mga1
+ Revision: 20626
- rebuild for python-2.7

* Thu Jan 13 2011 ahmad <ahmad> 0.11-3.mga1
+ Revision: 8327
- drop the old %%py_requires macro and add BR python-devel
- imported package python-markupsafe