diff options
Diffstat (limited to 'dev-util/kdevelop-python/kdevelop-python-1.5.2.ebuild')
-rw-r--r-- | dev-util/kdevelop-python/kdevelop-python-1.5.2.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/dev-util/kdevelop-python/kdevelop-python-1.5.2.ebuild b/dev-util/kdevelop-python/kdevelop-python-1.5.2.ebuild new file mode 100644 index 000000000000..f77c527d8d18 --- /dev/null +++ b/dev-util/kdevelop-python/kdevelop-python-1.5.2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/kdevelop-python/kdevelop-python-1.5.2.ebuild,v 1.1 2013/10/30 16:03:50 johu Exp $ + +EAPI=5 + +KDEBASE="kdevelop" +KMNAME="kdev-python" +KDE_LINGUAS="bs ca ca@valencia cs da de en_GB eo es et fi fr ga gl hu it ja lt +mai mr nds nl pl pt pt_BR ro ru sk sl sv th tr ug uk zh_CN zh_TW" +inherit kde4-base + +MY_PN="${KMNAME}" +MY_PV="v${PV}" +MY_P="${MY_PN}-${MY_PV}" + +if [[ $PV != *9999* ]]; then + SRC_URI="mirror://kde/stable/kdevelop/${MY_PN}/${PV}/src/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~x86" + S=${WORKDIR}/${MY_P} +else + EGIT_REPO_URI="git://anongit.kde.org/kdev-python.git" + KEYWORDS="" +fi + +DESCRIPTION="Python plugin for KDevelop 4" +HOMEPAGE="http://www.kdevelop.org" + +LICENSE="GPL-2" +IUSE="debug" + +COMMON_DEPEND=" + >=dev-util/kdevplatform-1.4.60 +" +DEPEND="${COMMON_DEPEND} + >=dev-util/kdevelop-pg-qt-1.0.0 +" +RDEPEND=" + ${COMMON_DEPEND} + dev-util/kdevelop +" + +RESTRICT="test" + +src_compile() { + pushd "${WORKDIR}"/${P}_build > /dev/null + emake parser + popd > /dev/null + + kde4-base_src_compile +} |