Use qpdf 8.0.2 backport, force old pytest-timeout to fix build

This commit is contained in:
James R. Barlow
2018-06-23 03:14:18 -07:00
parent e14ffbf03f
commit 1f40a70554
3 changed files with 6 additions and 15 deletions
+3 -1
View File
@@ -8,6 +8,7 @@ tasks.py
.ruffus_history.sqlite
.idea/
.pytest_cache/
.pylintrc
# Package building
*.egg-info/
@@ -41,4 +42,5 @@ tmp/
pdfbox-app*.jar
.vscode/
IDEAS
_Dockerfile.local
_Dockerfile.local
/scratch.py
+2 -13
View File
@@ -12,7 +12,8 @@ sudo apt-get install -y \
libavformat56 \
libavcodec56 \
libavutil54 \
libffi-dev
libffi-dev \
qpdf
sudo add-apt-repository ppa:alex-p/tesseract-ocr -y
@@ -28,15 +29,3 @@ pip install --upgrade pip
mkdir -p packages
wget -q 'https://www.dropbox.com/s/vaq0kbwi6e6au80/unpaper_6.1-1.deb?raw=1' -O packages/unpaper_6.1-1.deb
sudo dpkg -i packages/unpaper_6.1-1.deb
if [ ! -f /usr/local/bin/qpdf ]; then
export QPDF_RELEASE='https://github.com/qpdf/qpdf/releases/download/release-qpdf-8.0.2/qpdf-8.0.2.tar.gz'
mkdir qpdf
wget -q $QPDF_RELEASE -O - | tar xz -C qpdf --strip-components=1
cd qpdf/
export PATH="/usr/local/opt/ccache/libexec:$PATH"
./configure --prefix=/usr
make -j 2
sudo make install
cd ..
fi
+1 -1
View File
@@ -2,4 +2,4 @@ pytest >= 3.2
pytest-helpers-namespace
pytest-xdist
pytest-cov
pytest-timeout
pytest-timeout == 1.2.1