Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 May 2002 04:35:38 +0900 (KST)
From:      Hye-Shik Chang <perky@fallin.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38357: Update port: devel/py-ro
Message-ID:  <200205201935.g4KJZcZH010038@akaraka.yonsei.ac.kr>

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

>Number:         38357
>Category:       ports
>Synopsis:       Update port: devel/py-ro
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 20 12:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hye-Shik Chang
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Yonsei University
>Environment:
System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Sun May 5 12:24:46 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386

>Description:
Update to 2.8

>How-To-Repeat:
>Fix:

diff -ruN py-ro.orig/Makefile py-ro/Makefile
--- py-ro.orig/Makefile	Sun May  5 03:01:56 2002
+++ py-ro/Makefile	Tue May 21 04:30:54 2002
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	ro
-PORTVERSION=	2.7
+PORTVERSION=	2.8
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	pyro
@@ -22,8 +22,8 @@
 DOCSDIR=	${PREFIX}/share/doc/py-ro
 EXAMPLESDIR=	${PREFIX}/share/examples/py-ro
 
-post-patch:
-	${PERL} -pi -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/setup.cfg
+post-extract:
+	@${FIND} ${WRKSRC}/examples -name '*.pyc' -exec ${RM} -f {} \;
 
 .if !defined(NOPORTDOCS)
 post-install:
diff -ruN py-ro.orig/distinfo py-ro/distinfo
--- py-ro.orig/distinfo	Sat May  4 21:50:26 2002
+++ py-ro/distinfo	Tue May 21 04:21:56 2002
@@ -1 +1 @@
-MD5 (Pyro-2.7.tar.gz) = fdcfcaa570d139db2359a6d3afe48135
+MD5 (Pyro-2.8.tar.gz) = fa9c24a57fd94c3e919b086358907c5b
diff -ruN py-ro.orig/files/patch-setup.py py-ro/files/patch-setup.py
--- py-ro.orig/files/patch-setup.py	Fri Mar 22 19:37:44 2002
+++ py-ro/files/patch-setup.py	Tue May 21 04:24:33 2002
@@ -1,20 +1,24 @@
---- setup.py.orig	Fri Mar 22 18:04:34 2002
-+++ setup.py	Fri Mar 22 18:11:18 2002
-@@ -36,16 +36,11 @@
- 	else:	
+--- setup.py.orig	Sat May 18 04:48:44 2002
++++ setup.py	Tue May 21 04:24:22 2002
+@@ -35,19 +35,13 @@
+ 		print 'This script will install Pyro on your system.'
  		# first, confirm the installation path of the scripts.
  		scripts=[]
 -		scr=raw_input('Do you want the Pyro scripts (in bin/) installed (y/n)? ')
 +		scr='y'
+ 		config='setup.cfg'
  		if scr.lower()=='y':
  			cp=ConfigParser()
- 			cp.read('setup.cfg')
- 			loc=cp.get('install','install-scripts')
+ 			cp.read(config)
+ 			#loc=cp.get('install','install-scripts')
 -			print 'Some Pyro scripts may conflict with system tools already on your system.'
 -			print 'Choose your script install directory carefully.'
--			scr=raw_input('Where do you want them to be installed ('+loc+')? ')
+-			print 'The default location is usually something like C:\\Python\\Scripts'
+-			print 'on Windows and /usr/local/bin on Unixes.'
+-			#scr=raw_input('Where do you want them to be installed ('+loc+')? ')
+-			scr=raw_input('Where do you want them to be installed (empty=default loc.)? ')
 -			if scr:
--				loc=scr
- 			cp.set('install','install-scripts',loc)
- 			cp.write(open('setup.cfg','w'))
- 		
++			if 0:
+ 				loc=scr
+ 				if not cp.has_section('install'):
+ 					cp.add_section('install')
diff -ruN py-ro.orig/pkg-plist py-ro/pkg-plist
--- py-ro.orig/pkg-plist	Sat May  4 22:13:55 2002
+++ py-ro/pkg-plist	Tue May 21 04:32:26 2002
@@ -87,8 +87,10 @@
 %%PORTDOCS%%share/examples/py-ro/agent2/serv/server.py
 %%PORTDOCS%%share/examples/py-ro/agent2/serv/shop.py
 %%PORTDOCS%%share/examples/py-ro/attributes/Readme.txt
+%%PORTDOCS%%share/examples/py-ro/attributes/attrs_proxy.py
 %%PORTDOCS%%share/examples/py-ro/attributes/client.py
 %%PORTDOCS%%share/examples/py-ro/attributes/server.py
+%%PORTDOCS%%share/examples/py-ro/attributes/t.py
 %%PORTDOCS%%share/examples/py-ro/autoreconnect/Readme.txt
 %%PORTDOCS%%share/examples/py-ro/autoreconnect/client.py
 %%PORTDOCS%%share/examples/py-ro/autoreconnect/server.py
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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