summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-12 22:37:13 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-12 22:37:13 +0000
commit11c8d6fb7bb871b1a157112d948c406a78f5fbe2 (patch)
tree8b0846adf59b1a661ddbaaef9ec20cfb6c84bc2c /dev-libs/libpreludedb
parentAdd prefix support, bump EAPI to 3, add prefix keywords (diff)
downloadgentoo-2-11c8d6fb7bb871b1a157112d948c406a78f5fbe2.tar.gz
gentoo-2-11c8d6fb7bb871b1a157112d948c406a78f5fbe2.tar.bz2
gentoo-2-11c8d6fb7bb871b1a157112d948c406a78f5fbe2.zip
Use new functionality of DISTUTILS_SETUP_FILES.
(Portage version: 2.2.0_alpha29_p17/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libpreludedb')
-rw-r--r--dev-libs/libpreludedb/libpreludedb-1.0.0-r1.ebuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/dev-libs/libpreludedb/libpreludedb-1.0.0-r1.ebuild b/dev-libs/libpreludedb/libpreludedb-1.0.0-r1.ebuild
index 8074bc76fc30..d4600e540bae 100644
--- a/dev-libs/libpreludedb/libpreludedb-1.0.0-r1.ebuild
+++ b/dev-libs/libpreludedb/libpreludedb-1.0.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/libpreludedb-1.0.0-r1.ebuild,v 1.5 2011/03/31 01:44:16 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpreludedb/libpreludedb-1.0.0-r1.ebuild,v 1.6 2011/04/12 22:37:13 arfrever Exp $
EAPI="3"
GENTOO_DEPEND_ON_PERL="no"
@@ -27,6 +27,7 @@ RDEPEND=">=dev-libs/libprelude-0.9.9
DEPEND="${RDEPEND}
doc? ( dev-util/gtk-doc )"
+DISTUTILS_SETUP_FILES=("bindings/python|setup.py")
PYTHON_MODNAME="preludedb.py"
pkg_setup() {
@@ -66,9 +67,7 @@ src_compile() {
default
if use python; then
- pushd bindings/python > /dev/null
distutils_src_compile
- popd > /dev/null
fi
}
@@ -81,9 +80,7 @@ src_install() {
fi
if use python; then
- pushd bindings/python > /dev/null
distutils_src_install
- popd > /dev/null
fi
}