From mwm@mired.org  Sun Sep 11 23:42:01 2005
Return-Path: <mwm@mired.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 48B3D16A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 23:42:01 +0000 (GMT)
	(envelope-from mwm@mired.org)
Received: from delight.idiom.com (outbound.idiom.com [216.240.47.193])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 095C043D48
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 23:42:00 +0000 (GMT)
	(envelope-from mwm@mired.org)
Received: from idiom.com (idiom.com [216.240.32.1])
	by delight.idiom.com (Postfix) with ESMTP id AB5CC209144
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 16:42:00 -0700 (PDT)
Received: from mired.org (mwm@idiom [216.240.32.1])
	by idiom.com (8.12.11/8.12.11) with SMTP id j8BNftMQ041983
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 11 Sep 2005 16:41:56 -0700 (PDT)
	(envelope-from mwm@mired.org)
Received: (qmail 4942 invoked by uid 1001); 11 Sep 2005 23:42:20 -0000
Message-Id: <20050911234220.4941.qmail@mired.org>
Date: 11 Sep 2005 23:42:20 -0000
From: Mike Meyer <mwm@mired.org>
Reply-To: Mike Meyer <mwm@mired.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: devel/pymacs, lets you write emacs extensions in python
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         85995
>Category:       ports
>Synopsis:       New port: devel/pymacs, lets you write emacs extensions in python
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 11 23:50:07 GMT 2005
>Closed-Date:    Mon Sep 12 07:29:40 GMT 2005
>Last-Modified:  Mon Sep 12 07:29:40 GMT 2005
>Originator:     Mike Meyer
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
Meyer Consultign
>Environment:
System: FreeBSD bhuda.mired.org 5.4-STABLE FreeBSD 5.4-STABLE #9: Thu Aug 11 15:56:04 EDT 2005 mwm@bhuda.mired.org:/usr/src/sys/i386/compile/BHUDA i386

>Description:

You have to write emacs extensions in lisp. Unless you have pymacs
installed, anyway. Current versions of at least one other ports
software (devel/bicyclerepair) now depend on pymacs.

>How-To-Repeat:

Try writing them in something else! Or try installing the latest
version of the bicyclerepair software for use with emacs.

>Fix:

Commit the attached port.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pymacs
#	pymacs/pkg-plist
#	pymacs/pkg-message
#	pymacs/pkg-descr
#	pymacs/distinfo
#	pymacs/Makefile
#
echo c - pymacs
mkdir -p pymacs > /dev/null 2>&1
echo x - pymacs/pkg-plist
sed 's/^X//' >pymacs/pkg-plist << 'END-of-pymacs/pkg-plist'
X%%EMACS_SITE_LISPDIR%%/pymacs.el
X%%EMACS_SITE_LISPDIR%%/pymacs.elc
Xbin/pymacs-services
Xbin/rebox
X%%PYTHON_SITELIBDIR%%/Pymacs/pymacs.py
X%%PYTHON_SITELIBDIR%%/Pymacs/__init__.py
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/nncourriel.py
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/folder.py
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/__init__.py
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/nncourriel.pyc
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/folder.pyc
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/__init__.pyc
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/nncourriel.pyo
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/folder.pyo
X%%PYTHON_SITELIBDIR%%/Pymacs/Nn/__init__.pyo
X%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/__init__.py
X%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/rebox.py
X%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/__init__.pyc
X%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/rebox.pyc
X%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/__init__.pyo
X%%PYTHON_SITELIBDIR%%/Pymacs/Rebox/rebox.pyo
X%%PYTHON_SITELIBDIR%%/Pymacs/pymacs.pyc
X%%PYTHON_SITELIBDIR%%/Pymacs/__init__.pyc
X%%PYTHON_SITELIBDIR%%/Pymacs/pymacs.pyo
X%%PYTHON_SITELIBDIR%%/Pymacs/__init__.pyo
X@dirrm %%PYTHON_SITELIBDIR%%/Pymacs/Nn
X@dirrm %%PYTHON_SITELIBDIR%%/Pymacs/Rebox
X@dirrm %%PYTHON_SITELIBDIR%%/Pymacs
END-of-pymacs/pkg-plist
echo x - pymacs/pkg-message
sed 's/^X//' >pymacs/pkg-message << 'END-of-pymacs/pkg-message'
XAdd the following to your emacs initialization file to enable pymacs:
X
X(autoload 'pymacs-load "pymacs" nil t)
X(autoload 'pymacs-eval "pymacs" nil t)
X(autoload 'pymacs-apply "pymacs")
X(autoload 'pymacs-call "pymacs")
X
XSee http://pymacs.progiciels-bpi.ca/manual/index.html for
Xdocumentation on using pymacs.
END-of-pymacs/pkg-message
echo x - pymacs/pkg-descr
sed 's/^X//' >pymacs/pkg-descr << 'END-of-pymacs/pkg-descr'
XPymacs is a powerful tool which, once started from Emacs, allows both-way
Xcommunication between Emacs Lisp and Python.  Pymacs aims Python as an
Xextension language for Emacs rather than the other way around, and this
Xassymetry is reflected in some design choices.  Within Emacs Lisp code, one
Xmay load and use Python modules.  Python functions may themselves use Emacs
Xservices, and handle Emacs Lisp objects kept in Emacs Lisp space.
X
XWWW: http://pymacs.progiciels-bpi.ca/
END-of-pymacs/pkg-descr
echo x - pymacs/distinfo
sed 's/^X//' >pymacs/distinfo << 'END-of-pymacs/distinfo'
XMD5 (Pymacs-0.22.tar.gz) = 73b7a641be100fd90a9be59ecf01fd98
XSIZE (Pymacs-0.22.tar.gz) = 363119
END-of-pymacs/distinfo
echo x - pymacs/Makefile
sed 's/^X//' >pymacs/Makefile << 'END-of-pymacs/Makefile'
X# New ports collection makefile for: pymacs
X# Date created:		23 July 2005
X# Whom:			mwm@mired.org
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Pymacs
XPORTVERSION=	0.22
XCATEGORIES=	devel editors python elisp
XMASTER_SITES=	http://pymacs.progiciels-bpi.ca/archives/
X
XMAINTAINER=	mwm@mired.org
XCOMMENT=	A Python package for scripting emacs
X
XUSE_PYTHON=	yes
XUSE_PYDISTUTILS=yes
XUSE_PYTHON_PREFIX=yes
XUSE_EMACS=	yes
X
X.if !defined(EMACS_PORT_NAME)
XEMACS_PORT_NAME=xemacs21
X.endif
X
X# Install the emacs side of things
Xpost-install:
X	${INSTALL_SCRIPT} ${WRKSRC}/pymacs.el $(LOCALBASE)/${EMACS_SITE_LISPDIR}
X	${EMACS_NAME} -batch -f batch-byte-compile \
X		${LOCALBASE}/${EMACS_SITE_LISPDIR}/pymacs.el
X
X.include <bsd.port.mk>
END-of-pymacs/Makefile
exit





>Release-Note:
>Audit-Trail:

From: mwm@mired.org
To: bug-followup@FreeBSD.org, mwm@mired.org
Cc:  
Subject: Re: ports/85995: New port: devel/pymacs, lets you write emacs extensions in python
Date: 12 Sep 2005 07:09:53 -0000

 I should have mentioned this in the original posting, but did things
 in a bit of a hurry. My bad.
 
 There is a bug in the xemacs21 port (actually, in the emacs ports in
 general) that causes this port to fail to install if you set
 EMACS_PORT_NAME to xemacs21. You can work around this bug by setting
 EMACS_PORT_NAME to another emacs - or so I've been led to believe. I
 haven't tested any of them, for rather convoluted reasons.
 
 In retrospect, making that the default EMACS_PORT_NAME xemacs21
 probably wasn't such a good idea. It won't matter much - the only
 people liable to install this port should already have an emacs
 installed. If it's not xemacs21, they'll set EMACS_PORT_NAME
 appropriately, and everything should work. If it is xemacs21 - well,
 they can't install another emacs because they conflict. So they can't
 install the port in any case.
 
 Anyway, the bug in question is ports/37596. The person assigned to the
 bug - sem - has a fix for it. I have a copy of that patch, which is
 how I tested this port with xemacs21 installed. The patch is waiting
 on a full build cycle on pointyhat, which will happen after
 6.0-RELEASE.
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Mon Sep 12 07:29:31 GMT 2005 
State-Changed-Why:  
New port added, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=85995 
>Unformatted:
