Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python311-polib-1.2.0-150600.1.3 RPM for noarch

From OpenSuSE Leap 15.6 for noarch

Name: python311-polib Distribution: SUSE Linux Enterprise 15
Version: 1.2.0 Vendor: SUSE LLC <https://www.suse.com/>
Release: 150600.1.3 Build date: Wed Mar 20 16:35:43 2024
Group: Development/Languages/Python Build host: h04-ch2b
Size: 172984 Source RPM: python-polib-1.2.0-150600.1.3.src.rpm
Packager: https://www.suse.com/
Url: https://github.com/izimobil/polib/
Summary: A library to manipulate gettext files
polib allows you to manipulate, create, modify gettext catalogs (.pot, .po and
binary .mo files). You can load existing files, iterate through it's entries,
add, modify entries, comments or metadata, etc... or create new po/pot files
from scratch.

polib provides a simple and pythonic API, exporting only two convenience
functions 'pofile' and 'mofile', and the 4 core classes: POFile, MOFile,
POEntry and MOEntry for creating new files/entries.

Provides

Requires

License

MIT

Changelog

* Thu Feb 01 2024 code@bnavigator.de
  - Fix multibuild
* Sat Jan 13 2024 axel.braun@gmx.de
  - Switch to wheel and %{?sle15_python_module_pythons}
* Mon Nov 27 2023 dmueller@suse.com
  - update to 1.2.0:
    * Added setter for the fuzzy property
    * Escape/unescape ^k, ^h and ^l
    * Added path to error message processing parser symbols
    * Ensure empty previous values for msgid and msgstr are
      properly saved
    * Fixed relative ordering of comments and translator
      comments
    * Do not count obsolete entries in fuzzy() method
    * Close files properly
    * Fixed support for loading mo files from bytes object
    * Fixed msgstr_plural comparison
    * Simplified python version check
    * Updated docs
* Thu Aug 03 2023 ecsos@opensuse.org
  - Add %{?sle15_python_module_pythons}
* Sun Jun 06 2021 dmueller@suse.com
  - update to 1.1.1:
    - 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
* Mon Sep 10 2018 mcepl@suse.com
  - Add polib-1.1.0-fix-tests-big-endian.patch to overcome failing tests
    on big-endian machines (https://bitbucket.org/izi/polib/issues/96)
* Thu Jan 25 2018 tchvatal@suse.com
  - Version update to 1.1.0:
    - 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 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata entry (Fixes #86)
    - Fixed major revision number comparison
    - Dropped python 2.4 support
  - Drop merged patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff
* Mon Dec 04 2017 mlin@suse.com
  - Add upstream patch 2a4caf09e210554018bf0e928690d9617ff89e00.diff
    * Fixed test for mo files that was failing because since gettext
      version 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata
      entry.
* Sun Apr 23 2017 toddrme2178@gmail.com
  - Update to version 1.0.8
    * 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
  - Update to version 1.0.7
    * 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)
  - Implement single-spec version
  - Fix source url.
* Mon May 11 2015 benoit.monin@gmx.fr
  - update to version 1.0.6:
    * Wheel support
    * Add missing 'Language' and 'Plural-Forms' to metadata ordering
    * More accurate float operation for POFile.percent_translated()
  - additional changes from version 1.0.5:
    * 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
      multines properly
  - additional changes from version 1.0.4:
    * 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
      consistant 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 classes
    * Fixed issue #54: use lowercase for state identifiers. This
      fixes issues with certain locales and string.lower()
    * Fixed issue #58: use io.open() instead of codecs.open() because
      the latter doesn't handle very well universal line endings
    * Make sure the mo file is closed at garbage collection, this
      prevents warnings on unclosed file when running tests with
      python >= 3.2
    * Better way to test indianness
    * polib download URL is now on Pypi
  - drop endian_magic.patch: fixed upstream
  - point the source URL to pypi

Files

/usr/lib/python3.11/site-packages/__pycache__/polib.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/__pycache__/polib.cpython-311.pyc
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info/LICENSE
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info/METADATA
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info/RECORD
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info/WHEEL
/usr/lib/python3.11/site-packages/polib-1.2.0.dist-info/top_level.txt
/usr/lib/python3.11/site-packages/polib.py
/usr/share/doc/packages/python311-polib
/usr/share/doc/packages/python311-polib/CHANGELOG
/usr/share/doc/packages/python311-polib/README.rst
/usr/share/licenses/python311-polib
/usr/share/licenses/python311-polib/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Fri Apr 26 23:30:45 2024