Skip to content

Commit

Permalink
Update python-tesserocr to version 2.5.2 / rev 14 via SR 1067957
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1067957
by user dgarcia + dimstar_suse
- Disable current broken tests, test_LSTM_choices, test_detect_os and
  or test_init, gh#sirfz/tesserocr#295
  • Loading branch information
dgarcia authored and bmwiedemann committed Feb 27, 2023
1 parent a895ab3 commit b5c19db
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 1 deletion.
Binary file modified packages/p/python-tesserocr/.files
Binary file not shown.
10 changes: 10 additions & 0 deletions packages/p/python-tesserocr/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,14 @@
<comment></comment>
<requestid>1058773</requestid>
</revision>
<revision rev="14" vrev="4">
<srcmd5>b8e1b4a4f32448e67fbc59bb29d0a8a3</srcmd5>
<version>2.5.2</version>
<time>1677498965</time>
<user>dimstar_suse</user>
<comment>- Disable current broken tests, test_LSTM_choices, test_detect_os and
or test_init, gh#sirfz/tesserocr#295
</comment>
<requestid>1067957</requestid>
</revision>
</revisionlist>
6 changes: 6 additions & 0 deletions packages/p/python-tesserocr/python-tesserocr.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 27 10:22:49 UTC 2023 - Daniel Garcia <[email protected]>

- Disable current broken tests, test_LSTM_choices, test_detect_os and
or test_init, gh#sirfz/tesserocr#295

-------------------------------------------------------------------
Sat Jan 14 21:46:21 UTC 2023 - Hans-Peter Jansen <[email protected]>

Expand Down
6 changes: 5 additions & 1 deletion packages/p/python-tesserocr/python-tesserocr.spec
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,11 @@ GIL while processing an image in tesseract.
export TESSDATA_PREFIX=/usr/share/tessdata
%python_exec setup.py develop --user
# test_LSTM_choices failure: https://github.com/sirfz/tesserocr/issues/214
%pytest -k 'not test_LSTM_choices'
# https://github.com/sirfz/tesserocr/issues/295
donttest="test_LSTM_choices"
donttest+=" or test_detect_os"
donttest+=" or test_init"
%pytest -k "not ($donttest)"

%files %{python_files}
%license LICENSE
Expand Down

0 comments on commit b5c19db

Please sign in to comment.