1 |
commit: 1869920ea6d1b3b415af43a1225fd68201bf4515 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 29 20:32:54 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 29 20:32:54 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1869920e |
7 |
|
8 |
dev-python/pydb: Migrate to python-single-r1 |
9 |
|
10 |
dev-python/pydb/pydb-1.26-r2.ebuild | 33 +++++++++++++++++++++++++++++++++ |
11 |
1 file changed, 33 insertions(+) |
12 |
|
13 |
diff --git a/dev-python/pydb/pydb-1.26-r2.ebuild b/dev-python/pydb/pydb-1.26-r2.ebuild |
14 |
new file mode 100644 |
15 |
index 0000000..0c3bd07 |
16 |
--- /dev/null |
17 |
+++ b/dev-python/pydb/pydb-1.26-r2.ebuild |
18 |
@@ -0,0 +1,33 @@ |
19 |
+# Copyright 1999-2015 Gentoo Foundation |
20 |
+# Distributed under the terms of the GNU General Public License v2 |
21 |
+# $Id$ |
22 |
+ |
23 |
+EAPI=5 |
24 |
+ |
25 |
+PYTHON_COMPAT=( python2_7 ) |
26 |
+ |
27 |
+inherit elisp-common python-single-r1 |
28 |
+ |
29 |
+DESCRIPTION="Extended python debugger" |
30 |
+HOMEPAGE="http://bashdb.sourceforge.net/pydb/" |
31 |
+SRC_URI="mirror://sourceforge/bashdb/${P}.tar.bz2" |
32 |
+LICENSE="GPL-3" |
33 |
+SLOT="0" |
34 |
+KEYWORDS="~amd64 ~x86" |
35 |
+IUSE="emacs" |
36 |
+ |
37 |
+DEPEND=" |
38 |
+ emacs? ( virtual/emacs )" |
39 |
+RDEPEND="${DEPEND}" |
40 |
+ |
41 |
+src_prepare() { |
42 |
+ # Fix pydb symlinks. |
43 |
+ sed -e '/$(LN_S) "$(DESTDIR)$(pkgpythondir)\/$(python_debugger_script)" "$(DESTDIR)$(bindir)\/$(bin_SCRIPTS)"/s/$(DESTDIR)$(pkgpythondir)/$(pkgpythondir)/' -i Makefile.in |
44 |
+} |
45 |
+ |
46 |
+src_configure() { |
47 |
+ econf --with-lispdir="${SITELISP}/${PN}" \ |
48 |
+ EMACS="$(usex emacs "${EMACS}" no)" \ |
49 |
+ --with-python="${PYTHON}" |
50 |
+# --with-site-packages=$(python_get_sitedir) \ |
51 |
+} |