summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2008-04-13 22:12:56 +0000
committerwiz <wiz>2008-04-13 22:12:56 +0000
commit100dacb531ebf9136cc7ed3c8a455c32da7173c6 (patch)
tree2ebd1057d4e73901f1c55b29ef67e9f79291cd38 /devel
parente0492f43d481a91d9f5e7c0939800b875623366c (diff)
downloadpkgsrc-100dacb531ebf9136cc7ed3c8a455c32da7173c6.tar.gz
Update to latest version, 1.0. Release notes:
It's been a long time. Time for a release...
Diffstat (limited to 'devel')
-rw-r--r--devel/python-mode/MESSAGE7
-rw-r--r--devel/python-mode/Makefile31
-rw-r--r--devel/python-mode/distinfo8
3 files changed, 26 insertions, 20 deletions
diff --git a/devel/python-mode/MESSAGE b/devel/python-mode/MESSAGE
index 66e41d2b163..871d6e96d44 100644
--- a/devel/python-mode/MESSAGE
+++ b/devel/python-mode/MESSAGE
@@ -1,9 +1,12 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2002/10/25 20:02:39 cjep Exp $
+$NetBSD: MESSAGE,v 1.2 2008/04/13 22:12:56 wiz Exp $
You will need to customize your .emacs.el (or default.el) file to
autoload Python mode for Emacs. For example:
-(autoload 'python-mode "python-mode" "Mode for editing Python scripts" t)
+(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)
===========================================================================
diff --git a/devel/python-mode/Makefile b/devel/python-mode/Makefile
index 323a62bb05a..f4c0a5ae0b0 100644
--- a/devel/python-mode/Makefile
+++ b/devel/python-mode/Makefile
@@ -1,12 +1,10 @@
-# $NetBSD: Makefile,v 1.19 2008/03/03 17:45:37 jlam Exp $
+# $NetBSD: Makefile,v 1.20 2008/04/13 22:12:56 wiz Exp $
#
-DISTNAME= python-mode-4.54
+DISTNAME= python-mode-1.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=python-mode/}
-DISTFILES= python-mode.el
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/python-mode/
@@ -14,26 +12,31 @@ COMMENT= Emacs mode for editing python files
PKG_DESTDIR_SUPPORT= user-destdir
+ELISP_FILES= python-mode.el
+# Could be installed as well, but what about pycomplete.py?
+#ELISP_FILES+= doctest-mode.el pycomplete.el
+
# Note that XEmacs >=21.4.4 includes a python-mode in the prog-modes
# package. Also, python-mode does not appear to work as is with XEmacs 21.1
EMACS_VERSIONS_ACCEPTED= emacs22 emacs22nox emacs21 emacs21nox emacs20
-WRKSRC= ${WRKDIR}
-DIST_SUBDIR= python-mode-20041204
-
.include "../../mk/emacs.mk"
INSTALLATION_DIRS= ${EMACS_LISPPREFIX:S/^${PREFIX}\///}
-do-extract:
- ${CP} ${DISTDIR}/${DIST_SUBDIR}/python-mode.el ${WRKDIR}
-
do-build:
- ${EMACS_BIN} --no-init-file -batch \
- -f batch-byte-compile ${WRKDIR}/python-mode.el
+ for file in ${ELISP_FILES}; do \
+ ${EMACS_BIN} --no-init-file -batch \
+ -f batch-byte-compile ${WRKSRC}/$${file}; \
+ done
do-install:
- ${INSTALL_DATA} ${WRKDIR}/python-mode.el ${DESTDIR}${EMACS_LISPPREFIX}
- ${INSTALL_DATA} ${WRKDIR}/python-mode.elc ${DESTDIR}${EMACS_LISPPREFIX}
+ for file in ${ELISP_FILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$${file} \
+ ${DESTDIR}${EMACS_LISPPREFIX}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${file}c \
+ ${DESTDIR}${EMACS_LISPPREFIX}; \
+ done
+# ${INSTALL_DATA} ${WRKSRC}/pycomplete.py ${DESTDIR}${EMACS_LISPPREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/python-mode/distinfo b/devel/python-mode/distinfo
index 2d631fceecd..26a71d25ad9 100644
--- a/devel/python-mode/distinfo
+++ b/devel/python-mode/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:32 agc Exp $
+$NetBSD: distinfo,v 1.4 2008/04/13 22:12:56 wiz Exp $
-SHA1 (python-mode-20041204/python-mode.el) = 4de9980a1486e12d2532e92b1d289547f85c8c1e
-RMD160 (python-mode-20041204/python-mode.el) = a5e5789a4bdbb95e9f75d59768d52117e0df5f7e
-Size (python-mode-20041204/python-mode.el) = 143778 bytes
+SHA1 (python-mode-1.0.tar.gz) = 974a7714000238bd0423c5598d781c9987929b83
+RMD160 (python-mode-1.0.tar.gz) = 6f2abe80b7eae9123da10a3c0f447f7792caedb6
+Size (python-mode-1.0.tar.gz) = 54295 bytes