mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-30 16:57:29 -07:00
36 lines
889 B
Bash
36 lines
889 B
Bash
# Copyright 1999-2017 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit elisp-common python-single-r1
|
|
|
|
DESCRIPTION="Extended python debugger"
|
|
HOMEPAGE="http://bashdb.sourceforge.net/pydb/"
|
|
SRC_URI="mirror://sourceforge/bashdb/${P}.tar.bz2"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="emacs"
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
DEPEND="
|
|
${PYTHON_DEPS}
|
|
emacs? ( virtual/emacs )"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
# Fix pydb symlinks.
|
|
sed -e '/$(LN_S) "$(DESTDIR)$(pkgpythondir)\/$(python_debugger_script)" "$(DESTDIR)$(bindir)\/$(bin_SCRIPTS)"/s/$(DESTDIR)$(pkgpythondir)/$(pkgpythondir)/' -i Makefile.in
|
|
}
|
|
|
|
src_configure() {
|
|
econf --with-lispdir="${SITELISP}/${PN}" \
|
|
EMACS="$(usex emacs "${EMACS}" no)" \
|
|
--with-python="${PYTHON}"
|
|
# --with-site-packages=$(python_get_sitedir) \
|
|
}
|