commit f280aff105a4aea02f7fb42815f51349348d30a16c3ddf11645b054d5768f972 Author: Pascal Bleser Date: Wed Sep 15 19:02:49 2010 +0000 1.7.1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?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/joshthecoder-tweepy-1.7.1-0-gc454e06.tar.gz b/joshthecoder-tweepy-1.7.1-0-gc454e06.tar.gz new file mode 100644 index 0000000..b816893 --- /dev/null +++ b/joshthecoder-tweepy-1.7.1-0-gc454e06.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2f8037b9b007e053130cc2ceb564526d013e3539c515bd70476ad1391ea18a0 +size 41344 diff --git a/python-tweepy.changes b/python-tweepy.changes new file mode 100644 index 0000000..780c589 --- /dev/null +++ b/python-tweepy.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Sep 15 19:02:32 UTC 2010 - pascal.bleser@opensuse.org + +- initial version 1.7.1 + diff --git a/python-tweepy.spec b/python-tweepy.spec new file mode 100644 index 0000000..3b79009 --- /dev/null +++ b/python-tweepy.spec @@ -0,0 +1,80 @@ +# vim: set sw=4 ts=4 et nu: +# norootforbuild + +%{!?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))")} + +Name: python-tweepy +Version: 1.7.1 +%define pkg_version %{version}-0-gc454e06 +Release: 0 +Summary: Twitter Library for Python +Source: http://download.github.com/joshthecoder-tweepy-%{pkg_version}.tar.gz +URL: http://github.com/joshthecoder/tweepy +Group: Development/Libraries/Python +License: MIT License +BuildRoot: %{_tmppath}/build-%{name}-%{version} +BuildRequires: python python-devel +BuildRequires: python-setuptools +BuildRequires: gcc make glibc-devel pkgconfig +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif +%py_requires +BuildRequires: IPython +BuildRequires: python-mako +BuildRequires: python-simplejson +Requires: python-simplejson + +%description +Twitter library for Python, 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) + +%package -n tweepyshell +Summary: Twitter Command-Line Shell +Requires: %{name} = %{version} +Requires: IPython +Requires: python-mako + +%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 +%setup -q -n "joshthecoder-tweepy-c9a870b" + +%build +%__python ./setup.py build + +%install +%__python ./setup.py install \ + --prefix="%{_prefix}" \ + --root="%{buildroot}" \ + --record-rpm=files.lst + +%__install -D -m0755 tweepyshell "%{buildroot}%{_bindir}/tweepyshell" + +%clean +%{?buildroot:%__rm -rf "%{buildroot}"} + +%files -f files.lst +%defattr(-,root,root) +%doc CHANGELOG CONTRIBUTORS LICENSE README +%doc doc/*.rst + +%files -n tweepyshell +%defattr(-,root,root) +%{_bindir}/tweepyshell +