summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-02-18 21:24:56 +0100
committerMichał Górny <mgorny@gentoo.org>2017-02-18 21:25:30 +0100
commit9ef956e8fcc216173a9016cdb1a4591e6aa90d3b (patch)
tree824b83db2fe22fd697c3ebb69c8f76aad5884a2e /media-libs/pymemphis
parentx11-misc/screen-message: remove unused patch (diff)
downloadgentoo-9ef956e8fcc216173a9016cdb1a4591e6aa90d3b.tar.gz
gentoo-9ef956e8fcc216173a9016cdb1a4591e6aa90d3b.tar.bz2
gentoo-9ef956e8fcc216173a9016cdb1a4591e6aa90d3b.zip
media-libs/pymemphis: python-single-r1, EAPI=6
Diffstat (limited to 'media-libs/pymemphis')
-rw-r--r--media-libs/pymemphis/pymemphis-0.2.1-r1.ebuild (renamed from media-libs/pymemphis/pymemphis-0.2.1.ebuild)23
1 files changed, 9 insertions, 14 deletions
diff --git a/media-libs/pymemphis/pymemphis-0.2.1.ebuild b/media-libs/pymemphis/pymemphis-0.2.1-r1.ebuild
index 8b01018f722e..c26036a807e1 100644
--- a/media-libs/pymemphis/pymemphis-0.2.1.ebuild
+++ b/media-libs/pymemphis/pymemphis-0.2.1-r1.ebuild
@@ -1,17 +1,14 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="3"
+EAPI=6
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-PYTHON_EXPORT_PHASE_FUNCTIONS="1"
-RESTRICT_PYTHON_ABIS="3.* *-jython 2.7-pypy-*"
+PYTHON_COMPAT=( python2_7 )
AT_M4DIR="build/autotools/"
-inherit autotools python
+inherit autotools python-single-r1
DESCRIPTION="Python bindings for the libmemphis library"
HOMEPAGE="http://gitorious.net/pymemphis"
@@ -23,22 +20,20 @@ LICENSE="LGPL-2.1"
IUSE=""
RDEPEND="
- dev-python/pycairo
- dev-python/pygobject:2
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pygobject:2[${PYTHON_USEDEP}]
media-libs/memphis"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${PN}-mainline
src_prepare() {
+ default
eautoreconf
- echo "#!${EPREFIX}/bin/sh" > py-compile
sed 's:0.1:0.2:g' -i pymemphis.pc.in || die
- python_src_prepare
}
src_install() {
- python_src_install
- python_clean_installation_image
- dodoc AUTHORS ChangeLog README || die
+ default
+ find "${D}" -name '*.la' -delete || die
}