Bug 182563 - [patch] Update devel/pymacs to 0.25
Summary: [patch] Update devel/pymacs to 0.25
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Antoine Brodin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-02 06:50 UTC by maxclsb
Modified: 2013-12-14 22:22 UTC (History)
0 users

See Also:


Attachments
file.diff (3.78 KB, patch)
2013-10-02 06:50 UTC, maxclsb
no flags Details | Diff
pymacs.diff.txt (3.80 KB, text/plain; charset=US-ASCII)
2013-10-02 14:36 UTC, maxclsb
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description maxclsb 2013-10-02 06:50:00 UTC
Update devel/pymacs to version 0.25. According to the author of Pymacs, support for xemacs is broken.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-02 06:50:07 UTC
Maintainer of devel/pymacs,

Please note that PR ports/182563 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182563

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-10-02 06:50:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 mwm 2013-10-02 21:23:14 UTC
I approve of this patch.

If Max submits the next such patch, he should consider taking over
maintainership at that time.


On Wed, Oct 2, 2013 at 12:50 AM, Edwin Groothuis <edwin@freebsd.org> wrote:

> Maintainer of devel/pymacs,
>
> Please note that PR ports/182563 has just been submitted.
>
> If it contains a patch for an upgrade, an enhancement or a bug fix
> you agree on, reply to this email stating that you approve the patch
> and a committer will take care of it.
>
> The full text of the PR can be found at:
>     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/182563
>
> --
> Edwin Groothuis via the GNATS Auto Assign Tool
> edwin@FreeBSD.org
>
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2013-12-14 17:17:41 UTC
Responsible Changed
From-To: freebsd-ports-bugs->antoine

Take
Comment 5 dfilter service freebsd_committer freebsd_triage 2013-12-14 22:19:23 UTC
Author: antoine
Date: Sat Dec 14 22:19:14 2013
New Revision: 336491
URL: http://svnweb.freebsd.org/changeset/ports/336491

Log:
  - Update to 0.25
  - No stage support yet, .elc files embed the path of the .el file, not sure
    if it is stage safe or not
  
  PR:		ports/182563
  Submitted by:	Max Sterling
  Approved by:	maintainer

Modified:
  head/devel/pymacs/Makefile
  head/devel/pymacs/distinfo
  head/devel/pymacs/pkg-message
  head/devel/pymacs/pkg-plist

Modified: head/devel/pymacs/Makefile
==============================================================================
--- head/devel/pymacs/Makefile	Sat Dec 14 22:03:54 2013	(r336490)
+++ head/devel/pymacs/Makefile	Sat Dec 14 22:19:14 2013	(r336491)
@@ -2,12 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	Pymacs
-PORTVERSION=	0.22
-PORTREVISION=	6
+PORTVERSION=	0.25
 CATEGORIES=	devel editors python elisp
-MASTER_SITES=	http://pymacs.progiciels-bpi.ca/archives/ \
-		${MASTER_SITE_GENTOO}
-MASTER_SITE_SUBDIR=	distfiles
+MASTER_SITES=	http://github.com/pinard/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/
 
 MAINTAINER=	mwm@mired.org
 COMMENT=	A Python package for scripting emacs
@@ -16,21 +13,18 @@ USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
 USE_PYTHON_PREFIX=	yes
 USE_EMACS=	yes
-
-.if !defined(EMACS_PORT_NAME)
-EMACS_PORT_NAME=xemacs21
-.endif
+FETCH_ARGS=   -Fpr
 
 NO_STAGE=	yes
-post-patch:
-.for f in __init__.py pymacs.py
-	${REINPLACE_CMD} -e 's,# Copyright,# coding:latin1 Copyright,g' \
-		${WRKSRC}/Pymacs/$f
-.endfor
+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-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/pymacs.el ${PREFIX}/${EMACS_SITE_LISPDIR}
+	${INSTALL_DATA} ${WRKSRC}/pymacs.el ${PREFIX}/${EMACS_SITE_LISPDIR}
 	${EMACS_NAME} -batch -f batch-byte-compile \
 		${PREFIX}/${EMACS_SITE_LISPDIR}/pymacs.el
 

Modified: head/devel/pymacs/distinfo
==============================================================================
--- head/devel/pymacs/distinfo	Sat Dec 14 22:03:54 2013	(r336490)
+++ head/devel/pymacs/distinfo	Sat Dec 14 22:19:14 2013	(r336491)
@@ -1,2 +1,2 @@
-SHA256 (Pymacs-0.22.tar.gz) = 71b465f81366a4bea4a519781e1d9cb1ad067280e86f9b385d57b74c32bf7a75
-SIZE (Pymacs-0.22.tar.gz) = 363119
+SHA256 (Pymacs-0.25.tar.gz) = bcb1af7f55c5a4c050f41413e54d7d1f3c9bf8febebd99792f4aa45cd8f41c8f
+SIZE (Pymacs-0.25.tar.gz) = 120554

Modified: head/devel/pymacs/pkg-message
==============================================================================
--- head/devel/pymacs/pkg-message	Sat Dec 14 22:03:54 2013	(r336490)
+++ head/devel/pymacs/pkg-message	Sat Dec 14 22:19:14 2013	(r336491)
@@ -1,9 +1,11 @@
 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")
+(autoload 'pymacs-eval "pymacs" nil t)
+(autoload 'pymacs-exec "pymacs" nil t)
+(autoload 'pymacs-load "pymacs" nil t)
+(autoload 'pymacs-autoload "pymacs")
 
-See http://pymacs.progiciels-bpi.ca/manual/index.html for
+See http://pymacs.progiciels-bpi.ca/pymacs.html for
 documentation on using pymacs.

Modified: head/devel/pymacs/pkg-plist
==============================================================================
--- head/devel/pymacs/pkg-plist	Sat Dec 14 22:03:54 2013	(r336490)
+++ head/devel/pymacs/pkg-plist	Sat Dec 14 22:19:14 2013	(r336491)
@@ -1,28 +1,5 @@
+%%PYTHON_SITELIBDIR%%/Pymacs.py
+%%PYTHON_SITELIBDIR%%/Pymacs.pyc
+%%PYTHON_SITELIBDIR%%/Pymacs.pyo
 %%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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 6 Antoine Brodin freebsd_committer freebsd_triage 2013-12-14 22:21:57 UTC
State Changed
From-To: feedback->closed

Patch committed, thanks!