forked from pool/python-PyMuPDF
Accepting request 731595 from home:guoyunhe:branches:devel:languages:python
- Version update to 1.16.2 * Fix memory leak with getText(“rawDICT”) - Add %check step - Change category to Development/Libraries/Python - python-PyMuPDF-doc should be noarch OBS-URL: https://build.opensuse.org/request/show/731595 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=16
This commit is contained in:
committed by
Git OBS Bridge
parent
90fa6ca21b
commit
760438b0bd
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:f4be930142127d38817a553c43100d35c19b09b6a33dc87c25fb89fe6a8a40b4
|
|
||||||
size 6994708
|
|
3
PyMuPDF-1.16.2.tar.gz
Normal file
3
PyMuPDF-1.16.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5070304b1b391d070fea0e2f731ee85dd858cab556fb949762ed0e05c888b97c
|
||||||
|
size 6990644
|
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 17 21:26:39 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
|
||||||
|
- Version update to 1.16.2
|
||||||
|
* Fix memory leak with getText(“rawDICT”)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Sep 7 14:06:18 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
|
||||||
|
- Add %check step
|
||||||
|
- Change category to Development/Libraries/Python
|
||||||
|
- python-PyMuPDF-doc should be noarch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Sep 6 09:07:26 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
Fri Sep 6 09:07:26 UTC 2019 - Yunhe Guo <i@guoyunhe.me>
|
||||||
|
|
||||||
|
@@ -21,11 +21,11 @@
|
|||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%define pypi_name PyMuPDF
|
%define pypi_name PyMuPDF
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 1.16.1
|
Version: 1.16.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python binding for MuPDF, a PDF and XPS viewer
|
Summary: Python binding for MuPDF, a PDF and XPS viewer
|
||||||
License: GPL-3.0-only AND AGPL-3.0-only
|
License: GPL-3.0-only AND AGPL-3.0-only
|
||||||
Group: Development/Languages/Python
|
Group: Development/Libraries/Python
|
||||||
URL: https://github.com/rk700/PyMuPDF
|
URL: https://github.com/rk700/PyMuPDF
|
||||||
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||||
Patch1: fix-library-linking.patch
|
Patch1: fix-library-linking.patch
|
||||||
@@ -52,11 +52,12 @@ MuPDF can access files in PDF, XPS, OpenXPS, epub, comic and fiction
|
|||||||
book formats. PyMuPDF can also access files with extensions *.pdf,
|
book formats. PyMuPDF can also access files with extensions *.pdf,
|
||||||
*.xps, *.oxps, *.epub, *.cbz or *.fb2 from Python scripts.
|
*.xps, *.oxps, *.epub, *.cbz or *.fb2 from Python scripts.
|
||||||
|
|
||||||
%package -n python-%{pypi_name}-doc
|
%package doc
|
||||||
Summary: Documentation for PyMuPDF
|
Summary: Documentation for PyMuPDF
|
||||||
Group: Development/Languages/Python
|
Group: Development/Libraries/Python
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description -n python-%{pypi_name}-doc
|
%description doc
|
||||||
This is the documentation for PyMuPDF.
|
This is the documentation for PyMuPDF.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@@ -64,7 +65,6 @@ This is the documentation for PyMuPDF.
|
|||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags}"
|
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@@ -72,14 +72,14 @@ export CFLAGS="%{optflags}"
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
# no upstream tests
|
%python_expand PYTHONPATH=%{buildroot}%{python_sitearch} $python -c 'import sys; sys.path.remove(""); import fitz'
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
%files -n python-%{pypi_name}-doc
|
%files doc
|
||||||
%doc doc/PyMuPDF.pdf
|
%doc doc/PyMuPDF.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user