commit 19e6173d71372116beb753df0a14ad93bfa6e05cfba3c3f538a3ba0ac87c7007 Author: Tomáš Chvátal Date: Wed Feb 28 09:29:08 2018 +0000 Accepting request 580871 from home:sebix:branches:devel:languages:python - Update to version 3.4. See changelog for all changes. - convert to singlespec - rename to python-python-twitter OBS-URL: https://build.opensuse.org/request/show/580871 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-twitter?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-python-twitter.changes b/python-python-twitter.changes new file mode 100644 index 0000000..e63e11f --- /dev/null +++ b/python-python-twitter.changes @@ -0,0 +1,69 @@ +------------------------------------------------------------------- +Tue Feb 27 18:51:48 UTC 2018 - sebix+novell.com@sebix.at + +- Update to version 3.4. See changelog for all changes. +- convert to singlespec +- rename to python-python-twitter + +------------------------------------------------------------------- +Fri Nov 15 23:21:00 UTC 2013 - p.drouand@gmail.com + +- Update to version 1.1.0 + + Remove from ParseTweet the Python 2.7 only dict comprehension item + + Fix GetListTimeline condition to enable owner_screen_name based fetching + + Many fixes for readability and PEP8 + + Cleaning up some of the package importing. Only importing the functions that are needed + + Also added first build of the sphinx documentation. Copied some info from the readme to the index page + + Added lines to setup.py to help the user troubleshoot install problems. #109 + + Removed the OAuth2 lines from the readme + + Removed OAuth2 library requirements + + Added GetListMembers() +- Changes from 1.0.1 + + added README bit about Python version requirement +- Changes from 1.0 + + removed doc directory until we can update docs for v1.1 API + + added to package MANIFEST.in the testdata directory +- Changes from 1.0rc1 + + The library is now only for Twitter API v1.1 +- Changes from 0.8.7 + + removed GetPublicTimeline from the docs so as to stop confusing + new folks since it was the first example given + +------------------------------------------------------------------- +Mon Feb 11 15:27:40 UTC 2013 - p.drouand@gmail.com + +- Update to 0.8.6 + * update requirements.txt to remove distribute reference + github commit 3b9214a879e5fbd03036a7d4ae86babc03784846 + * Merge pull request #33 from iElectric/profile_image_url_https + github commit 67cbb8390701c945a48094795474ca485f092049 + * Change User.NewFromJsonDict so that it will pull from either + profile_image_url_https or profile_image_url to keep older code + working properly if they have stored older json data +- Clean the specfile + +------------------------------------------------------------------- +Wed May 25 06:46:11 UTC 2011 - saschpe@suse.de + +- Update to version 0.8.2 + * Fixed issues 193, 181, 182, 137, 93, 190, 166, 187, 184, 185, 183 +- Corrected shebang line for *.py files to use the correct interpreter + +------------------------------------------------------------------- +Fri Apr 15 12:24:53 UTC 2011 - saschpe@suse.de + +- Update to version 0.8.1 +- Spec file cleanup: + - Added documentation + - Set to noarch + - Set license to APLv2 + +------------------------------------------------------------------- +Mon Sep 21 21:25:31 UTC 2009 - alexandre@exatati.com.br + +- Included require in the spec file. + +------------------------------------------------------------------- +Tue Aug 18 12:17:03 UTC 2009 - alexandre@exatati.com.br + +- Initial package (0.6) for openSUSE. diff --git a/python-python-twitter.spec b/python-python-twitter.spec new file mode 100644 index 0000000..9794e69 --- /dev/null +++ b/python-python-twitter.spec @@ -0,0 +1,73 @@ +# +# spec file for package python-python-twitter +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define oldpython python +Name: python-python-twitter +Version: 3.4 +Release: 0 +Summary: A Python wrapper around the Twitter API +License: Apache-2.0 +Group: Development/Languages/Python +Url: https://github.com/bear/python-twitter +Source: https://files.pythonhosted.org/packages/source/p/python-twitter/python-twitter-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module future} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module requests-oauthlib} +BuildRequires: %{python_module requests} +# /SECTION +BuildRequires: fdupes +Requires: python-future +Requires: python-requests +Requires: python-requests-oauthlib +%ifpython2 +Provides: %{oldpython}-twitter = %{version} +Obsoletes: %{oldpython}-twitter < %{version} +%endif +BuildArch: noarch + +%python_subpackages + +%description +This library provides a Python interface for the Twitter API . + +Twitter provides a service that allows people to connect via the web, IM, and SMS. Twitter exposes a web services API +which can be used using this library. + +%prep +%setup -q -n python-twitter-%{version} +sed -i '1s/#!//' twitter/*.py + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%files %{python_files} +%doc AUTHORS.rst CHANGES README.rst GAE.rst +%license LICENSE +%{python_sitelib}/* + +%changelog diff --git a/python-twitter-3.4.tar.gz b/python-twitter-3.4.tar.gz new file mode 100644 index 0000000..2c72828 --- /dev/null +++ b/python-twitter-3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f76dabb141606126a188b7147316d7184bea81a694f8df69a25b8a2071f5976 +size 82402