app-portage/maintainer-helper: Convert to distutils-r1
authorMichał Górny <mgorny@gentoo.org>
Tue, 22 Dec 2015 13:13:05 +0000 (14:13 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 22 Dec 2015 13:23:34 +0000 (14:23 +0100)
app-portage/maintainer-helper/maintainer-helper-0.1.2-r1.ebuild [new file with mode: 0644]

diff --git a/app-portage/maintainer-helper/maintainer-helper-0.1.2-r1.ebuild b/app-portage/maintainer-helper/maintainer-helper-0.1.2-r1.ebuild
new file mode 100644 (file)
index 0000000..ea04927
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="An application to help with ebuild maintenance"
+HOMEPAGE="https://dev.gentoo.org/~jokey/maintainer-helper"
+SRC_URI="https://dev.gentoo.org/~jokey/maintainer-helper/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-qt/qtgui:4
+       >=dev-python/PyQt4-4.2[X,${PYTHON_USEDEP}]
+       >=sys-apps/pkgcore-0.3.1[${PYTHON_USEDEP}]
+       >=dev-python/snakeoil-0.1_rc2[${PYTHON_USEDEP}]"
+
+python_postinst() {
+       elog "Currently gvim is hardcoded as editor, to change it, edit"
+       elog "$(python_get_sitedir)/maintainer_helper/backend/tasks.py"
+       elog "It will be a real setting in the next version"
+}
+
+pkg_postinst() { python_foreach_impl python_postinst; }