From danny@ricin.com  Tue Sep 28 22:19:08 2004
Return-Path: <danny@ricin.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B94A016A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Sep 2004 22:19:08 +0000 (GMT)
Received: from smtpq3.home.nl (smtpq3.home.nl [213.51.128.198])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4F03B43D41
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 28 Sep 2004 22:19:08 +0000 (GMT)
	(envelope-from danny@ricin.com)
Received: from [213.51.128.133] (port=33543 helo=smtp2.home.nl)
	by smtpq3.home.nl with esmtp (Exim 4.30)
	id 1CCQJP-0001zr-Fx; Wed, 29 Sep 2004 00:19:07 +0200
Received: from cp464173-a.dbsch1.nb.home.nl ([217.122.43.97]:49184)
	by smtp2.home.nl with smtp (Exim 4.30)
	id 1CCQJN-0005Yp-If; Wed, 29 Sep 2004 00:19:05 +0200
Received: by cp464173-a.dbsch1.nb.home.nl (sSMTP sendmail emulation); Wed, 29 Sep 2004 00:17:01 +0200
Message-Id: <20040928221908.4F03B43D41@mx1.FreeBSD.org>
Date: Wed, 29 Sep 2004 00:17:01 +0200
From: danny@ricin.com
Reply-To: danny@ricin.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: eugos@gmx.net
Subject: [patch] Update devel/py-sip to 4.1.1 and fix unfetchable
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         72153
>Category:       ports
>Synopsis:       [patch] Update devel/py-sip to 4.1.1 and fix unfetchable
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 28 22:20:23 GMT 2004
>Closed-Date:    Sun Nov 07 11:21:37 GMT 2004
>Last-Modified:  Sun Nov 07 11:21:37 GMT 2004
>Originator:     Danny Pansters
>Release:        FreeBSD 5.3-BETA4 i386
>Organization:
>Environment:
System: FreeBSD workstation.homenet 5.3-BETA4 FreeBSD 5.3-BETA4 #2: Fri Sep 17 04:04:10 CEST 2004 root@workstation.homenet:/usr/obj/usr/src/sys/WORKSTATION i386


	
>Description:
	Update to new 4.1.1 version. The former 4.0.1 is not fetchable from
master site anymore. Maintainer cc'd.
>How-To-Repeat:
	
>Fix:
	Patch to be applied from within /usr/ports or a local ports tree
	

--- py-sip.diff begins here ---
diff -urN devel/py-sip/Makefile devel/py-sip.new/Makefile
--- devel/py-sip/Makefile	Tue Sep 28 20:08:38 2004
+++ devel/py-sip.new/Makefile	Tue Sep 28 20:07:52 2004
@@ -5,7 +5,7 @@
 # $FreeBSD: ports/devel/py-sip/Makefile,v 1.11 2004/07/08 20:04:32 krion Exp $
 
 PORTNAME=	sip
-PORTVERSION=	4.0.1
+PORTVERSION=	4.1.1
 CATEGORIES=	devel python
 MASTER_SITES=	http://www.river-bank.demon.co.uk/download/sip/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,10 +18,15 @@
 USE_PYTHON=	yes
 USE_QT_VER=	3
 
+.include <bsd.port.pre.mk>
+
 do-configure:
 	@(cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} \
 		QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
 		${PYTHON_CMD} configure.py -b ${PREFIX}/bin \
 		-d ${PYTHONPREFIX_SITELIBDIR} -v ${PREFIX}/share/sip)
 
-.include <bsd.port.mk>
+post-install:
+	@${PYTHON_CMD} -O -c "import sipconfig"
+
+.include <bsd.port.post.mk>
diff -urN devel/py-sip/distinfo devel/py-sip.new/distinfo
--- devel/py-sip/distinfo	Tue Sep 28 20:08:38 2004
+++ devel/py-sip.new/distinfo	Tue Sep 28 11:56:32 2004
@@ -1,2 +1,2 @@
-MD5 (sip-4.0.1.tar.gz) = a2aa4ef53cb4f18e7ce25bc2e123548e
-SIZE (sip-4.0.1.tar.gz) = 289533
+MD5 (sip-4.1.1.tar.gz) = f9dc81a7726305af114fede6c4107ce6
+SIZE (sip-4.1.1.tar.gz) = 296512
diff -urN devel/py-sip/pkg-plist devel/py-sip.new/pkg-plist
--- devel/py-sip/pkg-plist	Tue Sep 28 20:08:38 2004
+++ devel/py-sip.new/pkg-plist	Tue Sep 28 19:24:18 2004
@@ -3,3 +3,4 @@
 %%PYTHON_SITELIBDIR%%/sip.so
 %%PYTHON_SITELIBDIR%%/sipconfig.py
 %%PYTHON_SITELIBDIR%%/sipconfig.pyc
+%%PYTHON_SITELIBDIR%%/sipconfig.pyo
--- py-sip.diff ends here ---


>Release-Note:
>Audit-Trail:

From: Eugene Ossintsev <eugos@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org, danny@ricin.com
Cc:  
Subject: Re: ports/72153: [patch] Update devel/py-sip to 4.1.1 and fix unfetchable
Date: Wed, 29 Sep 2004 01:23:00 +0200

 Hello,
 
 It's tested and looks nice. But I think, instead of
 
 post-install:
 	@${PYTHON_CMD} -O -c "import sipconfig"
 
 you have decided to add to Makefile (that is certainly a good idea), it 
 would be better to add
 
 post-install:
 	@${PYTHON_CMD} -c "import sipconfig"
 	@${PYTHON_CMD} -O -c "import sipconfig"
 
 to generate both .pyc and .pyo AND then delete files/patch-aa as it will 
 be no longer necessary to have it after that.
 
 -- 
 Eugene Ossintsev

From: Danny Pansters <danny@ricin.com>
To: freebsd-gnats-submit@freebsd.org, danny@ricin.com
Cc:  
Subject: Re: ports/72153: [patch] Update devel/py-sip to 4.1.1 and fix unfetchable
Date: Wed, 29 Sep 2004 01:43:20 +0200

 Replacing patch as suggested by maintainer (I agree):
 
 [ the change is to also compile sipconfig.pyc in the post-install stage which 
 enables to delete all of files/]
 
 diff -ruN devel/py-sip/Makefile devel/py-sip.new/Makefile
 --- devel/py-sip/Makefile       Wed Sep 29 01:35:27 2004
 +++ devel/py-sip.new/Makefile   Wed Sep 29 01:31:58 2004
 @@ -5,7 +5,7 @@
  # $FreeBSD: ports/devel/py-sip/Makefile,v 1.11 2004/07/08 20:04:32 krion Exp 
 $
 
  PORTNAME=      sip
 -PORTVERSION=   4.0.1
 +PORTVERSION=   4.1.1
  CATEGORIES=    devel python
  MASTER_SITES=  http://www.river-bank.demon.co.uk/download/sip/
  PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
 @@ -18,10 +18,16 @@
  USE_PYTHON=    yes
  USE_QT_VER=    3
 
 +.include <bsd.port.pre.mk>
 +
  do-configure:
         @(cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} \
                 QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
                 ${PYTHON_CMD} configure.py -b ${PREFIX}/bin \
                 -d ${PYTHONPREFIX_SITELIBDIR} -v ${PREFIX}/share/sip)
 
 -.include <bsd.port.mk>
 +post-install:
 +       @${PYTHON_CMD} -c "import sipconfig"
 +       @${PYTHON_CMD} -O -c "import sipconfig"
 +
 +.include <bsd.port.post.mk>
 diff -ruN devel/py-sip/distinfo devel/py-sip.new/distinfo
 --- devel/py-sip/distinfo       Wed Sep 29 01:35:27 2004
 +++ devel/py-sip.new/distinfo   Tue Sep 28 11:56:32 2004
 @@ -1,2 +1,2 @@
 -MD5 (sip-4.0.1.tar.gz) = a2aa4ef53cb4f18e7ce25bc2e123548e
 -SIZE (sip-4.0.1.tar.gz) = 289533
 +MD5 (sip-4.1.1.tar.gz) = f9dc81a7726305af114fede6c4107ce6
 +SIZE (sip-4.1.1.tar.gz) = 296512
 diff -ruN devel/py-sip/files/patch-aa devel/py-sip.new/files/patch-aa
 --- devel/py-sip/files/patch-aa Wed Sep 29 01:35:27 2004
 +++ devel/py-sip.new/files/patch-aa     Thu Jan  1 01:00:00 1970
 @@ -1,11 +0,0 @@
 ---- configure.py.orig  Sat Jul  3 00:17:35 2004
 -+++ configure.py       Sat Jul  3 00:18:18 2004
 -@@ -688,7 +688,7 @@
 -     sipconfig.ParentMakefile(
 -         configuration=cfg,
 -         subdirs=["sipgen", "siplib"],
 --        installs=("sipconfig.py", cfg.sip_mod_dir)
 -+        installs=(["sipconfig.py", "sipconfig.pyc"], cfg.sip_mod_dir)
 -     ).generate()
 -
 -     sipconfig.inform("Creating sip code generator Makefile...")
 diff -ruN devel/py-sip/pkg-plist devel/py-sip.new/pkg-plist
 --- devel/py-sip/pkg-plist      Wed Sep 29 01:35:27 2004
 +++ devel/py-sip.new/pkg-plist  Tue Sep 28 19:24:18 2004
 @@ -3,3 +3,4 @@
  %%PYTHON_SITELIBDIR%%/sip.so
  %%PYTHON_SITELIBDIR%%/sipconfig.py
  %%PYTHON_SITELIBDIR%%/sipconfig.pyc
 +%%PYTHON_SITELIBDIR%%/sipconfig.pyo

From: Danny Pansters <danny@ricin.com>
To: freebsd-gnats-submit@freebsd.org, danny@ricin.com
Cc:  
Subject: Re: ports/72153: [patch] Update devel/py-sip to 4.1.1 and fix unfetchable
Date: Thu, 30 Sep 2004 21:28:27 +0200

 After talking to Eugene he agreed to let me become maintainer for this port. 
 Would the committer please s/eugos@gmx.net/danny@ricin.com/ ? Thanks.
 
 See also ports/72154 (x11-toolkits/py-qt)
State-Changed-From-To: open->feedback 
State-Changed-By: linimon 
State-Changed-When: Sun Oct 17 05:07:07 GMT 2004 
State-Changed-Why:  
Do any of the dependencies of this port (or, for that matter, the 
related py-qt) need to be reinstalled for this updated version (i.e. 
need a PORTVERSION bump?)  It does not seem that the shared libraries 
that are installed have a version number, but I suppose it's safer 
to check first. 

(Also note, your mailer tends to strip tabs when you are doing 
followups, which makes life harder for us port committers.) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=72153 
State-Changed-From-To: feedback->closed 
State-Changed-By: lofi 
State-Changed-When: Sun Nov 7 11:21:17 GMT 2004 
State-Changed-Why:  
Committed, thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=72153 
>Unformatted:
