14
0
forked from pool/python-tweepy

Accepting request 688352 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/688352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tweepy?expand=0&rev=10
This commit is contained in:
2019-04-02 07:20:47 +00:00
committed by Git OBS Bridge
5 changed files with 15 additions and 68 deletions

3
3.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a72a457efc0a60340bf19dc4fead291b6758befa061b74d8f7e3f3e03171c8e4
size 427430

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Mar 25 15:32:12 UTC 2019 - pgajdos@suse.com
- version update to 3.7.0
* no upstream changelog (except git log)
- deleted patches
- tweepy-pip2.10.patch (upstreamed)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 10 11:16:59 UTC 2018 - tchvatal@suse.com Fri Aug 10 11:16:59 UTC 2018 - tchvatal@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-tweepy # spec file for package python-tweepy
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,20 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-tweepy Name: python-tweepy
Version: 3.6.0 Version: 3.7.0
Release: 0 Release: 0
Summary: Twitter library for python Summary: Twitter library for python
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/tweepy/tweepy URL: https://github.com/tweepy/tweepy
Source: https://github.com/tweepy/tweepy/archive/v%{version}.tar.gz Source: https://github.com/tweepy/tweepy/archive/%{version}.tar.gz
Patch0: tweepy-pip2.10.patch
BuildRequires: %{python_module PySocks >= 1.5.7} BuildRequires: %{python_module PySocks >= 1.5.7}
BuildRequires: %{python_module mock >= 1.0.1} BuildRequires: %{python_module mock >= 1.0.1}
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
@@ -50,7 +49,6 @@ API, and streaming API.
%prep %prep
%setup -q -n tweepy-%{version} %setup -q -n tweepy-%{version}
%patch0 -p1
%build %build
%python_build %python_build

View File

@@ -1,59 +0,0 @@
From 778bd7a31d2f5fae98652735e7844533589ca221 Mon Sep 17 00:00:00 2001
From: Ben Cipollini <bcipollini@classy.org>
Date: Wed, 18 Apr 2018 10:26:07 -0700
Subject: [PATCH] #1029 - migrate requirements to setup.py, reference in
requirements.txt
---
requirements.txt | 7 +++----
setup.py | 11 ++++++-----
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/requirements.txt b/requirements.txt
index 14440314..cd8c47d3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,3 @@
-requests>=2.11.1
-requests_oauthlib>=0.7.0
-six>=1.10.0
-PySocks>=1.5.7
+--index-url https://pypi.python.org/simple/
+
+-e .
diff --git a/setup.py b/setup.py
index 18c59108..5688c2f5 100644
--- a/setup.py
+++ b/setup.py
@@ -2,7 +2,6 @@
#from distutils.core import setup
import re, uuid
from setuptools import setup, find_packages
-from pip.req import parse_requirements
VERSIONFILE = "tweepy/__init__.py"
ver_file = open(VERSIONFILE, "rt").read()
@@ -14,9 +13,6 @@
else:
raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,))
-install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
-reqs = [str(req.req) for req in install_reqs]
-
setup(name="tweepy",
version=version,
description="Twitter library for python",
@@ -25,7 +21,12 @@
author_email="tweepy@googlegroups.com",
url="http://github.com/tweepy/tweepy",
packages=find_packages(exclude=['tests']),
- install_requires=reqs,
+ install_requires=[
+ "requests>=2.11.1",
+ "requests_oauthlib>=0.7.0",
+ "six>=1.10.0",
+ "PySocks>=1.5.7",
+ ],
keywords="twitter library",
classifiers=[
'Development Status :: 4 - Beta',

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70f0c02b6249a3a7551328f731f1b90c822a780eb2fd15eaef4510a477c9f33c
size 426906