Commit Graph

91 Commits

Author SHA256 Message Date
Tomáš Chvátal
b92cfff251 - Fix build fails on i586 and ppc and others:
* pillow-non-iterable.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=68
2018-01-15 10:01:38 +00:00
Tomáš Chvátal
dbd8592b59 Accepting request 563830 from home:namtrac:branches:devel:languages:python
- Add freetype-2.9.patch to fix tests with FreeType 2.9 gh#2954

OBS-URL: https://build.opensuse.org/request/show/563830
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=66
2018-01-12 12:59:12 +00:00
Tomáš Chvátal
d5e583f63a - Remove other distro conditions as they can't use singlespec really
- Version update to 5.0.0:
  * Docs: Added docstrings from documentation #2914 [radarhere]
  * Test: Switch from nose to pytest #2815 [hugovk]
  * Rework Source directory layout, preventing accidental import of PIL. #2911 [wiredfool]
  * Dynamically link libraqm #2753 [wiredfool]
  * Removed scripts directory #2901 [wiredfool]
  * TIFF: Run all compressed tiffs through libtiff decoder #2899 [wiredfool]
  * GIF: Add disposal option when saving GIFs #2902 [linnil1, wiredfool]
  * EPS: Allow for an empty line in EPS header data #2903 [radarhere]
  * PNG: Add support for sRGB and cHRM chunks, permit sRGB when no iCCP chunk present #2898 [wiredfool]
  * Dependencies: Update Tk Tcl to 8.6.8 #2905 [radarhere]
  * Decompression bomb error now raised for images 2x larger than a decompression bomb warning #2583 [wiredfool]
  * Test: avoid random failure in test_effect_noise #2894 [hugovk]
  * Increased epsilon for test_file_eps.py:test_showpage due to Arch update. #2896 [wiredfool]
  * Removed check parameter from _save in BmpImagePlugin, PngImagePlugin, ImImagePlugin, PalmImagePlugin, and PcxImagePlugin. #2873 [radarhere]
  * Make PngImagePlugin.add_text() zip argument type bool #2890 [jdufresne]
  * Depends: Updated libwebp to 0.6.1 #2880 [radarhere]
  * Remove unnecessary bool() calls in Image.registered_extensions and skipKnownBadTests #2891 [jdufresne]
  * Fix count of BITSPERSAMPLE items in broken TIFF files #2883 [homm]
  * Fillcolor parameter for Image.Transform #2852 [wiredfool]
  * Test: Display differences for test failures #2862 [wiredfool]
  * Added executable flag to file with shebang line #2884 [radarhere]
  * Setup: Specify compatible Python versions for pip #2877 [hugovk]
  * Dependencies: Updated libimagequant to 2.11.4 #2878 [radarhere]
  * Setup: Warn if trying to install for Py3.7 on Windows #2855 [hugovk]
  * Doc: Fonts can be loaded from a file-like object, not just filename #2861 [robin-norwood]
  * Add eog support for Ubuntu Image Viewer #2864 [NafisFaysal]
  * Test: Test on 3.7-dev on Travis.ci #2870 [hugovk]
  * Dependencies: Update libtiff to 4.0.9 #2871 [radarhere]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=65
2018-01-10 14:05:00 +00:00
Thomas Bechtold
efebda8610 Accepting request 518118 from home:tbechtold:branches:devel:languages:python
- fix conditional build with tk (bsc#1054719)

OBS-URL: https://build.opensuse.org/request/show/518118
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=63
2017-08-22 13:21:15 +00:00
Jan Matejek
cb624450b5 Accepting request 517892 from home:tbechtold:branches:devel:languages:python
- update to 4.2.1:
  - CI: Fix version specification and test on CI for PyPy/Windows #2608
  - Doc: Clarified Image.save:append_images documentation #2604
  - CI: Amazon Linux and Centos6 docker images added to TravisCI #2585
  - Image.alpha_composite added #2595
  - Complex Text Support #2576
  - Added threshold parameter to ImageDraw.floodfill #2599
  - Added dBATCH parameter to ghostscript command #2588
  - JPEG: Adjust buffer size when icc_profile > MAXBLOCK #2596
  - Specify Pillow Version in one place #2517
  - CI: Change the owner of the TRAVIS_BUILD_DIR, fixing broken docker runs #2587
  - Fix truncated PNG loading for some images, Fix memory leak on truncated PNG images. #2541, #2598
  - Add decompression bomb check to Image.crop #2410
  - ImageFile: Ensure that the `err_code` variable is initialized in case of exception. #2363
  - Tiff: Support append_images for saving multipage TIFFs #2406
  - Doc: Clarify that draft is only implemented for JPEG and PCD #2409
  - Test: MicImagePlugin #2447
  - Use round() instead of floor() to eliminate zero coefficients in resample #2558
  - Remove deprecated code #2549
  - Added append_images to PDF saving #2526
  - Remove unused function core image function new_array #2548
  - Remove unnecessary calls to dict.keys() #2551
  - Add more ImageDraw.py tests and remove unused Draw.c code #2533
  - Test: More tests for ImageMorph #2554
  - Test: McIDAS area file #2552
  - Update Feature Detection #2520
  - CI: Update pypy on TravisCI #2573
  - ImageMorph: Fix wrong expected size of MRLs read from disk #2561
  - Docs: Update install docs for FreeBSD #2546
  - Build: Ignore OpenJpeg 1.5 on FreeBSD #2544

OBS-URL: https://build.opensuse.org/request/show/517892
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=62
2017-08-21 12:25:16 +00:00
Todd R
d8de93b777 Accepting request 516006 from home:TheBlackCat:branches:devel:languages:python
- Improve TK handling.
- Fix self-obsoletes

OBS-URL: https://build.opensuse.org/request/show/516006
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=59
2017-08-10 21:50:40 +00:00
Todd R
b4299d0409 Accepting request 515780 from home:TheBlackCat:branches:devel:languages:python
python(3)-tk does not exist on SLE

OBS-URL: https://build.opensuse.org/request/show/515780
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=58
2017-08-09 18:33:34 +00:00
Todd R
3a7148b122 Accepting request 487694 from home:TheBlackCat:branches:devel:languages:python
Fix download URL.

OBS-URL: https://build.opensuse.org/request/show/487694
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=56
2017-04-12 19:02:14 +00:00
Todd R
b2749c985e Accepting request 487684 from devel:languages:python:singlespec
1

OBS-URL: https://build.opensuse.org/request/show/487684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=55
2017-04-12 18:20:07 +00:00
0bb3e57c4d Accepting request 432113 from home:badshah400:freetype27
- Add python-Pillow-tests-update-epsilon-for-freetype27.patch: Fix
  buildfailures against freetype 2.7 by increasing the epsilon
  (gh#python-pillow/Pillow#2116); this seems to be the recommended
  solution by upstream.

OBS-URL: https://build.opensuse.org/request/show/432113
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=53
2016-10-04 10:59:41 +00:00
Thomas Bechtold
9dd50ae9c7 Accepting request 397347 from home:oertel:branches:devel:languages:python
- ignore make check errors on all bigendian archs
  (adding ppc s390 s390x)

OBS-URL: https://build.opensuse.org/request/show/397347
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=51
2016-05-23 10:02:04 +00:00
b534557255 - add LICENSE
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=49
2016-03-13 20:33:01 +00:00
7d3376b845 Accepting request 363815 from home:michel_mno:branches:devel:languages:python
- ignore make check errors ppc64 architecture as upstream issue
  https://github.com/python-pillow/Pillow/issues/1204

OBS-URL: https://build.opensuse.org/request/show/363815
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=47
2016-03-02 20:10:45 +00:00
Jan Matejek
ee3a56620b add bsc identifiers
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=46
2016-03-01 13:11:56 +00:00
Jan Matejek
b462ecac0c Accepting request 362918 from home:stroeder:branches:devel:languages:python
update to version 3.1.1 with security fixes

OBS-URL: https://build.opensuse.org/request/show/362918
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=45
2016-03-01 13:05:57 +00:00
Todd R
173ee749ef Accepting request 357109 from home:TheBlackCat:branches:devel:languages:python
update to version 3.1.0

OBS-URL: https://build.opensuse.org/request/show/357109
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=43
2016-02-01 11:46:53 +00:00
Todd R
db69949251 Accepting request 344484 from home:cboltz:branches:devel:languages:python
- fix wrong macro name in %post - it's %{py_ver}, not %{py-ver}

With the wrong name, the macro wasn't expanded, which lead to funny messages when installing the package:

(10/15) Installation von: python-Pillow-3.0.0-1.1 .....................................................................................................................................................................................................................[fertig]
Zusätzliche rpm-Ausgabe:
update-alternatives: using /usr/bin/pilconvert-2.7 to provide /usr/bin/pilconvert (pilconvert) in auto mode
update-alternatives: warning: skip creation of /usr/bin/createfontdatachunk because associated file /usr/bin/createfontdatachunk-%{py-ver} (of link group pilconvert) doesn't exist
update-alternatives: warning: skip creation of /usr/bin/enhancer because associated file /usr/bin/enhancer-%{py-ver} (of link group pilconvert) doesn't exist
update-alternatives: warning: skip creation of /usr/bin/explode because associated file /usr/bin/explode-%{py-ver} (of link group pilconvert) doesn't exist
update-alternatives: warning: skip creation of /usr/bin/gifmaker because associated file /usr/bin/gifmaker-%{py-ver} (of link group pilconvert) doesn't exist
update-alternatives: warning: skip creation of /usr/bin/painter because associated file /usr/bin/painter-%{py-ver} (of link group pilconvert) doesn't exist
update-alternatives: warning: skip creation of /usr/bin/player because associated file /usr/bin/player-%{py-ver} (of link group pilconvert) doesn't exist
update-alternatives: warning: skip creation of /usr/bin/thresholder because associated file /usr/bin/thresholder-%{py-ver} (of link group pilconvert) doesn't exist
update-alternatives: warning: skip creation of /usr/bin/viewer because associated file /usr/bin/viewer-%{py-ver} (of link group pilconvert) doesn't exist



Please forward this fix to factory.

OBS-URL: https://build.opensuse.org/request/show/344484
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=41
2015-11-17 10:22:51 +00:00
Todd R
d79fc67a8d Accepting request 336605 from home:apersaud:branches:devel:languages:python
update to latest version.

also see SR 336441 for updated python3 version
(both have update alternatives changed a bit)

OBS-URL: https://build.opensuse.org/request/show/336605
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=39
2015-10-06 09:20:34 +00:00
Todd R
78447fef38 Accepting request 319210 from home:winski:python
update to 2.9.0: bug fixes (including memory leak), added features & upstream merge of all outstanding patches

OBS-URL: https://build.opensuse.org/request/show/319210
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=37
2015-07-29 09:54:54 +00:00
Todd R
1c876d2161 Accepting request 318901 from home:seife:OpenStack:Master
fix build and dependencies for RHEL/CentOS 7, this time without update-alternatives hack

OBS-URL: https://build.opensuse.org/request/show/318901
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=36
2015-07-27 14:26:41 +00:00
7b563378ae - add 0001-Ico-files-are-little-endian-ref-1204.patch: fix for s390x
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=34
2015-06-14 20:08:49 +00:00
Michal Čihař
8e90b308d5 Accepting request 298512 from home:Nijel:branches:devel:languages:python
- Update to 2.8.1:
  - Bug fix: Catch struct.error on invalid JPEG, fixes #1163
  - Fix 32-bit BMP loading (RGBA or RGBX)
  - Fix UnboundLocalError in ImageFile #1131
  - Re-enable test image caching
  - Fix: Cannot identify EPS images, fixes #1104
  - Configure setuptools to run nosetests, fixes #729
  - Style/health fixes
  - Add support for HTTP response objects to Image.open()
  - Improve reference docs for PIL.ImageDraw.Draw.pieslice() #1145
  - Added copy method font_variant() and accessible properties to truetype() #1123
  - Fix ImagingEffectNoise #1128
  - Remove unreachable code
  - Let Python do the endian stuff + tests #1121
  - Fix webp decode memory leak #1114
  - Fast path for opaque pixels in RGBa unpacker #1088
  - Enable basic support for 'RGBa' raw encoding/decoding #1096
- Remove Pillow-fixtests.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/298512
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=32
2015-04-22 09:02:36 +00:00
Denisart Benjamin
046b60f435 Accepting request 298321 from home:tbechtold:branches:devel:languages:python
Fix tests for SLE11SP3

OBS-URL: https://build.opensuse.org/request/show/298321
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=30
2015-04-21 14:51:58 +00:00
Denisart Benjamin
8a91e8b613 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=29 2015-02-09 15:33:38 +00:00
Denisart Benjamin
c22df61a2b Accepting request 284298 from home:frispete:python
- fix test for lossy webp alpha deviation of earlier lib versions

OBS-URL: https://build.opensuse.org/request/show/284298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=27
2015-02-09 15:17:57 +00:00
a8109a78fd Accepting request 280286 from home:tbechtold:branches:devel:languages:python
New upstream release

OBS-URL: https://build.opensuse.org/request/show/280286
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=25
2015-01-08 11:32:22 +00:00
Todd R
0cab925da0 Accepting request 262196 from home:TheBlackCat:branches:devel:languages:python
Update to 2.6.1

OBS-URL: https://build.opensuse.org/request/show/262196
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=23
2014-11-18 14:18:33 +00:00
Michal Čihař
fe5f71f984 Accepting request 245072 from home:Nijel:branches:devel:languages:python
- Use versioned provides and conflicts to fix installation on SLE11

OBS-URL: https://build.opensuse.org/request/show/245072
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=21
2014-08-19 08:12:37 +00:00
Michal Čihař
b4496d5889 Accepting request 244315 from home:Nijel:branches:devel:languages:python
- enable build time testing, but not for i586 as it's broken there due to some
  rounding error (see https://github.com/python-pillow/Pillow/issues/819)

- Update to 2.5.1:
 * 2.5.1 (2014-07-10)
    Fixed install issue if Multiprocessing.Pool is not available [wiredfool]
    32bit mult overflow fix #782 [wiredfool]
 * 2.5.0 (2014-07-01)
    Imagedraw rewrite [terseus, wiredfool]
    Add support for multithreaded test execution [wiredfool]
    Prevent shell injection #748 [mbrown1413, wiredfool]
    Support for Resolution in BMP files #734 [gcq]
    Fix error in setup.py for Python 3 [matthew-brett]
    Pyroma fix and add Python 3.4 to setup metadata #742 [wirefool]
    Top level flake8 fixes #741 [aclark]
    Remove obsolete Animated Raster Graphics (ARG) support [hugovk]
    Fix test_imagedraw failures #727 [cgohlke]
    Fix AttributeError: class Image has no attribute 'DEBUG' #726 [cgohlke]
    Fix msvc warning: 'inline' : macro redefinition #725 [cgohlke]
    Cleanup #654 [dvska, hugovk, wiredfool]
    16-bit monochrome support for JPEG2000 [videan42]
    Fixed ImagePalette.save [brightpisces]
    Support JPEG qtables [csinchok]
    Add binary morphology addon [dov, wiredfool]
    Decompression bomb protection [hugovk]
    Put images in a single directory [hugovk]
    Support OpenJpeg 2.1 [al45tair]
    Remove unistd.h #include for all platforms [wiredfool]
    Use unittest for tests [hugovk]
    ImageCms fixes [hugovk]

OBS-URL: https://build.opensuse.org/request/show/244315
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=19
2014-08-12 13:50:47 +00:00
Denisart Benjamin
3e370102d5 Accepting request 243401 from home:tiwai:branches:devel:languages:python
- Add missing PIL.pth installation (bnc#889973)

OBS-URL: https://build.opensuse.org/request/show/243401
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=17
2014-08-02 11:00:59 +00:00
Todd R
cce204024a Accepting request 235635 from home:TheBlackCat:branches:devel:languages:python
Fixing conflicting provides/conflicts that prevent installation of the tk subpackage.

This should fix the problems reported with the previous openSUSE:Factory submission.

OBS-URL: https://build.opensuse.org/request/show/235635
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=15
2014-05-28 08:43:10 +00:00
Todd R
973f94461d Accepting request 235507 from home:Nijel:branches:devel:languages:python
Adjust openjpeg2 dependency for older distributions

The openjpeg2 package is not available in SLE12 and older, so let's build
Pillow there without it.

OBS-URL: https://build.opensuse.org/request/show/235507
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=14
2014-05-27 12:54:18 +00:00
Tomáš Chvátal
42479cf82a Accepting request 233204 from home:frispete:python
New attempt to submit this, now providing python-imaging
@Sascha: sure, it might been wrong to provide python-imaging in the
first place, but python-Pillow without it doesn't make muchg sense,
or do you really want to adjust all dependant packages? Here, that
where scribus and python-repostlab, which both seem to work fine
with Pillow, apart from the imaging dependency.

BTW: this is the way, Redhat handles this issue, too.

Incorporated the new release, and added openjpeg2 dependency.

- New upstream release 2.4.0. For details see
  https://pypi.python.org/pypi/Pillow/2.4.0
- New dependency: openjpeg2 for JPEG 2000 support

- provide python-imaging in order to act as a drop in replacement
  for it.

- symlink alternatives files, as requested from Coolo, in order to
  get rid of suse version conditional

OBS-URL: https://build.opensuse.org/request/show/233204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=13
2014-05-19 11:49:09 +00:00
Sascha Peilicke
42e032a9a0 Accepting request 222275 from home:Nijel:branches:devel:languages:python
- Fix build for older distributions which do not include lcms2

OBS-URL: https://build.opensuse.org/request/show/222275
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=11
2014-02-14 08:12:00 +00:00
Denisart Benjamin
b6bb12f879 Accepting request 220496 from home:frispete:python
- also exclude 12.2 from ghost etc/alternatives/* as this results in
  failed builds with: Explicit file attributes required in spec for:
  $BUILDROOT/etc/alternatives/pil*

OBS-URL: https://build.opensuse.org/request/show/220496
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=10
2014-02-02 01:11:04 +00:00
Sascha Peilicke
2012600bc2 Accepting request 215203 from home:kohtala:reviewboard
Revised update to 2.3.0.

OBS-URL: https://build.opensuse.org/request/show/215203
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=8
2014-01-28 09:23:11 +00:00
Denisart Benjamin
b4411d9c91 Accepting request 210605 from openSUSE:Factory:Staging:freetype2
Added use-recommended-freetype-include.patch -- needed for freetype2 2.5.1

OBS-URL: https://build.opensuse.org/request/show/210605
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=6
2013-12-11 20:09:11 +00:00
Sascha Peilicke
698b0816f7 - Move away from pkgconfig-style buildrequires to support SLE
- Implement update-alternatives
- License update: HPND

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=4
2013-11-18 09:41:29 +00:00
Sascha Peilicke
aafc86e796 Accepting request 206869 from home:babelworx:ldig:branches:devel:languages:python
license update: HPND

OBS-URL: https://build.opensuse.org/request/show/206869
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=3
2013-11-14 13:21:19 +00:00
Sascha Peilicke
ac40b35775 - Add split-provides inside tk sub-package to get rid of python-imaging-tk
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=2
2013-11-12 10:18:32 +00:00
Sascha Peilicke
e472e70b44 - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pillow?expand=0&rev=1
2013-11-07 16:32:23 +00:00