diff options
Diffstat (limited to 'dev-python/python-twitter')
-rw-r--r-- | dev-python/python-twitter/ChangeLog | 80 | ||||
-rw-r--r-- | dev-python/python-twitter/Manifest | 5 | ||||
-rw-r--r-- | dev-python/python-twitter/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/python-twitter/python-twitter-1.1.6.ebuild | 53 | ||||
-rw-r--r-- | dev-python/python-twitter/python-twitter-9999.ebuild | 62 |
5 files changed, 208 insertions, 0 deletions
diff --git a/dev-python/python-twitter/ChangeLog b/dev-python/python-twitter/ChangeLog new file mode 100644 index 0000000..ffe6444 --- /dev/null +++ b/dev-python/python-twitter/ChangeLog @@ -0,0 +1,80 @@ +# ChangeLog for dev-python/python-twitter +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-twitter/ChangeLog,v 1.14 2013/09/05 18:47:04 mgorny Exp $ + + 05 Sep 2013; Michał Górny <mgorny@gentoo.org> python-twitter-1.0.ebuild: + Clean up PYTHON_COMPAT from old implementations. + + 17 Jun 2013; Dirkjan Ochtman <djc@gentoo.org> -python-twitter-0.8.1.ebuild, + -python-twitter-0.8.2.ebuild: + Remove old files. + +*python-twitter-1.0 (17 Jun 2013) + + 17 Jun 2013; Dirkjan Ochtman <djc@gentoo.org> +python-twitter-1.0.ebuild, + python-twitter-0.8.5.ebuild: + Version bump python-twitter to 1.0, port to distutils-r1. + + 10 May 2013; Patrick Lauer <patrick@gentoo.org> python-twitter-0.8.1.ebuild, + python-twitter-0.8.2.ebuild, python-twitter-0.8.5.ebuild: + Whitespace + +*python-twitter-0.8.5 (22 Feb 2013) + + 22 Feb 2013; Patrick Lauer <patrick@gentoo.org> +python-twitter-0.8.5.ebuild: + Bump + +*python-twitter-0.8.2 (01 Mar 2012) + + 01 Mar 2012; Dirkjan Ochtman <djc@gentoo.org> +python-twitter-0.8.2.ebuild: + Version bump to 0.8.2. + + 24 Sep 2011; Fabian Groffen <grobian@gentoo.org> python-twitter-0.8.1.ebuild: + Marked ~x64-macos + + 06 May 2011; Dirkjan Ochtman <djc@gentoo.org> metadata.xml: + Remove myself as explicit maintainer. + +*python-twitter-0.8.1 (30 Apr 2011) + + 30 Apr 2011; Maxim Koltsov (maksbotan) <maksbotan@gentoo.org> + -python-twitter-0.6.ebuild, +python-twitter-0.8.1.ebuild: + dev-python/python-twitter version bump, #356815 + Removed dev-python/python-twitter as it's unusable now, commented out + testsuite in ebuild as not passable, drop ppc keyword 'cause mandatory + dependency oauth2 doesn't have it. + + 09 Dec 2009; nixnut <nixnut@gentoo.org> python-twitter-0.6.ebuild: + ppc stable #295223 + + 02 Dec 2009; Markus Meier <maekke@gentoo.org> python-twitter-0.6.ebuild: + amd64/x86 stable, bug #295223 + + 23 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-twitter-0.6.ebuild: + Set SUPPORT_PYTHON_ABIS. Add src_test(). Add "examples" USE flag. + + 30 Oct 2009; Mounir Lamouri <volkmar@gentoo.org> + python-twitter-0.6.ebuild: + Keywording for ppc. + +*python-twitter-0.6 (23 Oct 2009) + + 23 Oct 2009; Dirkjan Ochtman <djc@gentoo.org> +python-twitter-0.6.ebuild, + +metadata.xml: + Moved from sunrise to the Portage tree, added simplejson dependency. + + 14 Oct 2009; Tomas Touceda (chiiph) <chiiph@gmail.org> +Manifest: + dev-python/python-twitter: Fix missing Manifest + + 13 Oct 2009; Markos Chandras <hwoarang@gentoo.org> + python-twitter-0.6.ebuild: + Remove useless whitespace + + 13 Oct 2009; Markos Chandras <hwoarang@gentoo.org> + python-twitter-0.6.ebuild: + Use python_get_sitedir function + + 05 Oct 2009; Tomas Touceda (chiiph) <chiiph@gmail.org> + +python-twitter-0.6.ebuild, +metadata.xml: + New Ebuild for bug 287529. Thanks sunrise devs for their reviews diff --git a/dev-python/python-twitter/Manifest b/dev-python/python-twitter/Manifest new file mode 100644 index 0000000..0e204dc --- /dev/null +++ b/dev-python/python-twitter/Manifest @@ -0,0 +1,5 @@ +DIST python-twitter-1.1.6.tar.gz 193368 SHA256 f705e12398bd29198521a90c6c4c048ad3f8c565fe6fddd6672be089d642b892 SHA512 b873b1eeece6c043c5170404da6608afcb41da5ad5bc009eb41d1510087d40e449b29b03852a845ddad268fe5019a1ce694dd2d196f9086bc0a8e1b6e0043c6c WHIRLPOOL 3b0a73eb4fa0de8d4d080295fa683b1e8e2d5ba05ce8b935b49b6de12c67b6fb75fea39269234934372721ce993ef1ba02eddfc31223a8a3825e26db65c9443d +EBUILD python-twitter-1.1.6.ebuild 1218 SHA256 6b02eab4ff09f885a875fd8de37e7f765626163b47ffc91cb17d8e7fe2418682 SHA512 6889bbaaeb0b190cd0e2753f7e7237d252e9e7bbd55e92a4fc1e8369ad10b18c69607831fe7c24275470ae28e8716018c8dfad8ee91035411707261f05b93a84 WHIRLPOOL 6727c074ace39cc7af50dcc629c5864cad32cf7e327d2d2a511a2700fb36fbb3a5682cebb568fc9efdb250d61dbeb5a1dc1e6d97dbf89cca72693de21f94773e +EBUILD python-twitter-9999.ebuild 1522 SHA256 6832f8a6f9d8158031426e8145425a0dadcd1119d382d18d87b04cf8172e20f3 SHA512 c6321c0122eeed6f72dc7acd54d155eb605224f6a7abe8f9338b7768c64c4d6b4994d0521024de27b06d1e1d42a52cf173e1e2236076a0cd9efce6537af0b2b5 WHIRLPOOL 44af50312df9b32ad425486e22a311ef7f4b62e89d0a3137e4dbf940461c2dd620cdf44f0c276ba467a0f933ada7becf43417d0e21997a085ec58429d969393a +MISC ChangeLog 2893 SHA256 b6dbfe50291dc458867937256613987a8766befe741549f44c1cc0e560bf6703 SHA512 12d641b67ac1ed7d147ffc39f77783bf63831621e008c8dbc9ce7313bba4dcab8489ea8c6cd646ef96e9bc0403713e2492cc4cfb487af1a1165e1e72a4344539 WHIRLPOOL 896afc3d70847199b221ab54f9df58c462583093daceb0027d06ba9e47d3f97b094996593281a86ea66c1177f0d4dd4c36ce0f7d3b0b281c246fd53aaeba9564 +MISC metadata.xml 244 SHA256 1344874e7b9a262238ae4ae2cdc11e9c0e34724195c17dbed57652329d7780d9 SHA512 8f8ba6d3b6c64f695ded1be9f004ddc2f6e7f87804d2ed333511cedcd6b5fe6d9607c2b8afa6f24618645893e296f209dd399bd913831bf841055f50ae52b1d9 WHIRLPOOL 86f12ac167c020da5debae8f690b33e6f745b3269ba555a4f0a574466ddee37aadc9cce2a55f9d51e1ec503cc67ce737c0b93e81ca42cfbe105be933ecf53dfa diff --git a/dev-python/python-twitter/metadata.xml b/dev-python/python-twitter/metadata.xml new file mode 100644 index 0000000..b862d3a --- /dev/null +++ b/dev-python/python-twitter/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="google-code">python-twitter</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/python-twitter/python-twitter-1.1.6.ebuild b/dev-python/python-twitter/python-twitter-1.1.6.ebuild new file mode 100644 index 0000000..488f736 --- /dev/null +++ b/dev-python/python-twitter/python-twitter-1.1.6.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-twitter/python-twitter-1.0.ebuild,v 1.2 2013/09/05 18:47:04 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 + +DESCRIPTION="This library provides a pure python interface for the Twitter API" +HOMEPAGE="https://github.com/bear/python-twitter" +SRC_URI="https://github.com/bear/python-twitter/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" +IUSE="examples test" + +RDEPEND=" + virtual/python-argparse + >=dev-python/httplib2-0.7.7 + >=dev-python/simplejson-3.3.1 + >=dev-python/requests-1.2.3 + >=dev-python/requests-oauthlib-0.3.3 + >=dev-python/oauth2-1.5.211 + >=dev-python/oauthlib-0.6.0 + " +DEPEND="${RDEPEND} + dev-python/setuptools" + +DOCS="CHANGES README.md" +PYTHON_MODNAME="twitter.py" + +src_prepare() { + distutils_src_prepare + # Delete internal copy of simplejson. + rm -fr simplejson +} + +python_test() { + esetup.py test +} + +python_install_all() { + distutils_src_install + + dohtml doc/twitter.html + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} diff --git a/dev-python/python-twitter/python-twitter-9999.ebuild b/dev-python/python-twitter/python-twitter-9999.ebuild new file mode 100644 index 0000000..aec65da --- /dev/null +++ b/dev-python/python-twitter/python-twitter-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/python-twitter/python-twitter-1.0.ebuild,v 1.2 2013/09/05 18:47:04 mgorny Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} ) +EGIT_REPO_URI="git@github.com:bear/python-twitter.git" + +inherit distutils-r1 + +DESCRIPTION="This library provides a pure python interface for the Twitter API" +HOMEPAGE="https://github.com/bear/python-twitter.git" +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="git://github.com/bear/python-twitter.git" + inherit git-r3 +else + SRC_URI="https://github.com/bear/python-twitter/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" +IUSE="examples test" + +RDEPEND=" + virtual/python-argparse + >=dev-python/httplib2-0.7.7 + >=dev-python/simplejson-3.3.1 + >=dev-python/requests-1.2.3 + >=dev-python/requests-oauthlib-0.3.3 + >=dev-python/oauth2-1.5.211 + >=dev-python/oauthlib-0.6.0 + " +DEPEND="${RDEPEND} + dev-python/setuptools" + +DOCS="CHANGES README.md" +PYTHON_MODNAME="twitter.py" + +src_prepare() { + # Fix for Python 3, backwards compat to at least 2.5 + sed -i -e "s:print \(.*\):print(\1):g" "${S}"/setup.py || die + + distutils_src_prepare + # Delete internal copy of simplejson. + rm -fr simplejson +} + +python_test() { + esetup.py test +} + +python_install_all() { + distutils_src_install + + dohtml doc/twitter.html + + if use examples; then + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi +} |