Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 May 2001 11:10:31 +0200 (SAST)
From:      johann@egenetics.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27175: Port update: lang/diveintopython (MAINTAINER)
Message-ID:  <200105070910.f479AV437009@shuffle.egenetics.com>

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

>Number:         27175
>Category:       ports
>Synopsis:       Port update: lang/diveintopython (MAINTAINER)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 07 02:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Johann Visagie
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Electric Genetics
>Environment:
>Description:
- Update Dive Into Python (lang/diveintopython) to version 3.2-1
- At the request of the author, download (instead of recreate) the examples
  tarball during port installation.
>How-To-Repeat:
>Fix:
diff -ruN diveintopython.bak/Makefile diveintopython/Makefile
--- diveintopython.bak/Makefile	Mon May  7 11:08:15 2001
+++ diveintopython/Makefile	Mon May  7 11:07:57 2001
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	diveintopython
-PORTVERSION=	3.1.1
+PORTVERSION=	3.2.1
 CATEGORIES=	lang python
 MASTER_SITES=	http://diveintopython.org/download/
 DISTNAME=	${PORTNAME}
@@ -14,7 +14,8 @@
 		${DISTNAME}-html-flat-${VERSIONSTR}.tgz \
 		${DISTNAME}-pdf-${VERSIONSTR}.tgz \
 		${DISTNAME}-text-${VERSIONSTR}.tgz \
-		${DISTNAME}-xml-${VERSIONSTR}.tgz
+		${DISTNAME}-xml-${VERSIONSTR}.tgz \
+		${DISTNAME}-examples-${VERSIONSTR}.tgz
 DIST_SUBDIR=	${PORTNAME}
 EXTRACT_ONLY=	${DISTNAME}-html-${VERSIONSTR}.tgz \
 		${DISTNAME}-html-flat-${VERSIONSTR}.tgz \
@@ -38,6 +39,9 @@
 	   s#<tr>(.(?!<tr>))*(Microsoft Word|Windows Help)(.(?!</tr>))*.</tr>##g; \
 	   s#<td>(.(?!<td>))*cn/(.(?!</td>))*.</td>##g' \
 	  ${WRKSRC}/index.html
+	@ ${PERL} -pi.orig -e \
+	  's#http[^>]*(download/${PORTNAME}-examples-${VERSIONSTR}.tgz)#$$1#' \
+	  ${WRKSRC}/odbchelper_divein.html
 
 do-install:
 	@ ${MKDIR} ${DIPDLDIR}
@@ -47,11 +51,10 @@
 	@ ${INSTALL_DATA} ${WRKSRC}/${format}/${PORTNAME}.${format} \
 	  ${DIPDLDIR}
 .endfor
-.for format in html html-flat pdf text xml
+.for format in html html-flat pdf text xml examples
 	@ ${INSTALL_DATA} \
 	  ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.tgz \
 	  ${DIPDLDIR}
 .endfor
-	@ cd ${WRKDIR} && ${TAR} czf ${DIPDLDIR}/examples.tgz py/*
 
 .include <bsd.port.mk>
diff -ruN diveintopython.bak/distinfo diveintopython/distinfo
--- diveintopython.bak/distinfo	Mon May  7 11:08:15 2001
+++ diveintopython/distinfo	Mon May  7 10:47:45 2001
@@ -1,5 +1,6 @@
-MD5 (diveintopython/diveintopython-html-3.1-1.tgz) = 890cf0eb6bee40ccb684c6dd4f0f3fed
-MD5 (diveintopython/diveintopython-html-flat-3.1-1.tgz) = 528f495e346141b8994cc5a44d128309
-MD5 (diveintopython/diveintopython-pdf-3.1-1.tgz) = 1dbe0ce9acf7c43783dffcc78cafce80
-MD5 (diveintopython/diveintopython-text-3.1-1.tgz) = fe67aefdc47b36dc6aedf15fff0c8d0a
-MD5 (diveintopython/diveintopython-xml-3.1-1.tgz) = bb42e4facedcd79df6796a1a4bc3c86d
+MD5 (diveintopython/diveintopython-html-3.2-1.tgz) = 5686f2c7e96596a480b14f6408f5567e
+MD5 (diveintopython/diveintopython-html-flat-3.2-1.tgz) = 500005f3bd900edb69e6488841c97a74
+MD5 (diveintopython/diveintopython-pdf-3.2-1.tgz) = dc2a23540265f62c987aff5cff04c854
+MD5 (diveintopython/diveintopython-text-3.2-1.tgz) = e8739159e1588c125a7e7b2c40c2a41c
+MD5 (diveintopython/diveintopython-xml-3.2-1.tgz) = 8572f5f5035ac4983ad22908150c4c72
+MD5 (diveintopython/diveintopython-examples-3.2-1.tgz) = 23e291fbf6d06dd1dffe2bfa71a4a08d
diff -ruN diveintopython.bak/pkg-plist diveintopython/pkg-plist
--- diveintopython.bak/pkg-plist	Mon May  7 11:08:15 2001
+++ diveintopython/pkg-plist	Mon May  7 11:03:43 2001
@@ -10,6 +10,7 @@
 share/doc/diveintopython/apihelper_optional.html
 share/doc/diveintopython/apihelper_summary.html
 share/doc/diveintopython/chef.html
+share/doc/diveintopython/dialect_alltogether.html
 share/doc/diveintopython/dialect_basehtml.html
 share/doc/diveintopython/dialect_dialectizer.html
 share/doc/diveintopython/dialect_dictsub.html
@@ -17,17 +18,18 @@
 share/doc/diveintopython/dialect_extract.html
 share/doc/diveintopython/dialect_locals.html
 share/doc/diveintopython/dialect_quoting.html
+share/doc/diveintopython/dialect_re.html
 share/doc/diveintopython/dialect_sgmllib.html
 share/doc/diveintopython/diveintopython.css
-share/doc/diveintopython/download/diveintopython-html-3.1-1.tgz
-share/doc/diveintopython/download/diveintopython-html-flat-3.1-1.tgz
-share/doc/diveintopython/download/diveintopython-pdf-3.1-1.tgz
-share/doc/diveintopython/download/diveintopython-text-3.1-1.tgz
-share/doc/diveintopython/download/diveintopython-xml-3.1-1.tgz
+share/doc/diveintopython/download/diveintopython-examples-3.2-1.tgz
+share/doc/diveintopython/download/diveintopython-html-3.2-1.tgz
+share/doc/diveintopython/download/diveintopython-html-flat-3.2-1.tgz
+share/doc/diveintopython/download/diveintopython-pdf-3.2-1.tgz
+share/doc/diveintopython/download/diveintopython-text-3.2-1.tgz
+share/doc/diveintopython/download/diveintopython-xml-3.2-1.tgz
 share/doc/diveintopython/download/diveintopython.html
 share/doc/diveintopython/download/diveintopython.pdf
 share/doc/diveintopython/download/diveintopython.txt
-share/doc/diveintopython/download/examples.tgz
 share/doc/diveintopython/examples.html
 share/doc/diveintopython/fdl.html
 share/doc/diveintopython/fdl_aggregation.html
>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?200105070910.f479AV437009>