Commits

松井 鉄史 committed 2dc6c0a

app-emacs/python-mode: remove 9999

Comments (0)

Files changed (4)

app-emacs/python-mode/Manifest

-AUX 50python-mode-gentoo.el 483 RMD160 c4ed69e8c54d136cccc519cc1532c9264d476e46 SHA1 b44dea97686898f486fb6ccc99b6daef18bc203a SHA256 9959f3c731aa326f4f75fcbd0bb503633de8d16abf809bb0c4bdad6385f5b448
-EBUILD python-mode-9999.ebuild 1810 RMD160 81736878dff8a66681c8265feeb86bfd92d2df78 SHA1 36cb60b696e089ab6c2ea9310d2b8bd00e055d7a SHA256 4cdb88f80bfb12c25c198160da22028c37709b28a9de4a3b1b827bb1faaf1a78
-MISC metadata.xml 227 RMD160 3142e306aa930c78e9c24cc3d60a28b4c4807905 SHA1 bc60b1bbf4863e45e264ecae3b9add16ad7d31df SHA256 a967b9cca8bfc9b47d329d1a80be35b2f220315a4d8176c88b254d5ae7160396

app-emacs/python-mode/files/50python-mode-gentoo.el

-(add-to-list 'load-path "@SITELISP@")
-
-(autoload 'python-mode "python-mode" "Major mode for editing Python files." t)
-(autoload 'jython-mode "python-mode" "Major mode for editing Jython files." t)
-(autoload 'py-shell "python-mode"
-  "Start an interactive Python interpreter in another window." t)
-
-(add-to-list 'auto-mode-alist '("\\.py$" . python-mode))
-(add-to-list 'interpreter-mode-alist '("python" . python-mode))
-(add-to-list 'interpreter-mode-alist '("jython" . jython-mode))

app-emacs/python-mode/metadata.xml

-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>emacs</herd>
-<use>
-<flag name='complete'>Enable pycomplete feature.</flag>
-</use>
-</pkgmetadata>

app-emacs/python-mode/python-mode-9999.ebuild

-# 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-6.0.3-r1.ebuild,v 1.2 2011/12/03 23:47:54 ulm Exp $
-
-EAPI=4
-
-PYTHON_DEPEND="complete? *"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit elisp python
-
-DESCRIPTION="An Emacs major mode for editing Python source"
-HOMEPAGE="https://launchpad.net/python-mode"
-
-if [[ ${PV} = 9999 ]]; then
-	EBZR_REPO_URI="lp:${PN}"
-	inherit bzr
-	MY_P="${P}"
-	KEYWORDS=""
-else
-	MY_P="${PN}.el-${PV}"
-	SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${MY_P}.tar.gz"
-	DOCS="NEWS"
-	ELISP_PATCHES="${P}-obsolete-vars.patch"
-	KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-fi
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="complete"
-
-S="${WORKDIR}/${MY_P}"
-SITEFILE="50${PN}-gentoo.el"
-
-src_prepare() {
-	if use complete; then
-		python_copy_sources completion
-	fi
-}
-
-src_compile() {
-	elisp_src_compile
-
-	if use complete; then
-		elisp-compile completion/*.el || die
-	fi
-}
-
-src_install() {
-	elisp_src_install
-
-	if use complete; then
-		elisp-install ${PN} completion/*.el{,c} || die
-
-		install_pycomplete() {
-			insinto $(python_get_sitedir -f)
-			doins *.py* || die
-		}
-		python_execute_function -s --source-dir completion install_pycomplete
-	fi
-}
-
-pkg_postinst() {
-	elisp-site-regen
-	elog "Note that doctest support is split out to app-emacs/doctest-mode."
-
-	if use complete; then
-		python_mod_optimize pycomplete.py
-
-		einfo "pycomplete is installed but is not activated by default."
-		einfo "You may want to add to your .emacs:"
-		einfo "   (add-hook 'python-mode-hook"
-		einfo "             '(lambda () (require 'pycomplete)))"
-	fi
-}
-
-pkg_postrm() {
-	python_mod_cleanup pycomplete.py
-}