MFH: r517380
textproc/py-ocrmypdf: Update to 9.0.5 * Remove the workaround that coped with the files that were generated in the CFFI out-of-line ABI mode (through devel/py-cffi) as they are now captured correctly during the installation process. Changelog since 9.0.3: https://github.com/jbarlow83/OCRmyPDF/blob/v9.0.5/docs/release_notes.rst Approved by: ports-secteam (miwi)
This commit is contained in:
parent
5cd4c35c87
commit
0faf6e1c3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q4/; revision=517563
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ocrmypdf
|
||||
DISTVERSION= 9.0.3
|
||||
DISTVERSION= 9.0.5
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -19,12 +19,12 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \
|
|||
LIB_DEPENDS= liblept.so:graphics/leptonica
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.9.1:devel/py-cffi@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}img2pdf>=0.3.0,<0.4:graphics/py-img2pdf@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pillow>=4.0.0:graphics/py-pillow@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pillow>=6.2.0:graphics/py-pillow@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}tqdm>=4:misc/py-tqdm@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}reportlab>=3.3.0:print/py-reportlab@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}chardet>=3.0.4,<4:textproc/py-chardet@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pdfminer.six>=20181108:textproc/py-pdfminer.six@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pikepdf>=1.6.0,<2:textproc/py-pikepdf@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pikepdf>=1.6.5<2:textproc/py-pikepdf@${PY_FLAVOR} \
|
||||
tesseract:graphics/tesseract
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.4.1:devel/py-pytest@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}pytest-helpers-namespace>=2019.1.8:devel/py-pytest-helpers-namespace@${PY_FLAVOR} \
|
||||
|
@ -66,17 +66,7 @@ UNPAPER_DESC= Deskew and clean up pages before OCR processing
|
|||
PNGQUANT_RUN_DEPENDS= pngquant:graphics/pngquant
|
||||
UNPAPER_RUN_DEPENDS= unpaper:graphics/unpaper
|
||||
|
||||
# This workaround copes with the files that are generated in the CFFI
|
||||
# out-of-line ABI mode (through devel/py-cffi). Those files are installed but
|
||||
# aren't recorded to .PLIST.pymodtmp by Python's distutils.
|
||||
#
|
||||
# See here for a related issue from another port (audio/py-sounddevice):
|
||||
# https://github.com/spatialaudio/python-sounddevice/issues/116
|
||||
post-install:
|
||||
${ECHO_CMD} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.opt-1.pyc" >> ${_PYTHONPKGLIST}
|
||||
${ECHO_CMD} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/__pycache__/_leptonica.cpython-${PYTHON_SUFFIX}.pyc" >> ${_PYTHONPKGLIST}
|
||||
${ECHO_CMD} "${PYTHONPREFIX_SITELIBDIR}/ocrmypdf/lib/_leptonica.py" >> ${_PYTHONPKGLIST}
|
||||
|
||||
# Install shell completion files
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/
|
||||
${INSTALL_DATA} ${WRKSRC}/misc/completion/ocrmypdf.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1567867813
|
||||
SHA256 (ocrmypdf-9.0.3.tar.gz) = 3d9b92f6a01d0711e4156c6b36638d9d946d010e2925ec473ec7f666096cceeb
|
||||
SIZE (ocrmypdf-9.0.3.tar.gz) = 7643541
|
||||
TIMESTAMP = 1573543134
|
||||
SHA256 (ocrmypdf-9.0.5.tar.gz) = a0729c3ec8063975d3ebdfce2cf0f98b4f9c0a97f7676bc25ddb66b4e0a07737
|
||||
SIZE (ocrmypdf-9.0.5.tar.gz) = 7650347
|
||||
|
|
Loading…
Reference in New Issue