833e7db4f6
Recent tarballs from PyPI use setuptools instead of distutils, so change `PYTHON_PYMUPDF_SETUP_TYPE`. They also include a license file, so include it and a hash for it. This version also has a new dependency: freetype2. PYTHON_PYMUPDF_REMOVE_PATHS is updated to take the new dependency into account, but also the sed command are changed to delete include lines instead of turning them into empty strings. Indeed, empty include strings lead to using multiple `-I` flags which were not followed by anything. Depending on the number of empty include strings (because two successive `-I` "cancel" each other out), it would have failed to compile. Also, it turns out the patch version of python-pymupdf doesn't have to match mupdf's version (e.g. python-pymupdf 1.18.14 is compatible with mupdf 1.18.*) so while at it, remove the word "exactly" from the comment. Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
6 lines
315 B
Plaintext
6 lines
315 B
Plaintext
# md5, sha256 from https://pypi.org/pypi/pymupdf/json
|
|
md5 70d6c2232e531772bbe9a813044262f9 PyMuPDF-1.18.14.tar.gz
|
|
sha256 efe85cb80f79cc3f3890aa2ab82b962b8a999ca078e33e9bacc5d0be5c4656dc PyMuPDF-1.18.14.tar.gz
|
|
# Locally computed:
|
|
sha256 282751b8c98ee9e445346eb57a992c9ecbe25ed8dd554df046777313e19b10f9 COPYING
|