emacs, emacs-php-mode, emacs-python eklendi
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
#WorkDir = "python-mode.el-6.0.11"
|
||||
|
||||
def install():
|
||||
pisitools.insinto("/usr/share/emacs/site-lisp/python", "*.el", "python-mode.el")
|
||||
@@ -0,0 +1,18 @@
|
||||
;;; python-mode site-lisp configuration
|
||||
(add-to-list 'load-path "/usr/share/emacs/site-lisp/python/")
|
||||
|
||||
(autoload 'python-mode "python-mode" "Python editing mode." t)
|
||||
(autoload 'jython-mode "python-mode" "Python editing mode." t)
|
||||
(autoload 'py-shell "python-mode" "Start an interactive Python interpreter in another window." t)
|
||||
(autoload 'doctest-mode "doctest-mode" "Editing mode for Python Doctest examples." t)
|
||||
(autoload 'py-complete "pycomplete" "Complete a symbol at point using Pymacs." t)
|
||||
|
||||
(add-to-list 'auto-mode-alist '("\\.py$" . python-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.doctest$" . doctest-mode))
|
||||
|
||||
(add-to-list 'interpreter-mode-alist '("python" . python-mode))
|
||||
(add-to-list 'interpreter-mode-alist '("jython" . jython-mode))
|
||||
|
||||
;; Add menu
|
||||
(require 'easymenu)
|
||||
(easy-menu-add-item nil '("tools") ["PYTHON" python-mode t])
|
||||
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>emacs-python</Name>
|
||||
<Homepage>http://python-mode.sourceforge.net/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>Emacs major mode for editing Python source code</Summary>
|
||||
<Description>emacs-python makes a number of editing and debugging features available to Python programmers who use GNU Emacs or XEmacs.</Description>
|
||||
<Archive sha1sum="ebf4453c3a3847478386a0c034c8eab0e4103680" type="targz">https://launchpad.net/python-mode/trunk/6.2.1/+download/python-mode.el-6.2.1.tar.gz</Archive>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>emacs-python</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>pymacs</Dependency>
|
||||
<Dependency>emacs</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc/emacs</Path>
|
||||
<Path fileType="data">/usr/share/emacs</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/etc/emacs/site-lisp/80-python.el">80-python.el</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-12-05</Date>
|
||||
<Version>6.2.1</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Ilker Manap</Name>
|
||||
<Email>ilkermanap@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2014-05-24</Date>
|
||||
<Version>6.1.2</Version>
|
||||
<Comment>Release bump.</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-01-23</Date>
|
||||
<Version>6.1.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Stefan Gronewold(groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-01-09</Date>
|
||||
<Version>6.1.0</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>emacs-python</Name>
|
||||
<Summary xml:lang="tr">Python kaynak kodlarını düzenlemek için emacs kipi</Summary>
|
||||
<Description xml:lang="tr">Python programcıları için birçok kod düzenleme ve hata ayıklama özelliği sağlar.</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user