kdevelop-python-1.7.2.ebuild 831 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. KDEBASE="kdevelop"
  5. KMNAME="kdev-python"
  6. KDE_LINGUAS="bs ca de en_GB es et fi fr it nl pl pt pt_BR sk sl sv tr uk"
  7. PYTHON_COMPAT=( python2_7 )
  8. EGIT_BRANCH="1.7"
  9. MY_P="${KMNAME}-${PV}"
  10. inherit kde4-base python-any-r1
  11. if [[ ${KDE_BUILD_TYPE} = release ]]; then
  12. SRC_URI="mirror://kde/stable/kdevelop/${KDEVELOP_VERSION}/src/${MY_P}.tar.xz"
  13. KEYWORDS="amd64 x86"
  14. S=${WORKDIR}/${MY_P}
  15. fi
  16. DESCRIPTION="Python plugin for KDevelop 4"
  17. IUSE="debug"
  18. DEPEND="
  19. ${PYTHON_DEPS}
  20. "
  21. RDEPEND="
  22. dev-util/kdevelop:4
  23. "
  24. RESTRICT="test"
  25. pkg_setup() {
  26. python-any-r1_pkg_setup
  27. kde4-base_pkg_setup
  28. }
  29. src_compile() {
  30. pushd "${WORKDIR}"/${P}_build > /dev/null || die
  31. emake parser
  32. popd > /dev/null || die
  33. kde4-base_src_compile
  34. }