Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : python-pillow | name : python-pillow | ||||
| version : 4.3.0 | version : 5.1.0 | ||||
| release : 15 | release : 16 | ||||
| source : | source : | ||||
| - https://github.com/python-pillow/Pillow/archive/4.3.0.tar.gz : a7bd05a7a0d260c17e60fffa2d9f23ba977e01e98c65b7953163de90e0e102d3 | - https://github.com/python-pillow/Pillow/archive/5.1.0.tar.gz : de34dfb23981fd94fa8b4b3b5fd3641082de9e618b2a8bbd66ce846d09eba9a0 | ||||
| license : MIT | license : MIT | ||||
| component : programming.python | component : programming.python | ||||
| summary : The friendly PIL fork (Python Imaging Library) | summary : The friendly PIL fork (Python Imaging Library) | ||||
| description: | | description: | | ||||
| Pillow is the "friendly PIL fork" by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. | Pillow is the "friendly PIL fork" by Alex Clark and Contributors. PIL is the Python Imaging Library by Fredrik Lundh and Contributors. | ||||
| builddeps : | builddeps : | ||||
| - pkgconfig(freetype2) | - pkgconfig(freetype2) | ||||
| - pkgconfig(lcms2) | - pkgconfig(lcms2) | ||||
| - pkgconfig(libopenjp2) | |||||
| - pkgconfig(libtiff-4) | - pkgconfig(libtiff-4) | ||||
| - pkgconfig(libturbojpeg) | |||||
| - pkgconfig(libwebp) | - pkgconfig(libwebp) | ||||
| - pkgconfig(python3) | - pkgconfig(python3) | ||||
| - pkgconfig(tcl) | - pkgconfig(tk) | ||||
| - python-pytest | |||||
| - python-setuptools | - python-setuptools | ||||
| - libjpeg-turbo-devel | |||||
| rundeps : | rundeps : | ||||
| - libjpeg-turbo | - libjpeg-turbo | ||||
| build : | | build : | | ||||
| %python_setup | %python_setup | ||||
| %python3_setup | %python3_setup | ||||
| install : | | install : | | ||||
| %python_install | %python_install | ||||
| %python3_install | %python3_install | ||||
| for py in 2.7 3.5m; do | for py in 2.7 3.6m; do | ||||
| install -dm00644 $installdir/usr/include/python${py}/ | install -dm00755 $installdir/usr/include/python${py}/ | ||||
| install -Dm00644 libImaging/*.h $installdir/usr/include/python${py}/ | install -m00644 src/libImaging/*.h $installdir/usr/include/python${py}/ | ||||
| done | done | ||||
| check : | | |||||
| pushd $PKG_BUILD_DIR/py2build | |||||
| export PYTHONPATH=$PWD/build/lib.linux-x86_64-2.7 | |||||
| python selftest.py | |||||
| py.test | |||||
| popd | |||||
| pushd $PKG_BUILD_DIR/py3build | |||||
| export PYTHONPATH=$PWD/build/lib.linux-x86_64-3.6 | |||||
| python3 selftest.py | |||||
| py.test3 | |||||
| popd | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.