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

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

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname polib

Name: python3-module-polib
Version: 1.1.1
Release: alt1

Summary: Manipulate, create, and modify gettext files

License: BSD-like
Group: Development/Python3
Url: https://bitbucket.org/izi/polib

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: %__pypi_url %oname

Source: %name-%version.tar

BuildArch: noarch

BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3

BuildRequires: python3-module-coverage

%py3_provides %oname

%description
polib is a library to manipulate, create, modify gettext files (pot, po
and mo files). You can load existing files, iterate through it's
entries, add, modify entries, comments or metadata, etc... or create new
po files from scratch.

%prep
%setup
subst 's|coverage|coverage3|' runtests.sh

%build
%python3_build

%install
%python3_install

%check
./runtests.sh

%files
%doc CHANGELOG *.rst
%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