Missing packages in optdepends
Description:
Some optional dependencies are not listed in optdepends array, and their absence might be unexpected when using ttk tools.
Some of the dependencies are not package, please consider packaging them so check() works flawlessly. Alternatively, at least the packaged ones should be added to optdepends.
When hacking the PKGBUILD adding check() function with PYTHONPATH=$PWD pytest
, it reports:
- mistletoe: to enable Markdown support, used by md2po/po2md (package python-mistletoe)
- enchant: to run
pofilters
's spellcheck filter (package python-pyenchant) - pyparsing: to enable RC support, used bu rc2po/po2rc (package python-pyparsing)
- vobject: to read iCalendar files (*.ics), used by ical2po/po2ical (package python-vobject)
- phply: PHP lexer, used by php2po/po2php (no package available)
- fluent: Fluent translation support (no package available)
- iniparse: INI file support, used by ini2po/po2ini (no package available)
Additional info:
- package version(s):
- translate-toolkit 3.12.2-2
- config and/or log files:
- link to upstream bug report, if any:
Steps to reproduce:
- Add checkdepends to PKGBUILD with the current optdepends:
checkdepends=('python-pytest' 'gaupol' 'python-cheroot')
- Add check() to PKGBUILD:
check() {
cd translate-$pkgver
PYTHONPATH=$PWD pytes
- Build to see test logs