Группа :: Развлечения
Пакет: DoThings
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: DoThings
Version: 0.2
Release: alt2
Summary: Simple To-Do-List in Termial
License: BSD
Group: Toys
Url: https://pypi.python.org/pypi/DoThings/
BuildArch: noarch
# https://github.com/MarzinZ/things.git
Source: %name-%version.tar
Patch0: port-on-python3.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-docopt python-tools-2to3
%py3_provides things
%py3_requires docopt
%description
An easy to-do-list in Terminal.
%prep
%setup
%patch0 -p1
find -type f -name '*.py' -exec 2to3 -w -n '{}' +
%build
%python3_build_debug
%install
%python3_install
%check
%__python3 setup.py test
export PATH=$PATH:%buildroot%_bindir
export PYTHONPATH=%buildroot%python3_sitelibdir
things "test"
things all
things done 1
things all
%files
%doc *.md example.png
%_bindir/*
%python3_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.2
Release: alt2
Summary: Simple To-Do-List in Termial
License: BSD
Group: Toys
Url: https://pypi.python.org/pypi/DoThings/
BuildArch: noarch
# https://github.com/MarzinZ/things.git
Source: %name-%version.tar
Patch0: port-on-python3.patch
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-docopt python-tools-2to3
%py3_provides things
%py3_requires docopt
%description
An easy to-do-list in Terminal.
%prep
%setup
%patch0 -p1
find -type f -name '*.py' -exec 2to3 -w -n '{}' +
%build
%python3_build_debug
%install
%python3_install
%check
%__python3 setup.py test
export PATH=$PATH:%buildroot%_bindir
export PYTHONPATH=%buildroot%python3_sitelibdir
things "test"
things all
things done 1
things all
%files
%doc *.md example.png
%_bindir/*
%python3_sitelibdir/*
%changelog
…
Полный changelog можно просмотреть здесь