python-pygit2/python-pygit2-cffiver.patch
2024-02-08 13:18:07 +00:00

32 lines
1.3 KiB
Diff

diff -up pygit2-1.14.0/docs/install.rst.cffiver pygit2-1.14.0/docs/install.rst
--- pygit2-1.14.0/docs/install.rst.cffiver 2024-01-26 11:05:11.000000000 +0000
+++ pygit2-1.14.0/docs/install.rst 2024-02-08 13:09:35.537097921 +0000
@@ -55,7 +55,7 @@ Supported versions of Python:
Python requirements (these are specified in ``setup.py``):
-- cffi 1.16.0 or later
+- cffi 1.16.0 or later (or Fedora package >= 1.15.1-5)
Libgit2 **v1.7.1+**; binary wheels already include libgit2, so you only need to
worry about this if you install the source package.
diff -up pygit2-1.14.0/requirements.txt.cffiver pygit2-1.14.0/requirements.txt
--- pygit2-1.14.0/requirements.txt.cffiver 2024-01-26 11:05:11.000000000 +0000
+++ pygit2-1.14.0/requirements.txt 2024-02-08 13:09:35.538097421 +0000
@@ -1,2 +1,2 @@
-cffi>=1.16.0
+cffi>=1.9.1
setuptools ; python_version >= "3.12"
diff -up pygit2-1.14.0/setup.py.cffiver pygit2-1.14.0/setup.py
--- pygit2-1.14.0/setup.py.cffiver 2024-01-26 11:05:11.000000000 +0000
+++ pygit2-1.14.0/setup.py 2024-02-08 13:09:35.539096921 +0000
@@ -152,7 +152,7 @@ setup(
ext_modules=ext_modules,
# Requirements
python_requires='>=3.9',
- setup_requires=['cffi>=1.16.0'],
+ setup_requires=['cffi>=1.9.1'],
install_requires=install_requires,
# URLs
url='https://github.com/libgit2/pygit2',