Gentoo Archives: gentoo-commits

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/dev-zero:master commit in: dev-python/pywikibot/
Date: Tue, 02 Sep 2014 08:02:25
Message-Id: 1409597213.84a99911c684cb01a58908cd86ed30056e91a255.dev-zero@gentoo
1 commit: 84a99911c684cb01a58908cd86ed30056e91a255
2 Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 1 18:46:53 2014 +0000
4 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 1 18:46:53 2014 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=84a99911
7
8 Initial commit of the pywikibot ebuild.
9
10 ---
11 dev-python/pywikibot/pywikibot-9999.ebuild | 28 ++++++++++++++++++++++++++++
12 1 file changed, 28 insertions(+)
13
14 diff --git a/dev-python/pywikibot/pywikibot-9999.ebuild b/dev-python/pywikibot/pywikibot-9999.ebuild
15 new file mode 100644
16 index 0000000..28be39c
17 --- /dev/null
18 +++ b/dev-python/pywikibot/pywikibot-9999.ebuild
19 @@ -0,0 +1,28 @@
20 +# Copyright 1999-2014 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI=5
25 +
26 +PYTHON_COMPAT=( python{2_7,3_3} )
27 +
28 +inherit distutils-r1 git-r3
29 +
30 +DESCRIPTION="Collection of tools that automate work on MediaWiki sites"
31 +HOMEPAGE="https://www.mediawiki.org/wiki/Manual:Pywikibot"
32 +EGIT_REPO_URI="https://gerrit.wikimedia.org/r/pywikibot/core.git"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~amd64"
37 +IUSE=""
38 +
39 +DEPEND=""
40 +RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
41 +
42 +python_prepare_all() {
43 + export PY3=true
44 + # disable custom egg installing function
45 + sed -i -e '/pwb_install$/d' setup.py || die
46 + distutils-r1_python_prepare_all
47 +}