mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-05-01 17:17:59 -07:00
45 lines
821 B
Bash
45 lines
821 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI=5
|
|
|
|
KDEBASE="kdevelop"
|
|
KMNAME="kdev-python"
|
|
KDE_LINGUAS="ca de en_GB es et fi fr it nl pl pt pt_BR sk sl sv tr uk"
|
|
PYTHON_COMPAT=( python2_7 )
|
|
EGIT_BRANCH="1.7"
|
|
MY_P="${KMNAME}-${PV}"
|
|
inherit kde4-base python-any-r1
|
|
|
|
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
|
SRC_URI="mirror://kde/stable/kdevelop/${KDEVELOP_VERSION}/src/${MY_P}.tar.xz"
|
|
KEYWORDS="amd64 x86"
|
|
S=${WORKDIR}/${MY_P}
|
|
fi
|
|
|
|
DESCRIPTION="Python plugin for KDevelop 4"
|
|
IUSE="debug"
|
|
|
|
DEPEND="
|
|
${PYTHON_DEPS}
|
|
"
|
|
RDEPEND="
|
|
dev-util/kdevelop:4
|
|
"
|
|
|
|
RESTRICT="test"
|
|
|
|
pkg_setup() {
|
|
python-any-r1_pkg_setup
|
|
kde4-base_pkg_setup
|
|
}
|
|
|
|
src_compile() {
|
|
pushd "${WORKDIR}"/${P}_build > /dev/null
|
|
emake parser
|
|
popd > /dev/null
|
|
|
|
kde4-base_src_compile
|
|
}
|