From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- dev-python/python-twitter/Manifest | 1 + dev-python/python-twitter/metadata.xml | 8 +++++ .../python-twitter/python-twitter-1.1.ebuild | 36 ++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-python/python-twitter/Manifest create mode 100644 dev-python/python-twitter/metadata.xml create mode 100644 dev-python/python-twitter/python-twitter-1.1.ebuild (limited to 'dev-python/python-twitter') diff --git a/dev-python/python-twitter/Manifest b/dev-python/python-twitter/Manifest new file mode 100644 index 0000000000000..374c858b49d5e --- /dev/null +++ b/dev-python/python-twitter/Manifest @@ -0,0 +1 @@ +DIST python-twitter-1.1.tar.gz 91795 SHA256 0fdc012894cda38735a48b55d4904d86b104515c1242c0c400ab350d62695c12 SHA512 e5600e1b01d72f000345d53abd08901636e888c05b397ded71918a06dde3d0f9e3e83f11cde6e2b5cdab106565c646494efb69eff78ad3daa69db65375e0ff26 WHIRLPOOL a8eb4c0decf54f8f849314f77eb618e70013f0503c40f023fe452fa6c9abdb9c2ea122a864657c0541eb8d86b853a7e92a7e02cd640e0a6d7fdabc5fc31ba11e diff --git a/dev-python/python-twitter/metadata.xml b/dev-python/python-twitter/metadata.xml new file mode 100644 index 0000000000000..b862d3a6e7ce2 --- /dev/null +++ b/dev-python/python-twitter/metadata.xml @@ -0,0 +1,8 @@ + + + + python + + python-twitter + + diff --git a/dev-python/python-twitter/python-twitter-1.1.ebuild b/dev-python/python-twitter/python-twitter-1.1.ebuild new file mode 100644 index 0000000000000..82c8d93deafb9 --- /dev/null +++ b/dev-python/python-twitter/python-twitter-1.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +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[${PYTHON_USEDEP}] + dev-python/simplejson[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/requests-oauthlib[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +# Testsuite in the source is not convincing in its completeness +RESTRICT="test" + +src_prepare() { + distutils-r1_src_prepare + # Delete internal copy of simplejson. + rm -fr simplejson || die +} + +# http://code.google.com/p/python-twitter/issues/detail?id=259&thanks=259&ts=1400334214 +python_test() { + esetup.py test +} -- cgit v1.2.3