summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEttore Di Giacinto <mudler@gentoo.org>2016-11-09 16:18:11 +0100
committerEttore Di Giacinto <mudler@gentoo.org>2016-11-09 16:19:05 +0100
commita881ea37f6edc5c7840b8b69315e5fc26bcebed6 (patch)
tree6bcad71a0020a1d811940ee378f5c74708b351ef /dev-util
parentdev-util/molecule-core: revision bump (diff)
downloadgentoo-a881ea37f6edc5c7840b8b69315e5fc26bcebed6.tar.gz
gentoo-a881ea37f6edc5c7840b8b69315e5fc26bcebed6.tar.bz2
gentoo-a881ea37f6edc5c7840b8b69315e5fc26bcebed6.zip
dev-util/molecule-plugins: revision bump
* migrate to python-r1 eclass and EAPI=6 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=599308 Package-Manager: portage-2.3.1
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/molecule-plugins/molecule-plugins-1.0.2-r1.ebuild (renamed from dev-util/molecule-plugins/molecule-plugins-1.0.2.ebuild)19
1 files changed, 5 insertions, 14 deletions
diff --git a/dev-util/molecule-plugins/molecule-plugins-1.0.2.ebuild b/dev-util/molecule-plugins/molecule-plugins-1.0.2-r1.ebuild
index a68a9c387ae1..6dde2b7c17a1 100644
--- a/dev-util/molecule-plugins/molecule-plugins-1.0.2.ebuild
+++ b/dev-util/molecule-plugins/molecule-plugins-1.0.2-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
-PYTHON_DEPEND="*"
+EAPI="6"
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-inherit python
+inherit python-r1
DESCRIPTION="A set fo base plugins for Molecule"
HOMEPAGE="http://www.sabayon.org"
@@ -26,14 +26,5 @@ RDEPEND="${COMMON_DEPEND}
src_install() {
emake DESTDIR="${D}" LIBDIR="/usr/lib" \
- PREFIX="/usr" SYSCONFDIR="/etc" install \
- || die "emake install failed"
-}
-
-pkg_postinst() {
- python_mod_optimize "/usr/lib/molecule"
-}
-
-pkg_postrm() {
- python_mod_cleanup "/usr/lib/molecule"
+ PREFIX="/usr" SYSCONFDIR="/etc" install
}