14
0
forked from pool/python-tweepy

- Add patch support-python-313.patch:

* Fall back to mimetypes if imghdr isn't available.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=31
This commit is contained in:
2024-12-15 23:34:12 +00:00
committed by Git OBS Bridge
parent fbaa94e73c
commit e9b307a5a7
3 changed files with 66 additions and 1 deletions

View File

@@ -23,6 +23,8 @@ Summary: Twitter library for python
License: MIT
URL: https://github.com/tweepy/tweepy
Source: https://github.com/tweepy/tweepy/archive/v%{version}.tar.gz
# PATCH-FIX-UPSTREAM Based on gh#tweepy/tweepy#2205
Patch0: support-python-313.patch
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module async-lru}
BuildRequires: %{python_module pip}
@@ -45,7 +47,7 @@ A library for accessing the Twitter.com API. Supports OAuth, covers the entire
API, and streaming API.
%prep
%setup -q -n tweepy-%{version}
%autosetup -p1 -n tweepy-%{version}
%build
%pyproject_wheel