Skip to content

Commit

Permalink
Add support for Python 3 Debian package of jpylyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
pabs3 committed May 24, 2020
1 parent d2af86f commit 3fc210f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/jpeg2000.ini
@@ -1,6 +1,6 @@
[jpylyzer]
flags = images
debian = python-jpylyzer, libxml2-utils
debian = python3-jpylyzer | python-jpylyzer, libxml2-utils
files = *.jp2 *.j2k *.jpf *.jpx *.jpm *.mj2
types = image/jp2
command = jpylyzer --wrapper {files} | xmllint --format - | egrep 'fileName|isValid' | tr -d \\n | sed 's_</isValidJP2>_&\n_g;s_ *<fileName>__g;s_</fileName> *__g;s_</\?isValidJP2>_ _g;s_False_is an invalid JPEG2000 file_g' | sed '/True *$/d'

0 comments on commit 3fc210f

Please sign in to comment.