From: Michał Górny Date: Tue, 22 Dec 2015 13:13:05 +0000 (+0100) Subject: app-portage/maintainer-helper: Convert to distutils-r1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=566113d9908cd23126d7d422cba4533bbffaaac6;p=gentoo.git app-portage/maintainer-helper: Convert to distutils-r1 --- 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 index 000000000000..ea049277e3d9 --- /dev/null +++ b/app-portage/maintainer-helper/maintainer-helper-0.1.2-r1.ebuild @@ -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; }