diff options
author | 2012-03-01 09:38:50 +0000 | |
---|---|---|
committer | 2012-03-01 09:38:50 +0000 | |
commit | 0051ada2e4bef6c714e535039ed9699b8376a7e1 (patch) | |
tree | ee5757765ab088e1a21bf3694058566c37be90ad /dev-python/python-twitter/python-twitter-0.8.2.ebuild | |
parent | Version bump virtualenv to 1.7.1.2. (diff) | |
download | historical-0051ada2e4bef6c714e535039ed9699b8376a7e1.tar.gz historical-0051ada2e4bef6c714e535039ed9699b8376a7e1.tar.bz2 historical-0051ada2e4bef6c714e535039ed9699b8376a7e1.zip |
Version bump python-twitter to 0.8.2.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'dev-python/python-twitter/python-twitter-0.8.2.ebuild')
-rw-r--r-- | dev-python/python-twitter/python-twitter-0.8.2.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/python-twitter/python-twitter-0.8.2.ebuild b/dev-python/python-twitter/python-twitter-0.8.2.ebuild new file mode 100644 index 000000000000..2117bf18231d --- /dev/null +++ b/dev-python/python-twitter/python-twitter-0.8.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-twitter/python-twitter-0.8.2.ebuild,v 1.1 2012/03/01 09:38:50 djc Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +DESCRIPTION="This library provides a pure python interface for the Twitter API" +HOMEPAGE="http://code.google.com/p/python-twitter/" +SRC_URI="http://python-twitter.googlecode.com/files/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" +IUSE="examples" + +RDEPEND="dev-python/oauth2 + dev-python/simplejson" +DEPEND="${RDEPEND} + dev-python/setuptools" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="CHANGES README" +PYTHON_MODNAME="twitter.py" + +src_prepare() { + distutils_src_prepare + + # Delete internal copy of simplejson. + rm -fr simplejson +} + +#Test are disabled because they are broken. +#See http://code.google.com/p/python-twitter/issues/detail?id=196 for details. +#src_test() { +# testing() { +# PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" twitter_test.py +# } +# python_execute_function testing +#} + +src_install() { + distutils_src_install + + dohtml doc/twitter.html + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} |