From dc2c24c02e2dc898b9323e5ba72916af0d6867c2 Mon Sep 17 00:00:00 2001 From: Maciej Mrozowski Date: Mon, 24 Jun 2013 00:18:31 +0200 Subject: [dev-util/kdevelop-python] Version bump 1.5.1, remove old. (python-r1 shouldn't be used here probably) --- .../kdevelop-python/kdevelop-python-1.5.1.ebuild | 58 ++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 dev-util/kdevelop-python/kdevelop-python-1.5.1.ebuild (limited to 'dev-util/kdevelop-python/kdevelop-python-1.5.1.ebuild') diff --git a/dev-util/kdevelop-python/kdevelop-python-1.5.1.ebuild b/dev-util/kdevelop-python/kdevelop-python-1.5.1.ebuild new file mode 100644 index 00000000000..57bc9981938 --- /dev/null +++ b/dev-util/kdevelop-python/kdevelop-python-1.5.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +KDEBASE="kdevelop" +KMNAME="kdev-python" +PYTHON_COMPAT=( python{2_7,3_1,3_2,3_3} ) + +if [[ $PV == *.9999* ]]; then + EGIT_BRANCH="${PV/\.9999/}" + KDEVPLATFORM_VERSION="${EGIT_BRANCH}" +fi + +inherit kde4-base python-r1 + +MY_PN="${KMNAME}" +MY_PV="v${PV}" +MY_P="${MY_PN}-${MY_PV}" + +if [[ $PV != *9999* ]]; then + if [[ $PV == *[6-9][0-9]* ]]; then + SRC_URI="mirror://kde/unstable/kdevelop/${MY_PN}/${PV}/src/${MY_P}.tar.bz2" + else + SRC_URI="mirror://kde/stable/kdevelop/${MY_PN}/${PV}/src/${MY_P}.tar.bz2" + fi + 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" + +DEPEND=" + ${PYTHON_DEPS} + >=dev-util/kdevelop-pg-qt-1.0.0 +" +RDEPEND=" + ${PYTHON_DEPS} + dev-util/kdevelop +" + +RESTRICT="test" + +src_compile() { + pushd "${WORKDIR}"/${P}_build + emake parser + popd + + kde4-base_src_compile +} -- cgit v1.2.3