ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 21094
en ru
SRPMs in branches
hide window
  • 1.0.4-alt1.1
Group :: Development/Python
Source RPM: python-module-polib
Raw spec file

%def_with doc

Name: python-module-polib
Version: 1.0.4
Release: alt1.1
Summary: Manipulate, create, and modify gettext files
Group: Development/Python
License: BSD-like
Source: polib-%version.tar.gz
Url: https://bitbucket.org/izi/polib
BuildArch: noarch

%setup_python_module polib

# TODO python3


# Automatically added by buildreq on Wed Dec 11 2013

# optimized out: python-base python-devel python-module-BeautifulSoup python-module-Pygments python-module-docutils python-module-jinja2 python-module-markupsafe python-module-protobuf python-module-setuptools python-module-simplejson python-module-six python-modules python-modules-compiler python-modules-ctypes python-modules-email python-modules-encodings python-modules-logging python-modules-unittest

BuildRequires: time

%{?_with_doc:BuildRequires: ctags python-module-sphinx}

BuildRequires: python-module-coverage

%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 -n polib-%version

%build
%python_build
%{?_with_doc:make -C docs html}

%install
%python_install

%check
./runtests.sh

%files
%{?_with_doc:%doc docs/_build/html}
%python_sitelibdir_noarch/%{modulename}*

%changelog
* Sat Jan 14 2017 Michael Shigorin <mike at altlinux.org> 1.0.4-alt1.1
- BOOTSTRAP: introduced doc knob (avoid sphinx)

* Tue Apr 28 2015 Fr. Br. George <george at altlinux.ru> 1.0.4-alt1
- Autobuild version bump to 1.0.4

* Wed Dec 11 2013 Fr. Br. George <george at altlinux.ru> 1.0.3-alt1
- Initial build for ALT

 
The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.