There are several new packages I'd like to see in Fink. rather than 
just complain about missing packages I'm willing to get in there and 
add them myself.

I thought I'd start off on something simple, so I've written a package 
for emacs python-mode. There's no source tarball, as the source comes 
with python. The script just depends on both emacs and python and makes 
it usable by installing it in /sw/etc/share/emacs/site-lisp

I've read the Packaing Manual, and put together the following info file 
in /sw/fink/10.2/unstable/main/finkinfo/editors

> Package: python-mode
> Version: 4.6.18.2
> Revision: 1
> Maintainer: Rohan Lloyd <[EMAIL PROTECTED]>
> Depends: emacsen, python (>= 2.2) | python-nox (>= 2.2), python (<< 
> 2.3) | python-nox (<< 2.3)
> Description: python edit mode for Emacs
> Type: nosource
> CompileScript: <<
> cp %p/lib/python2.2/Misc/python-mode.el .
> emacs -q -batch -f batch-byte-compile python-mode.el
> <<
> InstallScript: <<
> cp python-mode.el python-mode.elc %p/share/emacs/site-lisp
> <<
> DescUsage: <<
> To activate this, you should put this into your .emacs file:
>
> (setq auto-mode-alist
>       (cons '("\\.py$" . python-mode) auto-mode-alist))
> (setq interpreter-mode-alist
>       (cons '("python" . python-mode)
>             interpreter-mode-alist))
>
> (autoload 'python-mode "python-mode" "Python editing mode." t)
>
> ;;; add these lines if you like color-based syntax highlighting
> (global-font-lock-mode t)
> (setq font-lock-maximum-decoration t)
> <<
> Homepage: http://www.python.org/emacs/python-mode/

Does that look right? I tested it out with "fink install python-mode" 
and it seems to work fine.

So how do I get this into Fink?

Do I sign up as a core developer? How?

Do I submit it to the Package Submission Tracker?

Thanks

-- 
Rohan Lloyd



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to