forked from pool/python-tweepy
Accepting request 72315 from home:saschpe:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/72315 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a2f8037b9b007e053130cc2ceb564526d013e3539c515bd70476ad1391ea18a0
|
|
||||||
size 41344
|
|
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 31 13:24:54 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Re-generated with py2pack
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 15 19:02:32 UTC 2010 - pascal.bleser@opensuse.org
|
Wed Sep 15 19:02:32 UTC 2010 - pascal.bleser@opensuse.org
|
||||||
|
|
||||||
|
@@ -1,81 +1,62 @@
|
|||||||
# vim: set sw=4 ts=4 et nu:
|
#
|
||||||
# norootforbuild
|
# spec file for package python-tweepy
|
||||||
|
#
|
||||||
|
# Copyright (c) 2011 SUSE LINUX Products 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_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
|
Name: python-tweepy
|
||||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
|
Version: 1.7.1
|
||||||
|
Release: 0
|
||||||
Name: python-tweepy
|
Url: http://github.com/joshthecoder/tweepy
|
||||||
Version: 1.7.1
|
Summary: Twitter library for python
|
||||||
%define pkg_version %{version}-0-gc454e06
|
License: MIT
|
||||||
Release: 0
|
Group: Development/Languages/Python
|
||||||
Summary: Twitter Library for Python
|
Source: tweepy-1.7.1.tar.gz
|
||||||
Source: http://download.github.com/joshthecoder-tweepy-%{pkg_version}.tar.gz
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
URL: http://github.com/joshthecoder/tweepy
|
BuildRequires: python-devel
|
||||||
Group: Development/Libraries/Python
|
BuildRequires: python-distribute
|
||||||
License: MIT License
|
BuildRequires: python-simplejson
|
||||||
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
Requires: python-simplejson
|
||||||
BuildRequires: python python-devel
|
%if 0%{?suse_version}
|
||||||
BuildRequires: python-setuptools
|
|
||||||
BuildRequires: gcc make glibc-devel pkgconfig
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
%py_requires
|
%py_requires
|
||||||
BuildRequires: IPython
|
%if 0%{?suse_version} > 1110
|
||||||
BuildRequires: python-mako
|
BuildArch: noarch
|
||||||
BuildRequires: python-simplejson
|
%endif
|
||||||
Requires: python-simplejson
|
%endif
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Twitter library for Python, also works with identi.ca/laconi.ca.
|
A library for accessing the Twitter.com API. Supports OAuth, covers the entire
|
||||||
|
API, and streaming API.
|
||||||
Features:
|
|
||||||
+ OAuth support (including xAuth)
|
|
||||||
+ Covers the entire Twitter API
|
|
||||||
+ Actively under development
|
|
||||||
+ Streaming API support
|
|
||||||
+ Cache system (memory, file)
|
|
||||||
|
|
||||||
%package -n tweepyshell
|
|
||||||
Summary: Twitter Command-Line Shell
|
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: IPython
|
|
||||||
Requires: python-mako
|
|
||||||
Group: Productivity/Networking/Instant Messenger
|
|
||||||
|
|
||||||
%description -n tweepyshell
|
|
||||||
Twitter shell, also works with identi.ca/laconi.ca.
|
|
||||||
|
|
||||||
Features:
|
|
||||||
+ OAuth support (including xAuth)
|
|
||||||
+ Covers the entire Twitter API
|
|
||||||
+ Actively under development
|
|
||||||
+ Streaming API support
|
|
||||||
+ Cache system (memory, file)
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "joshthecoder-tweepy-c9a870b"
|
%setup -q -n tweepy-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__python ./setup.py build
|
export CFLAGS="%{optflags}"
|
||||||
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%__python ./setup.py install \
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
--prefix="%{_prefix}" \
|
|
||||||
--root="%{buildroot}" \
|
|
||||||
--record-rpm=files.lst
|
|
||||||
|
|
||||||
%__install -D -m0755 tweepyshell "%{buildroot}%{_bindir}/tweepyshell"
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%files -f files.lst
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGELOG CONTRIBUTORS LICENSE README
|
%doc README
|
||||||
%doc doc/*.rst
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%files -n tweepyshell
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/tweepyshell
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
3
tweepy-1.7.1.tar.gz
Normal file
3
tweepy-1.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:39f0b39be41bf00c00e2dae3c1e621908c3fada7a93b6a5012c28a4db1928c86
|
||||||
|
size 19958
|
Reference in New Issue
Block a user