svn commit: r365742 - head/devel/pymacs
Adam Weinberger
adamw at FreeBSD.org
Sat Aug 23 15:36:35 UTC 2014
Author: adamw
Date: Sat Aug 23 15:36:34 2014
New Revision: 365742
URL: http://svnweb.freebsd.org/changeset/ports/365742
QAT: https://qat.redports.org/buildarchive/r365742/
Log:
Stage. Distfile is unchanged, but is generated differently by using
USE_GITHUB.
PR: 192788
Submitted by: Ports Fury
Modified:
head/devel/pymacs/Makefile
head/devel/pymacs/distinfo
head/devel/pymacs/pkg-descr
Modified: head/devel/pymacs/Makefile
==============================================================================
--- head/devel/pymacs/Makefile Sat Aug 23 15:13:23 2014 (r365741)
+++ head/devel/pymacs/Makefile Sat Aug 23 15:36:34 2014 (r365742)
@@ -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 at FreeBSD.org
+MAINTAINER= ports at FreeBSD.org
COMMENT= Python package for scripting emacs
-USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-USE_PYTHON_PREFIX= 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>
Modified: head/devel/pymacs/distinfo
==============================================================================
--- head/devel/pymacs/distinfo Sat Aug 23 15:13:23 2014 (r365741)
+++ head/devel/pymacs/distinfo Sat Aug 23 15:36:34 2014 (r365742)
@@ -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
Modified: head/devel/pymacs/pkg-descr
==============================================================================
--- head/devel/pymacs/pkg-descr Sat Aug 23 15:13:23 2014 (r365741)
+++ head/devel/pymacs/pkg-descr Sat Aug 23 15:36:34 2014 (r365742)
@@ -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/
More information about the svn-ports-head
mailing list