Group :: Development/Python
RPM: python-module-nose
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# test new macroses
%define python_build CFLAGS="%optflags" %__python setup.py build
%define python_install %__python setup.py install --root %buildroot --optimize=2
%define oname nose
Name: python-module-%oname
Version: 0.10.3
Release: alt1
Summary: A unittest-based testing framework for python that makes writing and running tests easier
Group: Development/Python
License: LGPL
#Url: http://code.google.com/p/python-nose/
Url: http://www.somethingaboutorange.com/mrl/projects/nose/
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
%setup_python_module %oname
Source: http://www.somethingaboutorange.com/mrl/projects/nose/%oname-%version.tar.bz2
# manually removed: pybliographic python-module-MySQLdb
# Automatically added by buildreq on Tue Sep 18 2007
BuildRequires: python-module-Pyrex python-module-setuptools
%description
nose provides an alternate test discovery and running process for
unittest, one that is intended to mimic the behavior of py.test as much
as is reasonably possible without resorting to too much magic.
%prep
%setup -q -n %oname-%version
%__subst "s|man/man1|share/man/man1|g" setup.py
%build
%python_build
%install
%python_install
%files
%_bindir/nosetests
%python_sitelibdir/%oname/
%python_sitelibdir/%oname-%version-py%__python_version.egg-info
%_man1dir/*
%changelog
…
Full changelog you can see here
%define python_build CFLAGS="%optflags" %__python setup.py build
%define python_install %__python setup.py install --root %buildroot --optimize=2
%define oname nose
Name: python-module-%oname
Version: 0.10.3
Release: alt1
Summary: A unittest-based testing framework for python that makes writing and running tests easier
Group: Development/Python
License: LGPL
#Url: http://code.google.com/p/python-nose/
Url: http://www.somethingaboutorange.com/mrl/projects/nose/
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
%setup_python_module %oname
Source: http://www.somethingaboutorange.com/mrl/projects/nose/%oname-%version.tar.bz2
# manually removed: pybliographic python-module-MySQLdb
# Automatically added by buildreq on Tue Sep 18 2007
BuildRequires: python-module-Pyrex python-module-setuptools
%description
nose provides an alternate test discovery and running process for
unittest, one that is intended to mimic the behavior of py.test as much
as is reasonably possible without resorting to too much magic.
%prep
%setup -q -n %oname-%version
%__subst "s|man/man1|share/man/man1|g" setup.py
%build
%python_build
%install
%python_install
%files
%_bindir/nosetests
%python_sitelibdir/%oname/
%python_sitelibdir/%oname-%version-py%__python_version.egg-info
%_man1dir/*
%changelog
…
Full changelog you can see here