Sisyphus repository
Last update: 3 june 2023 | SRPMs: 18452 | Visits: 27923481
en ru br
ALT Linux repos

Group :: Development/Tools
RPM: git-cola

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_enable check

Name: git-cola
Version: 4.2.1
Release: alt1

Summary: A highly caffeinated git gui
License: GPL-2.0-or-later
Group: Development/Tools

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-python3
%if_enabled check
BuildRequires(pre): python3-module-pytest python3-module-tox-pip-version python3-module-qtpy python3-module-PyQt5 python3-module-flake8 python3-module-GitPython
BuildRequires: python3-module-sphinx-devel python3-module-setuptools python3-module-wheel
# hasher tests:
Requires: python3-module-pyinotify python3-module-PyQt5 git-core

A sweet, carbonated git gui known for its sugary flavour
and caffeine-inspired features.

%prepare_sphinx3 share/doc/%name
sed -i '/Git Cola version/s/%%(cola_version)s/%{version}/' \
# Not needed with virtualenv.
sed -i '/tox-venv/d' tox.ini
sed -i 's/ --flake8//' pytest.ini


%find_lang %name
# because executable script is not executable
chmod +x %buildroot%python3_sitelibdir/cola/widgets/
chmod +x %buildroot%python3_sitelibdir/cola/bin/ssh-askpass
chmod +x %buildroot%python3_sitelibdir/cola/bin/ssh-askpass-darwin

%if_enabled check

%files -f %name.lang


Full changelog you can see here

design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin