mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
Merge pull request #8536 from heitbaum/pillow-fix
Pillow: update patches for 10.2.0 and fix upstream regression with setup.py
This commit is contained in:
commit
96b4665e4b
@ -2,8 +2,8 @@ diff --git a/setup.py b/setup.py
|
|||||||
index 8eb0b3c..277e44a 100755
|
index 8eb0b3c..277e44a 100755
|
||||||
--- a/setup.py
|
--- a/setup.py
|
||||||
+++ b/setup.py
|
+++ b/setup.py
|
||||||
@@ -253,7 +253,7 @@ class pil_build_ext(build_ext):
|
@@ -335,7 +335,7 @@
|
||||||
] + [('add-imaging-libs=', None, 'Add libs to _imaging build')]
|
)
|
||||||
|
|
||||||
def initialize_options(self):
|
def initialize_options(self):
|
||||||
- self.disable_platform_guessing = None
|
- self.disable_platform_guessing = None
|
||||||
@ -11,3 +11,11 @@ index 8eb0b3c..277e44a 100755
|
|||||||
self.add_imaging_libs = ""
|
self.add_imaging_libs = ""
|
||||||
build_ext.initialize_options(self)
|
build_ext.initialize_options(self)
|
||||||
for x in self.feature:
|
for x in self.feature:
|
||||||
|
@@ -987,6 +987,7 @@
|
||||||
|
|
||||||
|
try:
|
||||||
|
setup(
|
||||||
|
+ version=PILLOW_VERSION,
|
||||||
|
cmdclass={"build_ext": pil_build_ext},
|
||||||
|
ext_modules=ext_modules,
|
||||||
|
zip_safe=not (debug_build() or PLATFORM_MINGW),
|
||||||
|
@ -0,0 +1,87 @@
|
|||||||
|
From 346de8011ac8ece998d9bd857d661cf2bb7479a2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rudi Heitbaum <rudi@heitbaum.com>
|
||||||
|
Date: Sat, 20 Jan 2024 02:20:01 +0000
|
||||||
|
Subject: [PATCH] Revert "Move build config from setup.cfg to pyproject.toml"
|
||||||
|
|
||||||
|
This partially reverts commit 430920e2a8420bdfcd08eafe6446d6173692e24e.
|
||||||
|
---
|
||||||
|
setup.cfg | 67 +++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
1 files changed, 67 insertions(+)
|
||||||
|
create mode 100644 setup.cfg
|
||||||
|
|
||||||
|
diff --git a/setup.cfg b/setup.cfg
|
||||||
|
new file mode 100644
|
||||||
|
index 000000000..627788cd8
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -0,0 +1,67 @@
|
||||||
|
+[metadata]
|
||||||
|
+name = Pillow
|
||||||
|
+description = Python Imaging Library (Fork)
|
||||||
|
+long_description = file: README.md
|
||||||
|
+long_description_content_type = text/markdown
|
||||||
|
+url = https://python-pillow.org
|
||||||
|
+author = Jeffrey A. Clark (Alex)
|
||||||
|
+author_email = aclark@aclark.net
|
||||||
|
+license = HPND
|
||||||
|
+classifiers =
|
||||||
|
+ Development Status :: 6 - Mature
|
||||||
|
+ License :: OSI Approved :: Historical Permission Notice and Disclaimer (HPND)
|
||||||
|
+ Programming Language :: Python :: 3
|
||||||
|
+ Programming Language :: Python :: 3 :: Only
|
||||||
|
+ Programming Language :: Python :: 3.8
|
||||||
|
+ Programming Language :: Python :: 3.9
|
||||||
|
+ Programming Language :: Python :: 3.10
|
||||||
|
+ Programming Language :: Python :: 3.11
|
||||||
|
+ Programming Language :: Python :: 3.12
|
||||||
|
+ Programming Language :: Python :: Implementation :: CPython
|
||||||
|
+ Programming Language :: Python :: Implementation :: PyPy
|
||||||
|
+ Topic :: Multimedia :: Graphics
|
||||||
|
+ Topic :: Multimedia :: Graphics :: Capture :: Digital Camera
|
||||||
|
+ Topic :: Multimedia :: Graphics :: Capture :: Screen Capture
|
||||||
|
+ Topic :: Multimedia :: Graphics :: Graphics Conversion
|
||||||
|
+ Topic :: Multimedia :: Graphics :: Viewers
|
||||||
|
+keywords = Imaging
|
||||||
|
+project_urls =
|
||||||
|
+ Documentation=https://pillow.readthedocs.io
|
||||||
|
+ Source=https://github.com/python-pillow/Pillow
|
||||||
|
+ Funding=https://tidelift.com/subscription/pkg/pypi-pillow?utm_source=pypi-pillow&utm_medium=pypi
|
||||||
|
+ Release notes=https://pillow.readthedocs.io/en/stable/releasenotes/index.html
|
||||||
|
+ Changelog=https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst
|
||||||
|
+ Twitter=https://twitter.com/PythonPillow
|
||||||
|
+ Mastodon=https://fosstodon.org/@pillow
|
||||||
|
+
|
||||||
|
+[options]
|
||||||
|
+packages = PIL
|
||||||
|
+python_requires = >=3.8
|
||||||
|
+include_package_data = True
|
||||||
|
+package_dir =
|
||||||
|
+ = src
|
||||||
|
+
|
||||||
|
+[options.extras_require]
|
||||||
|
+docs =
|
||||||
|
+ furo
|
||||||
|
+ olefile
|
||||||
|
+ sphinx>=2.4
|
||||||
|
+ sphinx-copybutton
|
||||||
|
+ sphinx-inline-tabs
|
||||||
|
+ sphinx-removed-in
|
||||||
|
+ sphinxext-opengraph
|
||||||
|
+tests =
|
||||||
|
+ check-manifest
|
||||||
|
+ coverage
|
||||||
|
+ defusedxml
|
||||||
|
+ markdown2
|
||||||
|
+ olefile
|
||||||
|
+ packaging
|
||||||
|
+ pyroma
|
||||||
|
+ pytest
|
||||||
|
+ pytest-cov
|
||||||
|
+ pytest-timeout
|
||||||
|
+
|
||||||
|
+[flake8]
|
||||||
|
+extend-ignore = E203
|
||||||
|
+max-line-length = 88
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user