Hello community,

here is the log from the commit of package python-pdfrw for openSUSE:Factory 
checked in at 2017-10-26 18:43:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pdfrw (Old)
 and      /work/SRC/openSUSE:Factory/.python-pdfrw.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pdfrw"

Thu Oct 26 18:43:59 2017 rev:4 rq:535003 version:0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pdfrw/python-pdfrw.changes        
2015-08-01 11:38:02.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pdfrw.new/python-pdfrw.changes   
2017-10-26 18:44:09.708573741 +0200
@@ -1,0 +2,48 @@
+Wed Oct 18 15:57:22 UTC 2017 - [email protected]
+
+- Update to version 0.4
+  * Python 3.6 added to test matrix
+  * Proper unicode support for text strings in PDFs added
+  * buildxobj fixes allow better support creating form XObjects
+    out of compressed pages in some cases
+  * Compression fixes for Python 3+
+  * New subset_booklets.py example
+  * Bug with non-compressed indices into compressed object streams fixed
+  * Bug with distinguishing compressed object stream first objects fixed
+  * Better error reporting added for some invalid PDFs (e.g. when reading
+    past the end of file)
+  * Better scrubbing of old bookmark information when writing PDFs, to
+    remove dangling references
+  * Refactoring of pdfwriter, including updating API, to allow future
+    enhancements for things like incremental writing
+  * Minor tokenizer speedup
+  * Some flate decompressor bugs fixed
+  * Compression and decompression tests added
+  * Tests for new unicode handling added
+  * PdfReader.readpages() recursion error (issue #92) fixed.
+  * Initial crypt filter support added
+- Update to version 0.3
+  * Python 3.5 added to test matrix
+  * Better support under Python 3.x for in-memory PDF file-like objects
+  * Some pagemerge and Unicode patches added
+  * Changes to logging allow better coexistence with other packages
+  * Fix for "from pdfrw import \*"
+  * New fancy_watermark.py example shows off capabilities of pagemerge.py
+  * metadata.py example renamed to cat.py
+- Update to version 0.2
+  * Several bugs have been fixed
+  * New regression test functionally tests core with dozens of
+    PDFs, and also tests examples.
+  * Core has been ported and tested on Python3 by round-tripping
+    several difficult files and observing binary matching results
+    across the different Python versions.
+  * Still only minimal support for compression and no support
+    for encryption or newer PDF features.  (pdftk is useful
+    to put PDFs in a form that pdfrw can use.)
+
+-------------------------------------------------------------------
+Thu Aug 24 13:49:11 UTC 2017 - [email protected]
+
+- singlespec auto-conversion
+
+-------------------------------------------------------------------
@@ -14,0 +63 @@
+

Old:
----
  pdfrw-0.1.tar.gz

New:
----
  pdfrw-0.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pdfrw.spec ++++++
--- /var/tmp/diff_new_pack.cmLRf3/_old  2017-10-26 18:44:10.656529500 +0200
+++ /var/tmp/diff_new_pack.cmLRf3/_new  2017-10-26 18:44:10.660529313 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pdfrw
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,37 +16,49 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+# Tests require external files
+%bcond_with     test
 Name:           python-pdfrw
-Version:        0.1
+Version:        0.4
 Release:        0
 Summary:        PDF file reader/writer library
 License:        MIT
 Group:          Development/Libraries/Python
-Source:         
https://pypi.python.org/packages/source/p/pdfrw/pdfrw-%{version}.tar.gz
 Url:            https://code.google.com/p/pdfrw/
-BuildRequires:  python-setuptools
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%{py_requires}
-%if 0%{?suse_version} && 0%{?suse_version} > 1110
-BuildArch:      noarch
+Source:         
https://files.pythonhosted.org/packages/source/p/pdfrw/pdfrw-%{version}.tar.gz
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module pytest}
 %endif
+BuildArch:      noarch
+%python_subpackages
 
 %description
-PDF file reader/writer library written in python
+pdfrw is a Python library and utility that reads and writes PDF files.
 
 %prep
 %setup -q -n pdfrw-%{version}
 
 %build
-CFLAGS="%{optflags}" python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} 
+%python_install
+%python_expand %fdupes %{buildroot}%{python_sitelib}
+
+%if %{with test}
+%check
+%python_expand py.test-%{$python_bin_suffix}
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
-%dir  %{python_sitelib}/pdfrw
-%{python_sitelib}/pdfrw/*
-%{python_sitelib}/pdfrw-%{version}-py%{py_ver}.egg-info
+%doc LICENSE.txt README.rst
+%{python_sitelib}/pdfrw/
+%{python_sitelib}/pdfrw-%{version}-py*.egg-info
 
 %changelog

++++++ pdfrw-0.1.tar.gz -> pdfrw-0.4.tar.gz ++++++
++++ 9151 lines of diff (skipped)


Reply via email to