Репозитории ALT
5.1: | 1.0-alt1.1.1.1 |
4.1: | 1.0-alt1.1.1.1 |
4.0: | 1.0-alt1.1.1 |
3.0: | 1.0-alt1.1 |
Группа :: Разработка/Python
Пакет: python-module-qunittest
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define version 1.0
%define release alt1
%setup_python_module qunittest
Summary: A GUI unit test runner for Python
Name: %packagename
Version: %version
Release: %release.1.1.1
Source0: %modulename-%version.tar.gz
License: GNU General Public License version 2
Group: Development/Python
Prefix: %prefix
Vendor: Edgewall Software <info at edgewall.com>
Url: http://projects.edgewall.com/qunittest/
%description
QUnitTest is an easy-to-use GUI framework and application for use with the
Python unit testing framework. It can be used to conveniently execute unit
tests and suites, and then display the results in a useful fashion.
The goal of QUnitTest is to make execution of unit tests and results display
as easy as possible. This allows the programmer to focus on changes and
refactoring while frequently executing her unit tests to track progress.
%prep
%setup -q -n %modulename-%version
%build
#__subst "s/scripts=\\['scripts\\/qunittest'\\],//" setup.py
%__python setup.py build
%install
%__mkdir -p %buildroot{%python_tooldir,%_bindir}
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
rm -f %buildroot%_bindir/qunittest
%__install -m 0755 scripts/qunittest %buildroot%python_tooldir/QUnitTest.py
ln -s %python_tooldir/QUnitTest.py %buildroot%_bindir/qunittest
%files -f INSTALLED_FILES
%python_tooldir/QUnitTest.py
#_bindir/qunittest
%changelog
…
Полный changelog можно просмотреть здесь
%define release alt1
%setup_python_module qunittest
Summary: A GUI unit test runner for Python
Name: %packagename
Version: %version
Release: %release.1.1.1
Source0: %modulename-%version.tar.gz
License: GNU General Public License version 2
Group: Development/Python
Prefix: %prefix
Vendor: Edgewall Software <info at edgewall.com>
Url: http://projects.edgewall.com/qunittest/
%description
QUnitTest is an easy-to-use GUI framework and application for use with the
Python unit testing framework. It can be used to conveniently execute unit
tests and suites, and then display the results in a useful fashion.
The goal of QUnitTest is to make execution of unit tests and results display
as easy as possible. This allows the programmer to focus on changes and
refactoring while frequently executing her unit tests to track progress.
%prep
%setup -q -n %modulename-%version
%build
#__subst "s/scripts=\\['scripts\\/qunittest'\\],//" setup.py
%__python setup.py build
%install
%__mkdir -p %buildroot{%python_tooldir,%_bindir}
%__python setup.py install --root=%buildroot --optimize=2 --record=INSTALLED_FILES
rm -f %buildroot%_bindir/qunittest
%__install -m 0755 scripts/qunittest %buildroot%python_tooldir/QUnitTest.py
ln -s %python_tooldir/QUnitTest.py %buildroot%_bindir/qunittest
%files -f INSTALLED_FILES
%python_tooldir/QUnitTest.py
#_bindir/qunittest
%changelog
…
Полный changelog можно просмотреть здесь