forked from pool/python-PyMuPDF
Accepting request 716213 from home:guoyunhe:branches:devel:languages:python
Version 1.14.18. Drop Python 2 package. OBS-URL: https://build.opensuse.org/request/show/716213 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
29e2b76839
commit
fad8ae8ca3
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:268bc7ca88f16ad1179967bae49b666738e4beb4497c951205e9bf813ad008f6
|
||||
size 6905953
|
3
PyMuPDF-1.14.18.tar.gz
Normal file
3
PyMuPDF-1.14.18.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b0a430d58b5ab742bd2d769f1562706f868b67db7d7cbd310bb5e4853c1427e
|
||||
size 6859137
|
@@ -6,7 +6,7 @@ diff -rub PyMuPDF-1.14.10.orig/setup.py PyMuPDF-1.14.10/setup.py
|
||||
"mupdf",
|
||||
#'crypto', #openssl is required by mupdf on archlinux
|
||||
- #'jbig2dec', 'openjp2', 'jpeg', 'freetype',
|
||||
+ 'jbig2dec', 'openjp2', 'jpeg', 'freetype', 'harfbuzz',
|
||||
+ 'jbig2dec', 'openjp2', 'jpeg', 'freetype', 'harfbuzz', 'png16',
|
||||
"mupdf-third",
|
||||
], # the libraries to link with
|
||||
)
|
||||
|
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 18 08:02:49 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
||||
|
||||
- Version 1.14.18
|
||||
* Update README.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 6 07:58:25 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
||||
|
||||
- Version 1.14.17
|
||||
* Added method Document.fullcopyPage to make full page copies within
|
||||
a PDF (not just copied references as Document.copyPage does).
|
||||
* Changed methods Page.getPixmap, Document.getPagePixmap to now use
|
||||
alpha=False as default.
|
||||
* Changed text extraction: the span dictionary now (again) contains
|
||||
its rectangle under the bbox key.
|
||||
* Changed methods Document.movePage and Document.copyPage to use
|
||||
direct functions instead of wrapping Document.select - similar to
|
||||
Document.deletePage in v1.14.16.
|
||||
* The GitHub repo no longer contains interface files generated by SWIG
|
||||
(fitz.py, fitz_wrap.c). This allows easier tracking of inter-version
|
||||
source differences which is needed by providers of various Linux
|
||||
platforms. The PyPI source distribution still has the previous
|
||||
structure which includes those generated files.
|
||||
- Add swig and libpng16 build requires
|
||||
- Removed Python2 package since upstream doesn't support it anymore.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 2 12:38:08 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
@@ -17,9 +17,11 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Upstream doesn't support Python 2 anymore.
|
||||
%define skip_python2 1
|
||||
%define pypi_name PyMuPDF
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.14.16
|
||||
Version: 1.14.18
|
||||
Release: 0
|
||||
Summary: Python binding for MuPDF, a PDF and XPS viewer
|
||||
License: GPL-3.0-only AND AGPL-3.0-only
|
||||
@@ -32,13 +34,15 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc
|
||||
BuildRequires: jbig2dec-devel
|
||||
BuildRequires: mupdf-devel-static
|
||||
BuildRequires: mupdf-devel-static >= 1.14.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: swig
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libopenjp2)
|
||||
BuildRequires: pkgconfig(libpng16)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%python_subpackages
|
||||
|
||||
|
Reference in New Issue
Block a user