summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-03-30 13:45:35 +0000
committerUlrich Müller <ulm@gentoo.org>2013-03-30 13:45:35 +0000
commit8c0127054dbe54cb8bd18ef5533113e08b2d16e4 (patch)
tree65b2b1db5f717cceeaabb651c1ad8f13a214f614 /app-emacs
parentsys-fs/aufs3: Version BUmp (diff)
downloadgentoo-2-8c0127054dbe54cb8bd18ef5533113e08b2d16e4.tar.gz
gentoo-2-8c0127054dbe54cb8bd18ef5533113e08b2d16e4.tar.bz2
gentoo-2-8c0127054dbe54cb8bd18ef5533113e08b2d16e4.zip
Further fixes from bug 457942 to work better with python eclasses.
(Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/pymacs/ChangeLog8
-rw-r--r--app-emacs/pymacs/pymacs-0.25-r1.ebuild (renamed from app-emacs/pymacs/pymacs-0.25.ebuild)25
2 files changed, 18 insertions, 15 deletions
diff --git a/app-emacs/pymacs/ChangeLog b/app-emacs/pymacs/ChangeLog
index 3b2608e5c08b..25e6b6fd76bd 100644
--- a/app-emacs/pymacs/ChangeLog
+++ b/app-emacs/pymacs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/pymacs
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/ChangeLog,v 1.56 2013/02/17 13:54:49 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/ChangeLog,v 1.57 2013/03/30 13:45:35 ulm Exp $
+
+*pymacs-0.25-r1 (16 Mar 2013)
+
+ 16 Mar 2013; Ulrich Müller <ulm@gentoo.org> -pymacs-0.25.ebuild,
+ +pymacs-0.25-r1.ebuild:
+ Further fixes from bug 457942 to work better with python eclasses.
*pymacs-0.25 (17 Feb 2013)
diff --git a/app-emacs/pymacs/pymacs-0.25.ebuild b/app-emacs/pymacs/pymacs-0.25-r1.ebuild
index 9843df3827c8..8ea15e0dc7ed 100644
--- a/app-emacs/pymacs/pymacs-0.25.ebuild
+++ b/app-emacs/pymacs/pymacs-0.25-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/pymacs-0.25.ebuild,v 1.1 2013/02/17 13:54:49 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/pymacs/pymacs-0.25-r1.ebuild,v 1.1 2013/03/30 13:45:35 ulm Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_5,2_6,2_7} )
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
-inherit distutils-r1 elisp vcs-snapshot
+inherit elisp distutils-r1 vcs-snapshot
DESCRIPTION="A tool that allows both-side communication beetween Python and Emacs Lisp"
HOMEPAGE="http://pymacs.progiciels-bpi.ca/"
@@ -20,27 +20,24 @@ DEPEND="doc? ( >=dev-python/docutils-0.7
virtual/latex-base )"
RDEPEND=""
+DISTUTILS_IN_SOURCE_BUILD=1
SITEFILE="50${PN}-gentoo.el"
-python_configure_all() {
+# called by distutils-r1 for every python implementation
+python_configure() {
# pre-process the files but don't run distutils
- emake PYSETUP=:
+ emake PYSETUP=: PYTHON=${EPYTHON}
}
-src_configure() {
- distutils-r1_src_configure
-}
-
-src_compile() {
- distutils-r1_src_compile
- elisp-compile pymacs.el || die
+# called once
+python_compile_all() {
+ elisp_src_compile
if use doc; then
VARTEXFONTS="${T}"/fonts emake RST2LATEX=rst2latex.py pymacs.pdf
fi
}
-src_install() {
- distutils-r1_src_install
+python_install_all() {
elisp_src_install
dodoc pymacs.rst
use doc && dodoc pymacs.pdf