mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Stage. Distfile is unchanged, but is generated differently by using
USE_GITHUB. PR: 192788 Submitted by: Ports Fury
This commit is contained in:
parent
98e129acef
commit
ee0c0957ac
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365742
@ -4,27 +4,34 @@
|
||||
PORTNAME= Pymacs
|
||||
PORTVERSION= 0.25
|
||||
CATEGORIES= devel editors python elisp
|
||||
MASTER_SITES= http://github.com/pinard/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/
|
||||
MASTER_SITES= GH
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Python package for scripting emacs
|
||||
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=yes
|
||||
USE_PYTHON_PREFIX= yes
|
||||
USE_EMACS= yes
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= pinard
|
||||
GH_TAGNAME= ${PORTVERSION:S/^/v/}
|
||||
GH_COMMIT= 5989046
|
||||
|
||||
USES= python
|
||||
USE_EMACS= yes
|
||||
USE_PYTHON= distutils
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-configure:
|
||||
@(cd ${WRKSRC}; \
|
||||
${PYTHON_CMD} pppp -C ppppconfig.py Pymacs.py.in \
|
||||
pppp.rst.in pymacs.el.in pymacs.rst.in \
|
||||
contrib tests)
|
||||
|
||||
# Install the emacs side of things
|
||||
post-build:
|
||||
(cd ${WRKSRC} && ${EMACS_CMD} -batch -q -no-site-file -no-init-file \
|
||||
-f batch-byte-compile pymacs.el)
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/pymacs.el ${PREFIX}/${EMACS_SITE_LISPDIR}
|
||||
${EMACS_NAME} -batch -f batch-byte-compile \
|
||||
${PREFIX}/${EMACS_SITE_LISPDIR}/pymacs.el
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} pymacs.el pymacs.elc \
|
||||
${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (Pymacs-0.25.tar.gz) = bcb1af7f55c5a4c050f41413e54d7d1f3c9bf8febebd99792f4aa45cd8f41c8f
|
||||
SIZE (Pymacs-0.25.tar.gz) = 120554
|
||||
SHA256 (Pymacs-0.25.tar.gz) = 51dc21b33316e6e244e78e5e88d8ae9a88afc0dcef34ba702ea9be589839bec2
|
||||
SIZE (Pymacs-0.25.tar.gz) = 120597
|
||||
|
@ -1,8 +1,9 @@
|
||||
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
|
||||
asymmetry 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.
|
||||
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 asymmetry 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/
|
||||
|
Loading…
Reference in New Issue
Block a user