python-mode.el: mark obsolete, replaced by emacs

This commit is contained in:
Dan R. K. Ports
2026-05-18 08:48:39 -07:00
committed by Dan Ports
parent 8285f61337
commit d020ab4e11
+4 -43
View File
@@ -1,51 +1,12 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup obsolete 1.0
name python-mode.el
set my_name [lindex [split ${name} .] 0]
version 1.0
revision 1
categories lang python editors
license Permissive
platforms any
supported_archs noarch
maintainers nomaintainer
description python-mode is an X/Emacs major mode for editing Python source code
replaced_by emacs
long_description \
Python-mode makes a number of editing and debugging features available to Python \
programmers who use GNU Emacs or XEmacs. Included in its basic feature set are \
syntax coloring, indent/dedent/electric newline support, movement across major \
functional sections of code, code execution in inferior Python processes, \
class/function marking, integration with pdb, the Python debugger.
homepage https://launchpad.net/python-mode/
master_sites sourceforge:project/${my_name}/OldFiles
checksums md5 57fde95d350e010b5a00d98b8ce4a066 \
sha1 974a7714000238bd0423c5598d781c9987929b83 \
rmd160 6f2abe80b7eae9123da10a3c0f447f7792caedb6
distname ${my_name}-${version}
depends_lib port:emacs
use_configure no
build {
system "cd ${worksrcpath} && \
emacs --batch --eval \
'(progn (setq load-path (cons \".\" load-path)) \
(byte-compile-file \"doctest-mode.el\") \
(byte-compile-file \"pycomplete.el\") \
(byte-compile-file \"python-mode.el\"))'"
}
destroot {
xinstall -d ${destroot}${prefix}/share/emacs/site-lisp
xinstall -m 0644 {*}[glob -directory ${worksrcpath} *.el *.elc] \
${destroot}${prefix}/share/emacs/site-lisp
}
livecheck.url ${homepage}+download
livecheck.regex {trunk/(\d+(?:\.\d+)*)}
obsolete.note "Emacs has included python-mode built-in since version 24. Simply use M-x python-mode."