Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37579160
en ru br
ALT Linux repos
S:2.6.2-alt1

Group :: Development/Python3
RPM: python3-module-hglib

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define oname hglib

Name: python3-module-%oname
Version: 2.6.2
Release: alt1

Summary: Mercurial Python library

License: MIT
Group: Development/Python3
Url: https://pypi.python.org/pypi/python-hglib/
BuildArch: noarch

Source0: https://pypi.python.org/packages/80/9c/1618281fc1ef0df4436b1435de6276452fefb46b111b3b00d3e20fcf5e17/python-%{oname}-%{version}.tar.gz

BuildRequires(pre): rpm-build-python3

%py3_provides %oname


%description
python-hglib is a library with a fast, convenient interface to
Mercurial. It uses Mercurial's command server for communication with hg.

%prep
%setup -q -n python-%{oname}-%{version}

sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python3|' \
   $(find ./ -name '*.py')

%build
%python3_build

%install
%python3_install

%files
%doc README examples
%python3_sitelibdir/*

%changelog

Full changelog you can see here

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