Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/translate-toolkit translate-toolkit: updated ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/26b57c39d925
branches: trunk
changeset: 435596:26b57c39d925
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jul 10 07:05:21 2020 +0000
description:
translate-toolkit: updated to 3.0.0
Translate Toolkit 3.0.0
Formats and Converters
----------------------
- PO
- Bring line wrapping closer to gettext
- XLIFF
- Support non numeric ids on plurals in poxliff
- JSON
- Added support for ARB files
- Added support for go-i18n files
- Properties
- Added support for GWT personality
- Fix round trip of empty values without delimiter
- HTML
- A makeover of the HTML parsing to fix several issues
- PHP
- Add support for Laravel plurals
- Improve round trip of some statements
- Windows RC
- Rewritten parser using pyparsing
- l20n
- Dropped support for deprecated format
General
-------
- Dropped support for Python 2.7.
- Python 3.5 or newer is now required.
- Minor docs improvements.
- Several cleanups in code.
- Removed deprecated interfaces:
- multistring no longer accepts encoding
- search.segment is removed
- pofile.extractpoline is removed
- simplify_to_common no longer accepts languages parameter
- getsource/setsource/gettarget/settarget methods removed from storages
- Updated requirements, lxml is no longer optional.
- Added and updated tests.
- Optional deps can be specified using pip extras.
diffstat:
textproc/translate-toolkit/Makefile | 29 ++-
textproc/translate-toolkit/PLIST | 225 ++++++++++++++++++++---------------
textproc/translate-toolkit/distinfo | 10 +-
3 files changed, 154 insertions(+), 110 deletions(-)
diffs (truncated from 769 to 300 lines):
diff -r 8fded440e565 -r 26b57c39d925 textproc/translate-toolkit/Makefile
--- a/textproc/translate-toolkit/Makefile Fri Jul 10 07:03:57 2020 +0000
+++ b/textproc/translate-toolkit/Makefile Fri Jul 10 07:05:21 2020 +0000
@@ -1,22 +1,29 @@
-# $NetBSD: Makefile,v 1.2 2019/04/25 07:33:25 maya Exp $
+# $NetBSD: Makefile,v 1.3 2020/07/10 07:05:21 adam Exp $
-DISTNAME= translate-toolkit-2.2.5
-PKGREVISION= 1
-CATEGORIES= textproc
-MASTER_SITES= ${MASTER_SITE_GITHUB:=translate/}
-GITHUB_PROJECT= translate
-GITHUB_RELEASE= 2.2.5
+DISTNAME= translate-toolkit-3.0.0
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=t/translate-toolkit/}
MAINTAINER= rillig%NetBSD.org@localhost
-HOMEPAGE= https://github.com/translate/translate/
+HOMEPAGE= https://github.com/translate/translate
COMMENT= Tools for working with translation files
LICENSE= gnu-gpl-v2
-DEPENDS+= ${PYPKGPREFIX}-six>=0:../../lang/py-six
-DEPENDS+= ${PYPKGPREFIX}-diff-match-patch-20121119{,nb*}:../../textproc/py-diff-match-patch
+DEPENDS+= ${PYPKGPREFIX}-lxml>=4.3.2:../../textproc/py-lxml
+
USE_LANGUAGES= # none
USE_TOOLS+= bash:run
-REPLACE_BASH= * */* */*/*
+
+REPLACE_BASH+= tools/mozilla/build_firefox.sh
+REPLACE_BASH+= tools/junitmsgfmt
+REPLACE_BASH+= tools/posplit
+REPLACE_BASH+= tools/pomigrate2
+REPLACE_BASH+= tools/pocompendium
+REPLACE_BASH+= tools/pocommentclean
+REPLACE_BASH+= tools/poreencode
+REPLACE_BASH+= tools/popuretext
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 8fded440e565 -r 26b57c39d925 textproc/translate-toolkit/PLIST
--- a/textproc/translate-toolkit/PLIST Fri Jul 10 07:03:57 2020 +0000
+++ b/textproc/translate-toolkit/PLIST Fri Jul 10 07:05:21 2020 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1 2018/03/11 15:42:31 rillig Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/07/10 07:05:21 adam Exp $
bin/build_firefox.sh
bin/build_tmdb
bin/buildxpi.py
bin/csv2po
bin/csv2tbx
+bin/flatxml2po
bin/get_moz_enUS.py
bin/html2po
bin/ical2po
@@ -11,7 +12,6 @@
bin/ini2po
bin/json2po
bin/junitmsgfmt
-bin/l20n2po
bin/moz2po
bin/mozlang2po
bin/odf2xliff
@@ -20,12 +20,12 @@
bin/php2po
bin/phppo2pypo
bin/po2csv
+bin/po2flatxml
bin/po2html
bin/po2ical
bin/po2idml
bin/po2ini
bin/po2json
-bin/po2l20n
bin/po2moz
bin/po2mozlang
bin/po2oo
@@ -42,6 +42,7 @@
bin/po2web2py
bin/po2wordfast
bin/po2xliff
+bin/po2yaml
bin/poclean
bin/pocommentclean
bin/pocompendium
@@ -78,6 +79,13 @@
bin/xliff2odf
bin/xliff2oo
bin/xliff2po
+bin/yaml2po
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/translate/COPYING
${PYSITELIB}/translate/README.rst
${PYSITELIB}/translate/__init__.py
@@ -107,6 +115,9 @@
${PYSITELIB}/translate/convert/factory.py
${PYSITELIB}/translate/convert/factory.pyc
${PYSITELIB}/translate/convert/factory.pyo
+${PYSITELIB}/translate/convert/flatxml2po.py
+${PYSITELIB}/translate/convert/flatxml2po.pyc
+${PYSITELIB}/translate/convert/flatxml2po.pyo
${PYSITELIB}/translate/convert/html2po.py
${PYSITELIB}/translate/convert/html2po.pyc
${PYSITELIB}/translate/convert/html2po.pyo
@@ -122,9 +133,6 @@
${PYSITELIB}/translate/convert/json2po.py
${PYSITELIB}/translate/convert/json2po.pyc
${PYSITELIB}/translate/convert/json2po.pyo
-${PYSITELIB}/translate/convert/l20n2po.py
-${PYSITELIB}/translate/convert/l20n2po.pyc
-${PYSITELIB}/translate/convert/l20n2po.pyo
${PYSITELIB}/translate/convert/moz2po.py
${PYSITELIB}/translate/convert/moz2po.pyc
${PYSITELIB}/translate/convert/moz2po.pyo
@@ -152,6 +160,9 @@
${PYSITELIB}/translate/convert/po2dtd.py
${PYSITELIB}/translate/convert/po2dtd.pyc
${PYSITELIB}/translate/convert/po2dtd.pyo
+${PYSITELIB}/translate/convert/po2flatxml.py
+${PYSITELIB}/translate/convert/po2flatxml.pyc
+${PYSITELIB}/translate/convert/po2flatxml.pyo
${PYSITELIB}/translate/convert/po2html.py
${PYSITELIB}/translate/convert/po2html.pyc
${PYSITELIB}/translate/convert/po2html.pyo
@@ -167,9 +178,6 @@
${PYSITELIB}/translate/convert/po2json.py
${PYSITELIB}/translate/convert/po2json.pyc
${PYSITELIB}/translate/convert/po2json.pyo
-${PYSITELIB}/translate/convert/po2l20n.py
-${PYSITELIB}/translate/convert/po2l20n.pyc
-${PYSITELIB}/translate/convert/po2l20n.pyo
${PYSITELIB}/translate/convert/po2moz.py
${PYSITELIB}/translate/convert/po2moz.pyc
${PYSITELIB}/translate/convert/po2moz.pyo
@@ -218,9 +226,9 @@
${PYSITELIB}/translate/convert/po2xliff.py
${PYSITELIB}/translate/convert/po2xliff.pyc
${PYSITELIB}/translate/convert/po2xliff.pyo
-${PYSITELIB}/translate/convert/poreplace.py
-${PYSITELIB}/translate/convert/poreplace.pyc
-${PYSITELIB}/translate/convert/poreplace.pyo
+${PYSITELIB}/translate/convert/po2yaml.py
+${PYSITELIB}/translate/convert/po2yaml.pyc
+${PYSITELIB}/translate/convert/po2yaml.pyo
${PYSITELIB}/translate/convert/pot2po.py
${PYSITELIB}/translate/convert/pot2po.pyc
${PYSITELIB}/translate/convert/pot2po.pyo
@@ -245,6 +253,8 @@
${PYSITELIB}/translate/convert/tbx2po.py
${PYSITELIB}/translate/convert/tbx2po.pyc
${PYSITELIB}/translate/convert/tbx2po.pyo
+${PYSITELIB}/translate/convert/test.idml
+${PYSITELIB}/translate/convert/test.odt
${PYSITELIB}/translate/convert/test_accesskey.py
${PYSITELIB}/translate/convert/test_accesskey.pyc
${PYSITELIB}/translate/convert/test_accesskey.pyo
@@ -257,15 +267,24 @@
${PYSITELIB}/translate/convert/test_dtd2po.py
${PYSITELIB}/translate/convert/test_dtd2po.pyc
${PYSITELIB}/translate/convert/test_dtd2po.pyo
+${PYSITELIB}/translate/convert/test_flatxml2po.py
+${PYSITELIB}/translate/convert/test_flatxml2po.pyc
+${PYSITELIB}/translate/convert/test_flatxml2po.pyo
${PYSITELIB}/translate/convert/test_html2po.py
${PYSITELIB}/translate/convert/test_html2po.pyc
${PYSITELIB}/translate/convert/test_html2po.pyo
+${PYSITELIB}/translate/convert/test_ical2po.py
+${PYSITELIB}/translate/convert/test_ical2po.pyc
+${PYSITELIB}/translate/convert/test_ical2po.pyo
+${PYSITELIB}/translate/convert/test_idml2po.py
+${PYSITELIB}/translate/convert/test_idml2po.pyc
+${PYSITELIB}/translate/convert/test_idml2po.pyo
+${PYSITELIB}/translate/convert/test_ini2po.py
+${PYSITELIB}/translate/convert/test_ini2po.pyc
+${PYSITELIB}/translate/convert/test_ini2po.pyo
${PYSITELIB}/translate/convert/test_json2po.py
${PYSITELIB}/translate/convert/test_json2po.pyc
${PYSITELIB}/translate/convert/test_json2po.pyo
-${PYSITELIB}/translate/convert/test_l20n2po.py
-${PYSITELIB}/translate/convert/test_l20n2po.pyc
-${PYSITELIB}/translate/convert/test_l20n2po.pyo
${PYSITELIB}/translate/convert/test_moz2po.py
${PYSITELIB}/translate/convert/test_moz2po.pyc
${PYSITELIB}/translate/convert/test_moz2po.pyo
@@ -275,6 +294,9 @@
${PYSITELIB}/translate/convert/test_mozlang2po.py
${PYSITELIB}/translate/convert/test_mozlang2po.pyc
${PYSITELIB}/translate/convert/test_mozlang2po.pyo
+${PYSITELIB}/translate/convert/test_ods2xliff.py
+${PYSITELIB}/translate/convert/test_ods2xliff.pyc
+${PYSITELIB}/translate/convert/test_ods2xliff.pyo
${PYSITELIB}/translate/convert/test_oo2po.py
${PYSITELIB}/translate/convert/test_oo2po.pyc
${PYSITELIB}/translate/convert/test_oo2po.pyo
@@ -290,21 +312,24 @@
${PYSITELIB}/translate/convert/test_po2dtd.py
${PYSITELIB}/translate/convert/test_po2dtd.pyc
${PYSITELIB}/translate/convert/test_po2dtd.pyo
+${PYSITELIB}/translate/convert/test_po2flatxml.py
+${PYSITELIB}/translate/convert/test_po2flatxml.pyc
+${PYSITELIB}/translate/convert/test_po2flatxml.pyo
${PYSITELIB}/translate/convert/test_po2html.py
${PYSITELIB}/translate/convert/test_po2html.pyc
${PYSITELIB}/translate/convert/test_po2html.pyo
${PYSITELIB}/translate/convert/test_po2ical.py
${PYSITELIB}/translate/convert/test_po2ical.pyc
${PYSITELIB}/translate/convert/test_po2ical.pyo
+${PYSITELIB}/translate/convert/test_po2idml.py
+${PYSITELIB}/translate/convert/test_po2idml.pyc
+${PYSITELIB}/translate/convert/test_po2idml.pyo
${PYSITELIB}/translate/convert/test_po2ini.py
${PYSITELIB}/translate/convert/test_po2ini.pyc
${PYSITELIB}/translate/convert/test_po2ini.pyo
${PYSITELIB}/translate/convert/test_po2json.py
${PYSITELIB}/translate/convert/test_po2json.pyc
${PYSITELIB}/translate/convert/test_po2json.pyo
-${PYSITELIB}/translate/convert/test_po2l20n.py
-${PYSITELIB}/translate/convert/test_po2l20n.pyc
-${PYSITELIB}/translate/convert/test_po2l20n.pyo
${PYSITELIB}/translate/convert/test_po2moz.py
${PYSITELIB}/translate/convert/test_po2moz.pyc
${PYSITELIB}/translate/convert/test_po2moz.pyo
@@ -320,6 +345,9 @@
${PYSITELIB}/translate/convert/test_po2prop.py
${PYSITELIB}/translate/convert/test_po2prop.pyc
${PYSITELIB}/translate/convert/test_po2prop.pyo
+${PYSITELIB}/translate/convert/test_po2rc.py
+${PYSITELIB}/translate/convert/test_po2rc.pyc
+${PYSITELIB}/translate/convert/test_po2rc.pyo
${PYSITELIB}/translate/convert/test_po2resx.py
${PYSITELIB}/translate/convert/test_po2resx.pyc
${PYSITELIB}/translate/convert/test_po2resx.pyo
@@ -338,9 +366,15 @@
${PYSITELIB}/translate/convert/test_po2txt.py
${PYSITELIB}/translate/convert/test_po2txt.pyc
${PYSITELIB}/translate/convert/test_po2txt.pyo
+${PYSITELIB}/translate/convert/test_po2web2py.py
+${PYSITELIB}/translate/convert/test_po2web2py.pyc
+${PYSITELIB}/translate/convert/test_po2web2py.pyo
${PYSITELIB}/translate/convert/test_po2xliff.py
${PYSITELIB}/translate/convert/test_po2xliff.pyc
${PYSITELIB}/translate/convert/test_po2xliff.pyo
+${PYSITELIB}/translate/convert/test_po2yaml.py
+${PYSITELIB}/translate/convert/test_po2yaml.pyc
+${PYSITELIB}/translate/convert/test_po2yaml.pyo
${PYSITELIB}/translate/convert/test_pot2po.py
${PYSITELIB}/translate/convert/test_pot2po.pyc
${PYSITELIB}/translate/convert/test_pot2po.pyo
@@ -350,6 +384,9 @@
${PYSITELIB}/translate/convert/test_prop2po.py
${PYSITELIB}/translate/convert/test_prop2po.pyc
${PYSITELIB}/translate/convert/test_prop2po.pyo
+${PYSITELIB}/translate/convert/test_rc2po.py
+${PYSITELIB}/translate/convert/test_rc2po.pyc
+${PYSITELIB}/translate/convert/test_rc2po.pyo
${PYSITELIB}/translate/convert/test_resx2po.py
${PYSITELIB}/translate/convert/test_resx2po.pyc
${PYSITELIB}/translate/convert/test_resx2po.pyo
@@ -362,9 +399,18 @@
${PYSITELIB}/translate/convert/test_txt2po.py
${PYSITELIB}/translate/convert/test_txt2po.pyc
${PYSITELIB}/translate/convert/test_txt2po.pyo
+${PYSITELIB}/translate/convert/test_web2py2po.py
+${PYSITELIB}/translate/convert/test_web2py2po.pyc
+${PYSITELIB}/translate/convert/test_web2py2po.pyo
+${PYSITELIB}/translate/convert/test_xliff2odf.py
+${PYSITELIB}/translate/convert/test_xliff2odf.pyc
+${PYSITELIB}/translate/convert/test_xliff2odf.pyo
${PYSITELIB}/translate/convert/test_xliff2po.py
${PYSITELIB}/translate/convert/test_xliff2po.pyc
${PYSITELIB}/translate/convert/test_xliff2po.pyo
+${PYSITELIB}/translate/convert/test_yaml2po.py
+${PYSITELIB}/translate/convert/test_yaml2po.pyc
+${PYSITELIB}/translate/convert/test_yaml2po.pyo
${PYSITELIB}/translate/convert/tiki2po.py
${PYSITELIB}/translate/convert/tiki2po.pyc
${PYSITELIB}/translate/convert/tiki2po.pyo
@@ -386,6 +432,9 @@
${PYSITELIB}/translate/convert/xliff2po.py
${PYSITELIB}/translate/convert/xliff2po.pyc
${PYSITELIB}/translate/convert/xliff2po.pyo
+${PYSITELIB}/translate/convert/yaml2po.py
+${PYSITELIB}/translate/convert/yaml2po.pyc
+${PYSITELIB}/translate/convert/yaml2po.pyo
${PYSITELIB}/translate/docs/Makefile
${PYSITELIB}/translate/docs/_build/doctrees/api/convert.doctree
${PYSITELIB}/translate/docs/_build/doctrees/api/filters.doctree
@@ -398,6 +447,7 @@
${PYSITELIB}/translate/docs/_build/doctrees/api/tools.doctree
${PYSITELIB}/translate/docs/_build/doctrees/commands/csv2po.doctree
${PYSITELIB}/translate/docs/_build/doctrees/commands/csv2tbx.doctree
Home |
Main Index |
Thread Index |
Old Index