From 1d67e686959bc79bb1679c487cb787230dded06e91e85f7225a3b84279bcb9e4 Mon Sep 17 00:00:00 2001 From: Kyrill Detinov Date: Thu, 27 Jun 2013 05:44:20 +0000 Subject: [PATCH] update to 0.11.1 OBS-URL: https://build.opensuse.org/package/show/M17N/i18nspector?expand=0&rev=9 --- i18nspector-0.10.tar.gz | 3 --- i18nspector-0.10.tar.gz.asc | 17 ------------- i18nspector-0.11.1.tar.gz | 3 +++ i18nspector-0.11.1.tar.gz.asc | 17 +++++++++++++ i18nspector.changes | 47 +++++++++++++++++++++++++++++++++++ i18nspector.spec | 8 +----- 6 files changed, 68 insertions(+), 27 deletions(-) delete mode 100644 i18nspector-0.10.tar.gz delete mode 100644 i18nspector-0.10.tar.gz.asc create mode 100644 i18nspector-0.11.1.tar.gz create mode 100644 i18nspector-0.11.1.tar.gz.asc diff --git a/i18nspector-0.10.tar.gz b/i18nspector-0.10.tar.gz deleted file mode 100644 index b68c007..0000000 --- a/i18nspector-0.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:25caf65d29c7ab02e51d45b168c4775ce05e8f2f33f619ad69c3a51f7ed463a3 -size 75573 diff --git a/i18nspector-0.10.tar.gz.asc b/i18nspector-0.10.tar.gz.asc deleted file mode 100644 index 246ff82..0000000 --- a/i18nspector-0.10.tar.gz.asc +++ /dev/null @@ -1,17 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.12 (GNU/Linux) - -iQIcBAABCAAGBQJRvIxMAAoJEC1Os6YBVHX1MqQQAJrSzX/F02JxV1npmBxjxikK -AMwbxhREVsK1FGULOpjC386ukZvvBEwOaagEUx4e4qrBHCwzbBYk5p6jXYBDu5/1 -104znQd/BVk+c3O+iJM6va/uYjhEMJZfSvGeFhS1WjG/8OC+npHU5bhtLsVDvztE -KeXxa21qFaIxzKTxhItxwZjhGzPFXjLEERDodALhL8hCdN+o7uym+fd5v++/iPra -iizrKIfcPqkKw5JN7q0T4Gh0a3Ee++kWgQqmWzI2/KeTLQPXg1o2BRMBX2eg6Raz -5v5Yfjc6CuW43c9tMy00dhafF3s/yGXIisrNz4TzgxU+N46dtavxNEbiYmjCtzfC -7HDWLF+HxdAlOsToFGL58J2r0I5Od88oSrqMn3bGOO6e+aTIBg7hL0kuO2e0EAZr -8hqdTVSK3DOPg8jHzGwXX0OfDpWIwsj2rY/+dCx+QkRIzsJ7hKNsq0BoYnioxrNF -7tmQ3jH5rf72H6p0NW40cM74GQxYzDFdzBFwsgNyTTw1Ajh6fN6buDV9CINbre4F -dSpWlenLRCtBso5gwCUWwAvZXXXx96IuawWuqx6uD88kKBarA1HDN8JJ+++e4XEY -y6Fl9y/nIlkWhNZhmT6cfcGqHPK9t+hHiswOl7bVNp5lU9MieLcyS7WWPSsC8UT7 -8op/I8+y8iz/BSnfRnYN -=9rdo ------END PGP SIGNATURE----- diff --git a/i18nspector-0.11.1.tar.gz b/i18nspector-0.11.1.tar.gz new file mode 100644 index 0000000..a388244 --- /dev/null +++ b/i18nspector-0.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80a3e27522d48b067925dda12fd075c2eb45582ddf6fe1f9c2b0167470f518ba +size 80511 diff --git a/i18nspector-0.11.1.tar.gz.asc b/i18nspector-0.11.1.tar.gz.asc new file mode 100644 index 0000000..715d4f5 --- /dev/null +++ b/i18nspector-0.11.1.tar.gz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) + +iQIcBAABCAAGBQJRyJHDAAoJEC1Os6YBVHX1i/EQAK970O9Mq3vXNUu2aBRCQtjn +pBs5E78rgzz2RsVs/b86XFSaxY4pkAT6eLTlTIEkcwdFL5IYNH4Ms/HNUC8Eh3P8 +SgRnStlbYFhvVzoB9VyibITGvUBmAzS9+J9RepWfhcOy7w3R5m5eNpMN1SNKe15S +qKXbYLfUdfLejArkMCV0pr3ZVP6YQUTQlalgOtnAVBFChWHA0EvUzDmPryAGDbXO +BgNtVwJE/NexNsCQWmtfv+KHcO5bGZu8VZdHJmC1S/UrhUC1PKYMYL1Rq+Lwm0Dl +g7VRJszzfjex/80WdYPYe4BDnH9qKeuAWp34y4DzYk+4HHPbQCw1hEC9SBKmRQgl +n9p3dP2QXAuwBwaBQeaC4Tvsy04JSlXVSfOkC/Cd9znC98kW0YG0Z7znxZQYVzoT +6DvmNY97XHWsASwKYCwuIbs98gR11XPkwPEM1ernbiYHtZGFRP10TzoO/KES9Fhp +kYi+5uS1/3wHOLAfubp5kFbhIeanve9bwgl/+xhSmUOKleMcenfKy8tb1Y2c1i45 +epyYvFWfZxXeCKEQeJXbWxUW1WOtzOX+w8eMU2Ok6R3PC3F8wMfOGFODlXd9DggW +7+llTucvxz4nFk1LnyHHrsOiBMKi5vh5487qo6qBI5sKM6FiAvBO9NxItZVa0xVt +1ghDOyk1+5zS+w6aKxLv +=zaPb +-----END PGP SIGNATURE----- diff --git a/i18nspector.changes b/i18nspector.changes index 14187cd..1854380 100644 --- a/i18nspector.changes +++ b/i18nspector.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Mon Jun 24 19:28:08 UTC 2013 - lazy.kent@opensuse.org + +- Update to 0.11.1. + * Fix the MO file parser: + + Detect encoding by inspecting only the first message with + empty msgid. + + Fix compatibility with Python 3.3. + * Use the custom MO file encoding detection method rather than + the provided by polib. +- Changes in 0.11. + * Summary of tag changes: + + Added: + - distant-header-entry + - duplicate-flag-for-header-entry + - duplicate-header-entry + - duplicate-header-field-x-poedit + - empty-msgid-message-with-plural-forms + - empty-msgid-message-with-source-code-references + - unexpected-flag-for-header-entry + - unusual-character-in-header-entry + * Fix letter codes for tags with severity important. + * Reduce severity of arithmetic-error-in-unused-plural-forms, + codomain-error-in-unused-plural-forms, and + incorrect-unused-plural-forms to normal. + * Implement custom header parser for PO files, and custom MO file + parser. + * Check for duplicate header entries. + * Check for unusually located header entries. + * Overhaul handling of duplicates and stray lines in the header + entry. + + Emit duplicate-header-field-x-poedit (instead of the generic + duplicate-header-field) for duplicate X-Poedit-Language and + X-Poedit-Country headers fields. + * Work around a flag parsing bug in polib. + * Check for duplicate and unexpected flags for header entries. + * Check for unusual characters in header entries. + * Check for messages with empty msgid (header entries?) with + source code references or plural forms. + * Fix some false-positive language-disparity when PO basename + does not designate translation language. + * Fix the no-report-msgid-bugs-to-header-field description. + * Fix a few typos in the tag descriptions. + * Improve the test suite. + + Add new tests. + + Use a dedicated nose plugin for blackbox tests. + ------------------------------------------------------------------- Sat Jun 15 20:23:08 UTC 2013 - lazy.kent@opensuse.org diff --git a/i18nspector.spec b/i18nspector.spec index df90367..df18150 100644 --- a/i18nspector.spec +++ b/i18nspector.spec @@ -17,7 +17,7 @@ Name: i18nspector -Version: 0.10 +Version: 0.11.1 Release: 0 Summary: Tool for Checking gettext POT/PO/MO Files License: MIT @@ -27,9 +27,6 @@ Source0: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{vers Source1: https://bitbucket.org/jwilk/i18nspector/downloads/%{name}-%{version}.tar.gz.asc Source2: %{name}.keyring BuildRequires: python3-devel -%if 0%{?suse_version} >= 1230 -BuildRequires: gpg-offline -%endif # Requires for tests. BuildRequires: python3-curses BuildRequires: python3-nose @@ -51,9 +48,6 @@ Checks include: incorrect or inconsistent character encoding, missing headers, incorrect language codes and improper plural forms. %prep -%if 0%{?gpg_verify:1} -%gpg_verify %{SOURCE1} -%endif %setup -q %build