The Translate Toolkit is a set of software and documentation designed to help
make the lives of localizers both more productive and less frustrating. The
Toolkit is part of the Translate project.
The software includes programs to convert localization formats to the common PO,
and emerging XLIFF format. There are also programs to check and manage PO and
XLIFF files. Online documentation includes guides on using the tools, running a
localization project and how to localize various projects from OpenOffice.org to
Mozilla.
At its core the software contains a set of classes for handling various
localization storage formats: DTD, properties, OpenOffice.org GSI/SDF, CSV, MO,
Qt .ts, TMX, TBX, WordFast txt, Gettext .mo, Windows RC, and of course PO and
XLIFF. It also provides scripts to convert between these formats.
Also part of the Toolkit are Python programs to create word counts, merge
translations and perform various checks on translation files.
===> The following configuration options are available for translate-toolkit-3.20.0:
ALL=on: All optional dependencies
CHARDET=on: Encoding detection
FLUENT=on: Fluent translation format support
ICAL=on: iCal format support
INI=on: INI format support
LEVENSHTEIN=on: Faster matching using Levenshtein
MARKDOWN=on: Markdown format support
PHP=on: PHP format support
RC=on: Windows Resource (.rc) format support
SPELLCHECK=on: Enchant spellchecking system
SUBTITLES=on: Subtitles format support
TOML=on: TOML format or parser support
YAML=on: YAML format support
===> Use 'make config' to modify these settings
textproc/translate-toolkit: Allow build with py-ruamel.yaml 0.19.0+
- Bump PORTREVISION for package change
It fixes build after 7e7493383b5e027b27e9136282856b66b1d2fa3d.
Reported by: pkg-fallout
*/*: switch dependency from devel/py-lxml5 to devel/py-lxml
Currently, there are two versions of python XML processing library
which conflict each other in the ports tree, namely:
- devel/py-lxml5 (now at version 5.4.0)
- devel/py-lxml (now at version 6.0.1)
To avoid the situation that some ports depend on py-lxml5 and some
others do on py-lxml (by switching dependencies individually), this
commit switches the dependencies from py-lxml5 to py-lxml at once.
Additional note: There are still two ports (textproc/py-rdflib and
www/py-draftjs-exporter) depending on py-lxml5 since they limit upper
version to less than 6.
PR: 289491
Approved by: Michiel van Baak Jansen <michiel@vanbaak.eu>, arrowd,
crees, madpilot, delphij, marcus, nivit, kai,
skreuzer, fluffy, bofh, thierry, stephen, sunpoet,
0mp, Eric Camachat <eric@camachat.org>
*/*: update dependency on devel/py-lxml to devel/py-lxml5
www/py-beautifulsoup has switched dependency on devel/py-lxml to
devel/py-lxml5.
Ports which directly or indirectly depends on both
www/py-beautifulsoup and devel/py-lxml must also switch their
dependencies on devel/py-lxml to devel/py-lxml5 to avoid conflicts.
PR: 288047
Approved by: portmgr (chase dependency change)
*/*: Always use WRK_ENV with SETENVI
WRK_ENV contains environment variables like OSVERSION and UNAME_* that
are needed when cross-building packages using Poudriere for a different
version of FreeBSD or a different architecture than that of the host
system.
textproc/translate-toolkit: Convert to USE_PYTHON=pep517 (should be part of
900c273ab43226806047129d3478f0c5da81b43b)
- Bump PORTREVISION for package change
devel/py-setuptools-scm: update to 8.0.4
Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.
Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.
Further details: https://wiki.freebsd.org/Python/setuptools
Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
devel/py-python-Levenshtein: Rename to follow upstream
While here, also upgrade to 0.21.1
Because of that rename, update all ports which uses this as a run or
build depends.
PR: 273187
devel/py-setuptools: convert individual consumers to ${PY_SETUPTOOLS}
Currently a no-op, but in the future outputs the correct setuptools
port depending on whether USES_PYTHON=distutils is specified.
With hat: python
PR: 270510, 270358
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Add translate-toolkit 3.1.1
The Translate Toolkit is a set of software and documentation designed to help
make the lives of localizers both more productive and less frustrating. The
Toolkit is part of the Translate project.
The software includes programs to convert localization formats to the common PO,
and emerging XLIFF format. There are also programs to check and manage PO and
XLIFF files. Online documentation includes guides on using the tools, running a
localization project and how to localize various projects from OpenOffice.org to
Mozilla.
At its core the software contains a set of classes for handling various
localization storage formats: DTD, properties, OpenOffice.org GSI/SDF, CSV, MO,
Qt .ts, TMX, TBX, WordFast txt, Gettext .mo, Windows RC, and of course PO and
XLIFF. It also provides scripts to convert between these formats.
Also part of the Toolkit are Python programs to create word counts, merge
translations and perform various checks on translation files.
WWW: https://toolkit.translatehouse.org/
WWW: https://github.com/translate/translate
Remove expired ports:
2020-09-15 audio/abraca: Uses deprecated version of python
2020-09-15 audio/ardour5: Uses deprecated version of python
2020-09-15 audio/cplay: Uses deprecated version of python
2020-09-15 audio/cpp-xmms2: Uses deprecated version of python
2020-09-15 audio/p5-xmms2: Uses deprecated version of python
2020-09-15 biology/haplohseq: Uses deprecated version of python
2020-09-15 biology/tophat: Uses deprecated version of python
2020-09-15 chinese/ibus-array: Uses deprecated version of python
2020-09-15 comms/congruity: Uses deprecated version of python
2020-09-15 comms/libbtbb: Uses deprecated version of python
2020-09-15 comms/quisk: Uses deprecated version of python
2020-09-15 databases/mtools-mongodb: Uses deprecated version of python
2020-09-15 databases/mydbf2mysql: Uses deprecated version of python
(Only the first 15 lines of the commit message are shown above )
textproc/translate-toolkit: update to 2.2.5
This is not the latest version, but the minimum version required by Pootle 2.8.2
PR: 231408
Submitted by: rene
Approved by: maintainer timeout (jpeatzel, 2 weeks)
Remove devel/py-levenshtein because it is a duplicate of
devel/py-python-Levenshtein
Only one port used devel/py-levenshtein: textproc/translate-toolkit
Approved by: portmgr
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )