31 lines
915 B
Bash
31 lines
915 B
Bash
# Copyright 1999-2011 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-emacs/python-mode/python-mode-5.2.0.ebuild,v 1.3 2011/11/29 15:29:30 jer Exp $
|
|
|
|
EAPI=3
|
|
|
|
inherit elisp
|
|
|
|
DESCRIPTION="An Emacs major mode for editing Python source"
|
|
HOMEPAGE="https://launchpad.net/python-mode"
|
|
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tgz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
|
IUSE=""
|
|
|
|
S="${WORKDIR}/${PN}"
|
|
SITEFILE="50${PN}-gentoo.el"
|
|
DOCS="NEWS"
|
|
|
|
src_prepare() {
|
|
# doctest-mode has its own package,
|
|
# pycomplete is not yet ready for production.
|
|
rm doctest-mode.el pycomplete.el || die
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elisp-site-regen
|
|
elog "Note that doctest support is split out to app-emacs/doctest-mode."
|
|
}
|