print/py-PyMuPDF: New port

PyMuPDF adds Python bindings and abstractions to MuPDF, a lightweight
PDF, XPS, and eBook viewer, renderer, and toolkit. Both PyMuPDF and
MuPDF are maintained and developed by Artifex Software, Inc.

MuPDF can access files in PDF, XPS, OpenXPS, CBZ, EPUB and FB2 (eBooks)
formats, and it is known for its top performance and exceptional rendering
quality.

With PyMuPDF you can access files with extensions like .pdf, .xps, .oxps,
.cbz, .fb2 or .epub. In addition, about 10 popular image formats can also
be handled like documents: .png, .jpg, .bmp, .tiff, etc.
This commit is contained in:
Wen Heping 2023-06-22 10:51:00 +08:00
parent 43e248a613
commit a96b9596e7
4 changed files with 35 additions and 0 deletions

View file

@ -170,6 +170,7 @@
SUBDIR += pslib
SUBDIR += pstotext
SUBDIR += psutils
SUBDIR += py-PyMuPDF
SUBDIR += py-collidoscope
SUBDIR += py-dehinter
SUBDIR += py-font-v

20
print/py-PyMuPDF/Makefile Normal file
View file

@ -0,0 +1,20 @@
PORTNAME= PyMuPDF
PORTVERSION= 1.22.5
CATEGORIES= print python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wen@FreeBSD.org
COMMENT= Python bindings for the PDF toolkit and renderer MuPDF
WWW= https://github.com/pymupdf/PyMuPDF
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash \
swig:devel/swig
USES= gmake python:3.7+
USE_PYTHON= autoplist concurrent distutils
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1687397187
SHA256 (PyMuPDF-1.22.5.tar.gz) = 5ec8d5106752297529d0d68d46cfc4ce99914aabd99be843f1599a1842d63fe9
SIZE (PyMuPDF-1.22.5.tar.gz) = 61638053

View file

@ -0,0 +1,11 @@
PyMuPDF adds Python bindings and abstractions to MuPDF, a lightweight
PDF, XPS, and eBook viewer, renderer, and toolkit. Both PyMuPDF and
MuPDF are maintained and developed by Artifex Software, Inc.
MuPDF can access files in PDF, XPS, OpenXPS, CBZ, EPUB and FB2 (eBooks)
formats, and it is known for its top performance and exceptional rendering
quality.
With PyMuPDF you can access files with extensions like .pdf, .xps, .oxps,
.cbz, .fb2 or .epub. In addition, about 10 popular image formats can also
be handled like documents: .png, .jpg, .bmp, .tiff, etc.