diff options
author | CoprDistGit <infra@openeuler.org> | 2023-03-09 15:06:33 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-03-09 15:06:33 +0000 |
commit | f5cff81946431bb7993e63441d01bfd778f3a690 (patch) | |
tree | f1fb676db64746237a0f2969aefd96a21cc765d9 | |
parent | 104cc8e822e17b8c806bbca349b0f445fdefc103 (diff) |
automatic import of python-pillow
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-pillow.spec | 443 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 445 insertions, 0 deletions
@@ -0,0 +1 @@ +/Pillow-9.4.0.tar.gz diff --git a/python-pillow.spec b/python-pillow.spec new file mode 100644 index 0000000..120c6d4 --- /dev/null +++ b/python-pillow.spec @@ -0,0 +1,443 @@ +%global _empty_manifest_terminate_build 0 +Name: python-Pillow +Version: 9.4.0 +Release: 1 +Summary: Python Imaging Library (Fork) +License: HPND +URL: https://python-pillow.org +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/bc/07/830784e061fb94d67649f3e438ff63cfb902dec6d48ac75aeaaac7c7c30e/Pillow-9.4.0.tar.gz + +Requires: python3-furo +Requires: python3-olefile +Requires: python3-sphinx +Requires: python3-sphinx-copybutton +Requires: python3-sphinx-inline-tabs +Requires: python3-sphinx-issues +Requires: python3-sphinx-removed-in +Requires: python3-sphinxext-opengraph +Requires: python3-check-manifest +Requires: python3-coverage +Requires: python3-defusedxml +Requires: python3-markdown2 +Requires: python3-olefile +Requires: python3-packaging +Requires: python3-pyroma +Requires: python3-pytest +Requires: python3-pytest-cov +Requires: python3-pytest-timeout + +%description +<p align="center"> + <img width="248" height="250" src="https://raw.githubusercontent.com/python-pillow/pillow-logo/main/pillow-logo-248x250.png" alt="Pillow logo"> +</p> + +# Pillow + +## Python Imaging Library (Fork) + +Pillow is the friendly PIL fork by [Alex Clark and +Contributors](https://github.com/python-pillow/Pillow/graphs/contributors). +PIL is the Python Imaging Library by Fredrik Lundh and Contributors. +As of 2019, Pillow development is +[supported by Tidelift](https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=readme&utm_campaign=enterprise). + +<table> + <tr> + <th>docs</th> + <td> + <a href="https://pillow.readthedocs.io/?badge=latest"><img + alt="Documentation Status" + src="https://readthedocs.org/projects/pillow/badge/?version=latest"></a> + </td> + </tr> + <tr> + <th>tests</th> + <td> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/lint.yml"><img + alt="GitHub Actions build status (Lint)" + src="https://github.com/python-pillow/Pillow/workflows/Lint/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test.yml"><img + alt="GitHub Actions build status (Test Linux and macOS)" + src="https://github.com/python-pillow/Pillow/workflows/Test/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml"><img + alt="GitHub Actions build status (Test Windows)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Windows/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-mingw.yml"><img + alt="GitHub Actions build status (Test MinGW)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20MinGW/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-cygwin.yml"><img + alt="GitHub Actions build status (Test Cygwin)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Cygwin/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-docker.yml"><img + alt="GitHub Actions build status (Test Docker)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Docker/badge.svg"></a> + <a href="https://ci.appveyor.com/project/python-pillow/Pillow"><img + alt="AppVeyor CI build status (Windows)" + src="https://img.shields.io/appveyor/build/python-pillow/Pillow/main.svg?label=Windows%20build"></a> + <a href="https://github.com/python-pillow/pillow-wheels/actions"><img + alt="GitHub Actions wheels build status (Wheels)" + src="https://github.com/python-pillow/pillow-wheels/workflows/Wheels/badge.svg"></a> + <a href="https://app.travis-ci.com/github/python-pillow/pillow-wheels"><img + alt="Travis CI wheels build status (aarch64)" + src="https://img.shields.io/travis/com/python-pillow/pillow-wheels/main.svg?label=aarch64%20wheels"></a> + <a href="https://app.codecov.io/gh/python-pillow/Pillow"><img + alt="Code coverage" + src="https://codecov.io/gh/python-pillow/Pillow/branch/main/graph/badge.svg"></a> + <a href="https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:pillow"><img + alt="Fuzzing Status" + src="https://oss-fuzz-build-logs.storage.googleapis.com/badges/pillow.svg"></a> + </td> + </tr> + <tr> + <th>package</th> + <td> + <a href="https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow"><img + alt="Zenodo" + src="https://zenodo.org/badge/17549/python-pillow/Pillow.svg"></a> + <a href="https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=badge"><img + alt="Tidelift" + src="https://tidelift.com/badges/package/pypi/Pillow?style=flat"></a> + <a href="https://pypi.org/project/Pillow/"><img + alt="Newest PyPI version" + src="https://img.shields.io/pypi/v/pillow.svg"></a> + <a href="https://pypi.org/project/Pillow/"><img + alt="Number of PyPI downloads" + src="https://img.shields.io/pypi/dm/pillow.svg"></a> + <a href="https://bestpractices.coreinfrastructure.org/projects/6331"><img + alt="OpenSSF Best Practices" + src="https://bestpractices.coreinfrastructure.org/projects/6331/badge"></a> + </td> + </tr> + <tr> + <th>social</th> + <td> + <a href="https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img + alt="Join the chat at https://gitter.im/python-pillow/Pillow" + src="https://badges.gitter.im/python-pillow/Pillow.svg"></a> + <a href="https://twitter.com/PythonPillow"><img + alt="Follow on https://twitter.com/PythonPillow" + src="https://img.shields.io/badge/tweet-on%20Twitter-00aced.svg"></a> + </td> + </tr> +</table> + +## Overview + +The Python Imaging Library adds image processing capabilities to your Python interpreter. + +This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. + +The core image library is designed for fast access to data stored in a few basic pixel formats. It should provide a solid foundation for a general image processing tool. + +## More Information + +- [Documentation](https://pillow.readthedocs.io/) + - [Installation](https://pillow.readthedocs.io/en/latest/installation.html) + - [Handbook](https://pillow.readthedocs.io/en/latest/handbook/index.html) +- [Contribute](https://github.com/python-pillow/Pillow/blob/main/.github/CONTRIBUTING.md) + - [Issues](https://github.com/python-pillow/Pillow/issues) + - [Pull requests](https://github.com/python-pillow/Pillow/pulls) +- [Release notes](https://pillow.readthedocs.io/en/stable/releasenotes/index.html) +- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) + - [Pre-fork](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst#pre-fork) + +## Report a Vulnerability + +To report a security vulnerability, please follow the procedure described in the [Tidelift security policy](https://tidelift.com/docs/security). + + +%package -n python3-Pillow +Summary: Python Imaging Library (Fork) +Provides: python-Pillow +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +BuildRequires: python3-cffi +BuildRequires: gcc +BuildRequires: gdb +%description -n python3-Pillow +<p align="center"> + <img width="248" height="250" src="https://raw.githubusercontent.com/python-pillow/pillow-logo/main/pillow-logo-248x250.png" alt="Pillow logo"> +</p> + +# Pillow + +## Python Imaging Library (Fork) + +Pillow is the friendly PIL fork by [Alex Clark and +Contributors](https://github.com/python-pillow/Pillow/graphs/contributors). +PIL is the Python Imaging Library by Fredrik Lundh and Contributors. +As of 2019, Pillow development is +[supported by Tidelift](https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=readme&utm_campaign=enterprise). + +<table> + <tr> + <th>docs</th> + <td> + <a href="https://pillow.readthedocs.io/?badge=latest"><img + alt="Documentation Status" + src="https://readthedocs.org/projects/pillow/badge/?version=latest"></a> + </td> + </tr> + <tr> + <th>tests</th> + <td> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/lint.yml"><img + alt="GitHub Actions build status (Lint)" + src="https://github.com/python-pillow/Pillow/workflows/Lint/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test.yml"><img + alt="GitHub Actions build status (Test Linux and macOS)" + src="https://github.com/python-pillow/Pillow/workflows/Test/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml"><img + alt="GitHub Actions build status (Test Windows)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Windows/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-mingw.yml"><img + alt="GitHub Actions build status (Test MinGW)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20MinGW/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-cygwin.yml"><img + alt="GitHub Actions build status (Test Cygwin)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Cygwin/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-docker.yml"><img + alt="GitHub Actions build status (Test Docker)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Docker/badge.svg"></a> + <a href="https://ci.appveyor.com/project/python-pillow/Pillow"><img + alt="AppVeyor CI build status (Windows)" + src="https://img.shields.io/appveyor/build/python-pillow/Pillow/main.svg?label=Windows%20build"></a> + <a href="https://github.com/python-pillow/pillow-wheels/actions"><img + alt="GitHub Actions wheels build status (Wheels)" + src="https://github.com/python-pillow/pillow-wheels/workflows/Wheels/badge.svg"></a> + <a href="https://app.travis-ci.com/github/python-pillow/pillow-wheels"><img + alt="Travis CI wheels build status (aarch64)" + src="https://img.shields.io/travis/com/python-pillow/pillow-wheels/main.svg?label=aarch64%20wheels"></a> + <a href="https://app.codecov.io/gh/python-pillow/Pillow"><img + alt="Code coverage" + src="https://codecov.io/gh/python-pillow/Pillow/branch/main/graph/badge.svg"></a> + <a href="https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:pillow"><img + alt="Fuzzing Status" + src="https://oss-fuzz-build-logs.storage.googleapis.com/badges/pillow.svg"></a> + </td> + </tr> + <tr> + <th>package</th> + <td> + <a href="https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow"><img + alt="Zenodo" + src="https://zenodo.org/badge/17549/python-pillow/Pillow.svg"></a> + <a href="https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=badge"><img + alt="Tidelift" + src="https://tidelift.com/badges/package/pypi/Pillow?style=flat"></a> + <a href="https://pypi.org/project/Pillow/"><img + alt="Newest PyPI version" + src="https://img.shields.io/pypi/v/pillow.svg"></a> + <a href="https://pypi.org/project/Pillow/"><img + alt="Number of PyPI downloads" + src="https://img.shields.io/pypi/dm/pillow.svg"></a> + <a href="https://bestpractices.coreinfrastructure.org/projects/6331"><img + alt="OpenSSF Best Practices" + src="https://bestpractices.coreinfrastructure.org/projects/6331/badge"></a> + </td> + </tr> + <tr> + <th>social</th> + <td> + <a href="https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img + alt="Join the chat at https://gitter.im/python-pillow/Pillow" + src="https://badges.gitter.im/python-pillow/Pillow.svg"></a> + <a href="https://twitter.com/PythonPillow"><img + alt="Follow on https://twitter.com/PythonPillow" + src="https://img.shields.io/badge/tweet-on%20Twitter-00aced.svg"></a> + </td> + </tr> +</table> + +## Overview + +The Python Imaging Library adds image processing capabilities to your Python interpreter. + +This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. + +The core image library is designed for fast access to data stored in a few basic pixel formats. It should provide a solid foundation for a general image processing tool. + +## More Information + +- [Documentation](https://pillow.readthedocs.io/) + - [Installation](https://pillow.readthedocs.io/en/latest/installation.html) + - [Handbook](https://pillow.readthedocs.io/en/latest/handbook/index.html) +- [Contribute](https://github.com/python-pillow/Pillow/blob/main/.github/CONTRIBUTING.md) + - [Issues](https://github.com/python-pillow/Pillow/issues) + - [Pull requests](https://github.com/python-pillow/Pillow/pulls) +- [Release notes](https://pillow.readthedocs.io/en/stable/releasenotes/index.html) +- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) + - [Pre-fork](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst#pre-fork) + +## Report a Vulnerability + +To report a security vulnerability, please follow the procedure described in the [Tidelift security policy](https://tidelift.com/docs/security). + + +%package help +Summary: Development documents and examples for Pillow +Provides: python3-Pillow-doc +%description help +<p align="center"> + <img width="248" height="250" src="https://raw.githubusercontent.com/python-pillow/pillow-logo/main/pillow-logo-248x250.png" alt="Pillow logo"> +</p> + +# Pillow + +## Python Imaging Library (Fork) + +Pillow is the friendly PIL fork by [Alex Clark and +Contributors](https://github.com/python-pillow/Pillow/graphs/contributors). +PIL is the Python Imaging Library by Fredrik Lundh and Contributors. +As of 2019, Pillow development is +[supported by Tidelift](https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=readme&utm_campaign=enterprise). + +<table> + <tr> + <th>docs</th> + <td> + <a href="https://pillow.readthedocs.io/?badge=latest"><img + alt="Documentation Status" + src="https://readthedocs.org/projects/pillow/badge/?version=latest"></a> + </td> + </tr> + <tr> + <th>tests</th> + <td> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/lint.yml"><img + alt="GitHub Actions build status (Lint)" + src="https://github.com/python-pillow/Pillow/workflows/Lint/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test.yml"><img + alt="GitHub Actions build status (Test Linux and macOS)" + src="https://github.com/python-pillow/Pillow/workflows/Test/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml"><img + alt="GitHub Actions build status (Test Windows)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Windows/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-mingw.yml"><img + alt="GitHub Actions build status (Test MinGW)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20MinGW/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-cygwin.yml"><img + alt="GitHub Actions build status (Test Cygwin)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Cygwin/badge.svg"></a> + <a href="https://github.com/python-pillow/Pillow/actions/workflows/test-docker.yml"><img + alt="GitHub Actions build status (Test Docker)" + src="https://github.com/python-pillow/Pillow/workflows/Test%20Docker/badge.svg"></a> + <a href="https://ci.appveyor.com/project/python-pillow/Pillow"><img + alt="AppVeyor CI build status (Windows)" + src="https://img.shields.io/appveyor/build/python-pillow/Pillow/main.svg?label=Windows%20build"></a> + <a href="https://github.com/python-pillow/pillow-wheels/actions"><img + alt="GitHub Actions wheels build status (Wheels)" + src="https://github.com/python-pillow/pillow-wheels/workflows/Wheels/badge.svg"></a> + <a href="https://app.travis-ci.com/github/python-pillow/pillow-wheels"><img + alt="Travis CI wheels build status (aarch64)" + src="https://img.shields.io/travis/com/python-pillow/pillow-wheels/main.svg?label=aarch64%20wheels"></a> + <a href="https://app.codecov.io/gh/python-pillow/Pillow"><img + alt="Code coverage" + src="https://codecov.io/gh/python-pillow/Pillow/branch/main/graph/badge.svg"></a> + <a href="https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:pillow"><img + alt="Fuzzing Status" + src="https://oss-fuzz-build-logs.storage.googleapis.com/badges/pillow.svg"></a> + </td> + </tr> + <tr> + <th>package</th> + <td> + <a href="https://zenodo.org/badge/latestdoi/17549/python-pillow/Pillow"><img + alt="Zenodo" + src="https://zenodo.org/badge/17549/python-pillow/Pillow.svg"></a> + <a href="https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=badge"><img + alt="Tidelift" + src="https://tidelift.com/badges/package/pypi/Pillow?style=flat"></a> + <a href="https://pypi.org/project/Pillow/"><img + alt="Newest PyPI version" + src="https://img.shields.io/pypi/v/pillow.svg"></a> + <a href="https://pypi.org/project/Pillow/"><img + alt="Number of PyPI downloads" + src="https://img.shields.io/pypi/dm/pillow.svg"></a> + <a href="https://bestpractices.coreinfrastructure.org/projects/6331"><img + alt="OpenSSF Best Practices" + src="https://bestpractices.coreinfrastructure.org/projects/6331/badge"></a> + </td> + </tr> + <tr> + <th>social</th> + <td> + <a href="https://gitter.im/python-pillow/Pillow?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"><img + alt="Join the chat at https://gitter.im/python-pillow/Pillow" + src="https://badges.gitter.im/python-pillow/Pillow.svg"></a> + <a href="https://twitter.com/PythonPillow"><img + alt="Follow on https://twitter.com/PythonPillow" + src="https://img.shields.io/badge/tweet-on%20Twitter-00aced.svg"></a> + </td> + </tr> +</table> + +## Overview + +The Python Imaging Library adds image processing capabilities to your Python interpreter. + +This library provides extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities. + +The core image library is designed for fast access to data stored in a few basic pixel formats. It should provide a solid foundation for a general image processing tool. + +## More Information + +- [Documentation](https://pillow.readthedocs.io/) + - [Installation](https://pillow.readthedocs.io/en/latest/installation.html) + - [Handbook](https://pillow.readthedocs.io/en/latest/handbook/index.html) +- [Contribute](https://github.com/python-pillow/Pillow/blob/main/.github/CONTRIBUTING.md) + - [Issues](https://github.com/python-pillow/Pillow/issues) + - [Pull requests](https://github.com/python-pillow/Pillow/pulls) +- [Release notes](https://pillow.readthedocs.io/en/stable/releasenotes/index.html) +- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) + - [Pre-fork](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst#pre-fork) + +## Report a Vulnerability + +To report a security vulnerability, please follow the procedure described in the [Tidelift security policy](https://tidelift.com/docs/security). + + +%prep +%autosetup -n Pillow-9.4.0 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-Pillow -f filelist.lst +%dir %{python3_sitearch}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 9.4.0-1 +- Package Spec generated @@ -0,0 +1 @@ +ee6e9a6c729ed9e9a78ccd3f6e9d7143 Pillow-9.4.0.tar.gz |