Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Sep 2009 07:56:16 -0300 (BRT)
From:      Sylvio Cesar <scjamorim@bsd.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        scjamorim@bsd.com.br, miwi@FreeBSD.org
Subject:   ports/139249: [PATCH] shells/lshell: update to 0.9.6
Message-ID:  <20090930105616.833D434974A@fbsd9i386.scjamorim.org>
Resent-Message-ID: <200909301100.n8UB0B4S002835@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139249
>Category:       ports
>Synopsis:       [PATCH] shells/lshell: update to 0.9.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 30 11:00:11 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Sylvio Cesar
>Release:        FreeBSD 9.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD fbsd9i386.scjamorim.org 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r197551: Mon Sep 28 03:46:59 BRT
>Description:
- Update to 0.9.6
- Removed patch due of REINPLACE in the Makefile
- Added "for" to install docs
- Changed pkg-plist
- unnecessary have RUN and BUILD_DEPENDS due of "USE_PYTHON"

Removed file(s):
- files/patch-setup.py

You can see the log in my tinderbox:

AMD64
http://www.scjamorim.org/Home/lshell-0.9.6-6amd64.log
http://www.scjamorim.org/Home/lshell-0.9.6-7amd64.log

i386
http://www.scjamorim.org/Home/lshell-0.9.6-6i386.log
http://www.scjamorim.org/Home/lshell-0.9.6-7i386.log

Port maintainer (scjamorim@bsd.com.br) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- lshell-0.9.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/shells/lshell/Makefile,v
retrieving revision 1.2
diff -u -u -r1.2 Makefile
--- Makefile	10 Aug 2009 14:22:36 -0000	1.2
+++ Makefile	30 Sep 2009 10:49:34 -0000
@@ -6,17 +6,13 @@
 #
 
 PORTNAME=	lshell
-PORTVERSION=	0.9.5
-PORTREVISION=	1
+PORTVERSION=	0.9.6
 CATEGORIES=	shells
 MASTER_SITES=	SF
 
 MAINTAINER=	scjamorim@bsd.com.br
 COMMENT=	Shell environment to limited sets of commands to user's
 
-RUN_DEPENDS=	python:${PORTSDIR}/lang/python
-BUILD_DEPENDS=	${RUN_DEPENDS}
-
 USE_PYDISTUTILS=	yes
 USE_PYTHON=	yes
 
@@ -24,12 +20,17 @@
 
 MAN1=	lshell.1
 
+PORTDOCS=	CHANGES COPYING README
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g; \
+		s|share/man|${LOCALBASE}/man|g; 44d' ${WRKSRC}/setup.py
 post-install:
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}/
-	${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}/
+.for docs in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
+.endfor
 .endif
 	@${INSTALL_DATA} ${WRKSRC}/etc/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
 	@if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/shells/lshell/distinfo,v
retrieving revision 1.1
diff -u -u -r1.1 distinfo
--- distinfo	5 Aug 2009 13:09:59 -0000	1.1
+++ distinfo	30 Sep 2009 10:49:34 -0000
@@ -1,3 +1,3 @@
-MD5 (lshell-0.9.5.tar.gz) = 89f0a93725f762f31e3b0c5ac2599df2
-SHA256 (lshell-0.9.5.tar.gz) = 9261ceb5b076cdde576c946bc0b1dc8f1c6e8a23dca7629f61479f7c6d9f59da
-SIZE (lshell-0.9.5.tar.gz) = 30524
+MD5 (lshell-0.9.6.tar.gz) = 5084856f0172f180bee4dddc64c62209
+SHA256 (lshell-0.9.6.tar.gz) = f01f8868380574e3c9036079b009793a3dec627271076c49a5daed21cde1d397
+SIZE (lshell-0.9.6.tar.gz) = 31150
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/shells/lshell/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist	10 Aug 2009 14:22:36 -0000	1.1
+++ pkg-plist	30 Sep 2009 10:49:34 -0000
@@ -7,9 +7,5 @@
 %%PYTHON_SITELIBDIR%%/lshell.py
 %%PYTHON_SITELIBDIR%%/lshell.pyc
 %%PYTHON_SITELIBDIR%%/lshell.pyo
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
 @dirrmtry %%DATADIR%%
 @dirrmtry %%LOGDIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
Index: files/patch-setup.py
===================================================================
RCS file: files/patch-setup.py
diff -N files/patch-setup.py
--- files/patch-setup.py	5 Aug 2009 13:10:00 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
---- setup.py	2009-07-28 15:20:50.000000000 -0300
-+++ patch-setup.py	2009-08-05 08:41:06.000000000 -0300
-@@ -40,9 +40,8 @@
-         scripts = ['bin/lshell'],
-         package_dir = {'':'lshellmodule'},
-         packages = [''],
--        data_files = [('/etc', ['etc/lshell.conf']),
--            ('share/doc/lshell',['README', 'COPYING', 'CHANGES']),
--            ('share/man/man1/', ['man/lshell.1']) ],
-+        data_files = [('etc', ['etc/lshell.conf']),
-+            ('man/man1/', ['man/lshell.1']) ],
-         classifiers=[
-                 'Development Status :: 4 - Beta',
-                 'Environment :: Console'
--- lshell-0.9.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090930105616.833D434974A>