Port variant py39
Summary Library to manipulate gettext files (3.9)
Package version 1.1.1
Homepage No known homepage
Keywords python
Maintainer Python Automaton
License Not yet specified
Other variants py310
Ravenports Buildsheet | History
Ravensource Port Directory | History
Last modified 20 NOV 2021, 04:14:38 UTC
Port created 05 APR 2020, 01:24:52 UTC
Subpackage Descriptions
single ===== polib ===== |build-status-image| |codecov-image| |documentation-status-image| |pypi-version| |py-versions| Overview -------- 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 :alt: Travis build :alt: Pypi version :alt: Documentation Status :alt: Python versions ========= Changelog ========= Version 1.1.1 (2021/03/26) -------------------------- - Strip UTF-16 BOM (U+FEFF) from start of file - Message context (msgctxt) support for MO files - Dropped Python < 2.7 support - Updated docs and README after switch from Bitbucket to Github Version 1.1.0 (2017/11/27) -------------------------- - Fixed entries sorting when generating mo file (Fixes #78) - Fixed find method (Fixes #84) - Refactored POEntry.__cmp__ method (this should fix issues #60, #65 and #79) - Fixed duplicated entries when merging po file with pot file (fixes #68) - Fixed "None" string being outputted when polib deals with syntax error in string (Fixes issue #66) - Added a fuzzy property to entries (Fixes #76) - Take into account the message context when comparing entries - Leave occurence untouched if line number is not a number (fixes #80 and #90) - Fixed test for mo files that was failing because since gettext version, msgfmt skips the "POT-Creation-Date" metadata entry (Fixes #86) - Fixed major revision number comparison - Dropped python 2.4 support Version 1.0.8 (2016/11/21) -------------------------- - Fixed issue #70 (occurrences parsing for windows pathes) - Fixed issue #71 (tcomment and flags not saved for obsolete entries) - Fixed issue #72 (wrong metadata ordering) - Fixed issue #73 (can't always unpickle POFile) - Use natural sorting for additional headers (metadata) - Fixed typos in various documents Version 1.0.7 (2015/07/08) -------------------------- - Fixed bad parsing of indented msgstr_plural - Fixed ordering of "Language" metadata entry - Removed space after "#" in header if comment line is empty (like gettext tools) - Fixed typos / grammar errors (thanks Jakub Wilk) - Take into account msgid_plural if needed when comparing entries (thanks Leonardo Constantino Oliveira) - Fixed issue #63 (str() on a bytes instance when using python3) (thanks Jakub Wilk) Version 1.0.6 (2015/01/04) -------------------------- - Wheel support - Add missing 'Language' and 'Plural-Forms' to metadata ordering - More accurate float operation for POFile.percent_translated() Version 1.0.5 (2014/08/22) -------------------------- - Fixed issue #59: tokens variable referenced before assignment - Implemented feature request #56: line number information in PO entries - Fixed issue #61: polib does not handle previous msgid on multilines properly Version 1.0.4 (2014/02/19) -------------------------- - Fixed issue #43: improved check that determine if polib is dealing with a filepath or unicode content - Fixed issue #44: polib now checks MO files revision number and throws an error if the number is unexpected - Fixed issue #45: parse properly mo files with no header entry - Fixed issue #47: added flags attribute for MOEntry to be consistent with POEntry - Fixed issue #49: use integers rather than strings for msgstr_plural keys - Fixed issue #51: if a PO file ends with a comment, polib adds a spurious empty entry at the end - Fixed issue #52: bad magic number written on big endian platforms - Fixed issue #53: added a __hash__() method to POEntry and MOEntry
Configuration Switches (platform-specific settings discarded)
PY310 OFF Build using Python 3.10 PY39 ON Build using Python 3.9
Package Dependencies by Type
Build (only) python-pip:single:py39
Build and Runtime python39:single:standard
Download groups
main mirror://PYPIWHL/9e/ee/54d6c558d4319a26145658584acb373d50ba0968eb9c19fedfb42458314a
Distribution File Information
d3ee85e0c6788f789353416b1612c6c92d75fe6ccfac0029711974d6abd0f86d 20183 polib-1.1.1-py2.py3-none-any.whl
Ports that require python-polib:py39
No other ports depend on this one.