mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-06-09 22:59:53 +02:00
⬆ Update sbb_textline_detector
This commit is contained in:
parent
2a6df526b5
commit
6ad8d50552
3 changed files with 21 additions and 1 deletions
|
@ -12,6 +12,6 @@ ocrd_tesserocr
|
||||||
https://github.com/mikegerber/ocrd_calamari/archive/3e8c1ac.tar.gz
|
https://github.com/mikegerber/ocrd_calamari/archive/3e8c1ac.tar.gz
|
||||||
|
|
||||||
|
|
||||||
vendor/sbb_textline_detector-8fc4d1b6.tar
|
vendor/sbb_textline_detector-172527b.tar
|
||||||
|
|
||||||
https://github.com/qurator-spk/dinglehopper/archive/c305539.tar.gz
|
https://github.com/qurator-spk/dinglehopper/archive/c305539.tar.gz
|
||||||
|
|
Binary file not shown.
20
vendor/sbb_textline_detector-update
vendored
Executable file
20
vendor/sbb_textline_detector-update
vendored
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
vendor_dir=`dirname $0`
|
||||||
|
vendor_dir=`python -c "import os, sys; print os.path.abspath(sys.argv[1])" $vendor_dir`
|
||||||
|
|
||||||
|
# Delete old tarballs
|
||||||
|
rm -f $vendor_dir/sbb_textline_detector-*.tar
|
||||||
|
|
||||||
|
# Create new tarball
|
||||||
|
pushd .
|
||||||
|
cd ~/devel/qurator-mono-repo
|
||||||
|
commit=`git rev-parse --short master`
|
||||||
|
tarball=sbb_textline_detector-$commit.tar
|
||||||
|
tar cf $vendor_dir/$tarball sbb_textline_detector
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Update requirements.txt
|
||||||
|
workdir=$vendor_dir/..
|
||||||
|
sed -i "s#vendor/sbb_textline_detector-.*.tar#vendor/$tarball#" $workdir/requirements.txt
|
Loading…
Add table
Add a link
Reference in a new issue