commit: 84a99911c684cb01a58908cd86ed30056e91a255
Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 1 18:46:53 2014 +0000
Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Mon Sep 1 18:46:53 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=84a99911
Initial commit of the pywikibot ebuild.
---
dev-python/pywikibot/pywikibot-9999.ebuild | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/dev-python/pywikibot/pywikibot-9999.ebuild
b/dev-python/pywikibot/pywikibot-9999.ebuild
new file mode 100644
index 0000000..28be39c
--- /dev/null
+++ b/dev-python/pywikibot/pywikibot-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3} )
+
+inherit distutils-r1 git-r3
+
+DESCRIPTION="Collection of tools that automate work on MediaWiki sites"
+HOMEPAGE="https://www.mediawiki.org/wiki/Manual:Pywikibot"
+EGIT_REPO_URI="https://gerrit.wikimedia.org/r/pywikibot/core.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-python/httplib2[${PYTHON_USEDEP}]"
+
+python_prepare_all() {
+ export PY3=true
+ # disable custom egg installing function
+ sed -i -e '/pwb_install$/d' setup.py || die
+ distutils-r1_python_prepare_all
+}