mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
Pymacs is a powerful tool which, once started from Emacs, allows both-way
communication between Emacs Lisp and Python. Pymacs aims Python as an extension language for Emacs rather than the other way around, and this assymetry is reflected in some design choices. Within Emacs Lisp code, one may load and use Python modules. Python functions may themselves use Emacs services, and handle Emacs Lisp objects kept in Emacs Lisp space. PR: ports/85995 Submitted by: Mike Meyer <mwm@mired.org>
This commit is contained in:
parent
54a3c289d1
commit
6b1eb12fe4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=142504
@ -1388,6 +1388,7 @@
|
||||
SUBDIR += pychecker
|
||||
SUBDIR += pylint
|
||||
SUBDIR += pyobfuscate
|
||||
SUBDIR += pymacs
|
||||
SUBDIR += pyrex
|
||||
SUBDIR += pyumlgraph
|
||||
SUBDIR += qca
|
||||
|
33
devel/pymacs/Makefile
Normal file
33
devel/pymacs/Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
# New ports collection makefile for: pymacs
|
||||
# Date created: 23 July 2005
|
||||
# Whom: mwm@mired.org
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Pymacs
|
||||
PORTVERSION= 0.22
|
||||
CATEGORIES= devel editors python elisp
|
||||
MASTER_SITES= http://pymacs.progiciels-bpi.ca/archives/ \
|
||||
${MASTER_SITE_GENTOO}
|
||||
MASTER_SITE_SUBDIR= distfiles
|
||||
|
||||
MAINTAINER= mwm@mired.org
|
||||
COMMENT= A Python package for scripting emacs
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
USE_PYTHON_PREFIX= yes
|
||||
USE_EMACS= yes
|
||||
|
||||
.if !defined(EMACS_PORT_NAME)
|
||||
EMACS_PORT_NAME=xemacs21
|
||||
.endif
|
||||
|
||||
# Install the emacs side of things
|
||||
post-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/pymacs.el ${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||
${EMACS_NAME} -batch -f batch-byte-compile \
|
||||
${PREFIX}/${EMACS_SITE_LISPDIR}/pymacs.el
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/pymacs/distinfo
Normal file
2
devel/pymacs/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (Pymacs-0.22.tar.gz) = 73b7a641be100fd90a9be59ecf01fd98
|
||||
SIZE (Pymacs-0.22.tar.gz) = 363119
|
8
devel/pymacs/pkg-descr
Normal file
8
devel/pymacs/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
Pymacs is a powerful tool which, once started from Emacs, allows both-way
|
||||
communication between Emacs Lisp and Python. Pymacs aims Python as an
|
||||
extension language for Emacs rather than the other way around, and this
|
||||
assymetry is reflected in some design choices. Within Emacs Lisp code, one
|
||||
may load and use Python modules. Python functions may themselves use Emacs
|
||||
services, and handle Emacs Lisp objects kept in Emacs Lisp space.
|
||||
|
||||
WWW: http://pymacs.progiciels-bpi.ca/
|
9
devel/pymacs/pkg-message
Normal file
9
devel/pymacs/pkg-message
Normal file
@ -0,0 +1,9 @@
|
||||
Add the following to your emacs initialization file to enable pymacs:
|
||||
|
||||
(autoload 'pymacs-load "pymacs" nil t)
|
||||
(autoload 'pymacs-eval "pymacs" nil t)
|
||||
(autoload 'pymacs-apply "pymacs")
|
||||
(autoload 'pymacs-call "pymacs")
|
||||
|
||||
See http://pymacs.progiciels-bpi.ca/manual/index.html for
|
||||
documentation on using pymacs.
|
28
devel/pymacs/pkg-plist
Normal file
28
devel/pymacs/pkg-plist
Normal file
@ -0,0 +1,28 @@
|
||||
%%EMACS_SITE_LISPDIR%%/pymacs.el
|
||||
%%EMACS_SITE_LISPDIR%%/pymacs.elc
|
||||
bin/pymacs-services
|
||||
bin/rebox
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/pymacs.py
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/nncourriel.py
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/folder.py
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/nncourriel.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/folder.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/nncourriel.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/folder.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Nn/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/rebox.py
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/rebox.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/rebox.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/pymacs.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/pymacs.pyo
|
||||
%%PYTHON_SITELIBDIR%%/Pymacs/__init__.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/Pymacs/Nn
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/Pymacs/Rebox
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/Pymacs
|
Loading…
Reference in New Issue
Block a user