11 Commits

Author SHA256 Message Date
ce2e5d078d Accepting request 924842 from home:pgajdos:python
- version update to 0.4.1
  - support wildcards in paths on windows
  - support MPO images
  - fix page border computation
  - use "img2pdf" logger instead of "root" logger
  - add --from-file
- actually test the package, use at least part of the testsuite

OBS-URL: https://build.opensuse.org/request/show/924842
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=21
2021-10-12 18:49:09 +00:00
e5223a988f - update to 0.4.0:
- replace --without-pdfrw by --engine=internal or --engine=pdfrw
   - add pikepdf as additional rendering engine and add --engine=pikepdf
   - support for creating PDF/A-1b compliant PDF using the --pdfa option
     (this also requires the presence of an ICC profile somewhere on the system)
   - support for images with embedded ICC profile as input
   - rewrite tests
      * use pytest via tox
      * use pikepdf instead of pdfrw
      * use imagemagick json output instead of identify -verbose
   - format all code with black
   - fix tests for Fedora on arm64
   - remove all Python 2 support
   - disable pdfrw by default

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=19
2020-08-16 13:44:59 +00:00
Tomáš Chvátal
5cb70cddc4 Accepting request 808759 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808759
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=17
2020-05-25 13:32:00 +00:00
Tomáš Chvátal
882682fe34 - Drop py2 dep from py3 only package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=15
2020-04-23 10:57:49 +00:00
Tomáš Chvátal
83f5108065 - Update to 3.0.1:
* Uncouple PyEnchant version from the Enchant version. This release should be compatible with
    Enchant 1.6 to 2.2
  * Fix using PyEnchant with Enchant >= 2.0
  * Add support for pypy3, Python 3.7 and Python 3.8
  * New website, hosted on https://pyenchant.github.io/pyenchant/
  * Add enchant.set_prefix_dir()
  * Fix crash when using {get,set}_param on a recent C library
  * Drop support for Python2
  * Port test suite to pytest.
  * Add tbump configuration to simplify the release process
  * Format code with black.
  * Remove compatibility layers with Python2 from enchant.utils
  * Use flake8 to catch some errors during CI
  * Fix some PEP8 naming violations
  * Switch to GitHub Actions for CI
  * Add missing LICENSE.txt in source distribution
- Remove no longer needed patch enchant2.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=13
2020-04-09 10:43:22 +00:00
Tomáš Chvátal
d48031f9c2 Accepting request 792675 from home:pgajdos:python
- version update to 0.3.4
  - test.sh: replace imagemagick with custom python script to produce bit-by-bit
    identical results on all architectures
  - add --crop-border, --bleed-border, --trim-border and --art-border options
  - first draft of a rudimentary tkinter gui (run with --gui)
- python3 only per upstream declaration

OBS-URL: https://build.opensuse.org/request/show/792675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=12
2020-04-09 10:38:39 +00:00
3ff497d772 Accepting request 689087 from home:pgajdos
- transformed sed to patch upon request
- added patches
  allow to run testsuite with python 2 (https://gitlab.mister-muffin.de/josch/img2pdf/issues/60)
  + python-img2pdf-test-python2.patch

OBS-URL: https://build.opensuse.org/request/show/689087
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=10
2019-03-27 13:02:53 +00:00
Tomáš Chvátal
88900e9aee Accepting request 689071 from home:pgajdos
- version update to 0.3.3
  * restore basic support for Python 2
  * also ship test.sh
  * add legal and tabloid paper formats
  * respect exif rotation tag
  * support big endian TIFF with lsb-to-msb FillOrder
  * support multipage CCITT Group 4 TIFF
  * also reject palette images with transparency
  * support PNG images with 1, 2, 4 or 16 bits per sample
  * support multipage TIFF with differently encoded images
  * support CCITT Group4 TIFF without rows-per-strip
  * add extensive test suite
  * Directly copy data from CCITT Group 4 encoded TIFF images into the PDF
    container without re-encoding
  * Store non-jpeg images using PNG compression
  * Support arbitrarily large pages via PDF /UserUnit field
  * Disallow input with alpha channel as it cannot be preserved
  * Add option --pillow-limit-break to support very large input

OBS-URL: https://build.opensuse.org/request/show/689071
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=9
2019-03-27 11:34:26 +00:00
5f9fadede9 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=7
2018-12-04 13:34:08 +00:00
Tomáš Chvátal
fb334a645a Accepting request 626077 from home:jengelh:branches:devel:languages:python
- Use noun phrase.

OBS-URL: https://build.opensuse.org/request/show/626077
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=5
2018-07-30 07:34:35 +00:00
Todd R
c122a196b1 Accepting request 614044 from devel:languages:python:misc
Convert images to PDF via direct JPEG inclusion

OBS-URL: https://build.opensuse.org/request/show/614044
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-img2pdf?expand=0&rev=1
2018-06-04 16:21:27 +00:00