- Update to version 3.6

This commit is contained in:
Johann Visagie 2001-09-04 11:31:05 +00:00
parent a679652400
commit 74ca80fbcb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47416
4 changed files with 37 additions and 47 deletions

View file

@ -6,52 +6,43 @@
# #
PORTNAME= diveintopython PORTNAME= diveintopython
PORTVERSION= 3.5 PORTVERSION= 3.6
CATEGORIES= lang python CATEGORIES= lang python
MASTER_SITES= http://diveintopython.org/download/ MASTER_SITES= http://diveintopython.org/download/
DISTNAME= ${PORTNAME} DISTNAME= ${PORTNAME}
DISTFILES= ${DISTNAME}-html-${VERSIONSTR}.tgz \ DISTFILES= ${DISTNAME}-html-${VERSIONSTR}${EXTRACT_SUFX} \
${DISTNAME}-html-flat-${VERSIONSTR}.tgz \ ${DISTNAME}-html-flat-${VERSIONSTR}${EXTRACT_SUFX} \
${DISTNAME}-pdf-${VERSIONSTR}.tgz \ ${DISTNAME}-pdf-${VERSIONSTR}${EXTRACT_SUFX} \
${DISTNAME}-text-${VERSIONSTR}.tgz \ ${DISTNAME}-text-${VERSIONSTR}${EXTRACT_SUFX} \
${DISTNAME}-xml-${VERSIONSTR}.tgz \ ${DISTNAME}-examples-${VERSIONSTR}${EXTRACT_SUFX}
${DISTNAME}-examples-${VERSIONSTR}.tgz
DIST_SUBDIR= ${PORTNAME} DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${DISTNAME}-html-${VERSIONSTR}.tgz \ EXTRACT_ONLY= ${DISTNAME}-html-${VERSIONSTR}${EXTRACT_SUFX}
${DISTNAME}-html-flat-${VERSIONSTR}.tgz \
${DISTNAME}-pdf-${VERSIONSTR}.tgz \
${DISTNAME}-text-${VERSIONSTR}.tgz
MAINTAINER= wjv@FreeBSD.org MAINTAINER= wjv@FreeBSD.org
NO_BUILD= YES NO_BUILD= YES
DIPDIR= ${PREFIX}/share/doc/diveintopython USE_ZIP= YES
DIPDLDIR= ${DIPDIR}/download WRKSRC= ${WRKDIR}/html
DIPDLDIR= ${DOCSDIR}/download
CPIO= cpio --quiet -pdum -R CPIO= cpio --quiet -pdum -R
VERSIONSTR= ${PORTVERSION}-1 VERSIONSTR= ${PORTVERSION}-1
post-patch: post-patch:
@ ${PERL} -pi.orig -e \ @ ${PERL} -pi.orig -e \
's#<td><a[^>]*>(Windows|Mac ?OS)</a></td>##g; \ 's#<tr[^>]*>(.(?!<tr[^>]*>))*(Microsoft|Windows)(.(?!</tr>))*.</tr>##g; \
s#UNIX</a>#compressed</a>#g;s#for UNIX \(#(#g; \ s#<td>(.(?!<td>))*(cn/|fr/[a-z]*\.html)(.(?!</td>))*.</td>##g' \
s#<tr>(.(?!<tr>))*(Microsoft Word|Windows Help)(.(?!</tr>))*.</tr>##g; \ ${WRKSRC}/index.html
s#<td>(.(?!<td>))*cn/(.(?!</td>))*.</td>##g; \
s#zip#tgz#g' ${WRKSRC}/index.html
@ ${PERL} -pi -e \ @ ${PERL} -pi -e \
's#http[^>]*(download/${PORTNAME}-examples-${VERSIONSTR}.tgz)#$$1#' \ 's#http[^>]*(download/${PORTNAME}-examples-${VERSIONSTR}.zip)#$$1#' \
${WRKSRC}/*.html ${WRKSRC}/*.html
do-install: do-install:
@ ${MKDIR} ${DIPDLDIR} @ ${MKDIR} ${DIPDLDIR}
@ cd ${WRKSRC} && find *.html *.css images \ @ cd ${WRKSRC} && find *.html *.css images \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DIPDIR} | ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.for format in html pdf txt .for format in html html-flat pdf text examples
@ ${INSTALL_DATA} ${WRKSRC}/${format}/${PORTNAME}.${format} \
${DIPDLDIR}
.endfor
.for format in html html-flat pdf text xml examples
@ ${INSTALL_DATA} \ @ ${INSTALL_DATA} \
${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.tgz \ ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.zip \
${DIPDLDIR} ${DIPDLDIR}
.endfor .endfor

View file

@ -1,6 +1,5 @@
MD5 (diveintopython/diveintopython-html-3.5-1.tgz) = e12053f26e661152d1af77ad5626591b MD5 (diveintopython/diveintopython-html-3.6-1.zip) = 732609d4b9db085b4ddd70439e787015
MD5 (diveintopython/diveintopython-html-flat-3.5-1.tgz) = 6dcf5c824e41299e0ad945025f829cb9 MD5 (diveintopython/diveintopython-html-flat-3.6-1.zip) = 06e631f6e4effa63d1314682e41b7ed8
MD5 (diveintopython/diveintopython-pdf-3.5-1.tgz) = e6c945ca945abdb6af68eef188b76591 MD5 (diveintopython/diveintopython-pdf-3.6-1.zip) = d84eb988895f5c22bc807228ba8ae19c
MD5 (diveintopython/diveintopython-text-3.5-1.tgz) = d4c3257b89310ac544f2c83bae2d8766 MD5 (diveintopython/diveintopython-text-3.6-1.zip) = d8f401ea297627bd3e4bfd057f6c0db3
MD5 (diveintopython/diveintopython-xml-3.5-1.tgz) = 25c58b362521a9e7742da136651b1fb1 MD5 (diveintopython/diveintopython-examples-3.6-1.zip) = ad09c6ed21fdf2357489a2dd77b2628d
MD5 (diveintopython/diveintopython-examples-3.5-1.tgz) = bb6ccadb3c02f5d82c691e90ed725f9c

View file

@ -1,10 +1,10 @@
"Dive Into Python" is a Python tutorial for experienced programmers. "Dive Into Python" is a Python tutorial for experienced programmers.
The book is published under the GNU Free Documentation License, and is The book is published under the GNU Free Documentation License and is
available in a variety of formats. It is currently being translated into a available in a variety of formats. It is currently being translated into a
number of languages. number of languages.
Author: Mark Pilgrim <f8dy@diveintopython.org> Author: Mark Pilgrim <f8dy@diveintopython.org>
WWW: http://diveintopython.org/ WWW: http://diveintopython.org/
-- Johann Visagie <johann@egenetics.com> -- Johann Visagie <wjv@FreeBSD.org>

View file

@ -20,16 +20,13 @@ share/doc/diveintopython/dialect_locals.html
share/doc/diveintopython/dialect_quoting.html share/doc/diveintopython/dialect_quoting.html
share/doc/diveintopython/dialect_re.html share/doc/diveintopython/dialect_re.html
share/doc/diveintopython/dialect_sgmllib.html share/doc/diveintopython/dialect_sgmllib.html
share/doc/diveintopython/dialect_summary.html
share/doc/diveintopython/diveintopython.css share/doc/diveintopython/diveintopython.css
share/doc/diveintopython/download/diveintopython-examples-3.5-1.tgz share/doc/diveintopython/download/diveintopython-examples-3.6-1.zip
share/doc/diveintopython/download/diveintopython-html-3.5-1.tgz share/doc/diveintopython/download/diveintopython-html-3.6-1.zip
share/doc/diveintopython/download/diveintopython-html-flat-3.5-1.tgz share/doc/diveintopython/download/diveintopython-html-flat-3.6-1.zip
share/doc/diveintopython/download/diveintopython-pdf-3.5-1.tgz share/doc/diveintopython/download/diveintopython-pdf-3.6-1.zip
share/doc/diveintopython/download/diveintopython-text-3.5-1.tgz share/doc/diveintopython/download/diveintopython-text-3.6-1.zip
share/doc/diveintopython/download/diveintopython-xml-3.5-1.tgz
share/doc/diveintopython/download/diveintopython.html
share/doc/diveintopython/download/diveintopython.pdf
share/doc/diveintopython/download/diveintopython.txt
share/doc/diveintopython/examples.html share/doc/diveintopython/examples.html
share/doc/diveintopython/fdl.html share/doc/diveintopython/fdl.html
share/doc/diveintopython/fdl_aggregation.html share/doc/diveintopython/fdl_aggregation.html
@ -61,9 +58,6 @@ share/doc/diveintopython/fileinfo_summary.html
share/doc/diveintopython/fileinfo_userdict.html share/doc/diveintopython/fileinfo_userdict.html
share/doc/diveintopython/fudd.html share/doc/diveintopython/fudd.html
share/doc/diveintopython/furtherreading.html share/doc/diveintopython/furtherreading.html
share/doc/diveintopython/gpl.html
share/doc/diveintopython/gpl_howto.html
share/doc/diveintopython/gpl_terms.html
share/doc/diveintopython/history.html share/doc/diveintopython/history.html
share/doc/diveintopython/images/callouts/1.png share/doc/diveintopython/images/callouts/1.png
share/doc/diveintopython/images/callouts/10.png share/doc/diveintopython/images/callouts/10.png
@ -82,6 +76,10 @@ share/doc/diveintopython/images/note.png
share/doc/diveintopython/images/tip.png share/doc/diveintopython/images/tip.png
share/doc/diveintopython/images/warning.png share/doc/diveintopython/images/warning.png
share/doc/diveintopython/index.html share/doc/diveintopython/index.html
share/doc/diveintopython/kgp_divein.html
share/doc/diveintopython/kgp_dtd.html
share/doc/diveintopython/license.html
share/doc/diveintopython/license_terms.html
share/doc/diveintopython/odbchelper_dict.html share/doc/diveintopython/odbchelper_dict.html
share/doc/diveintopython/odbchelper_divein.html share/doc/diveintopython/odbchelper_divein.html
share/doc/diveintopython/odbchelper_docstring.html share/doc/diveintopython/odbchelper_docstring.html
@ -99,11 +97,13 @@ share/doc/diveintopython/odbchelper_tuple.html
share/doc/diveintopython/odbchelper_vardef.html share/doc/diveintopython/odbchelper_vardef.html
share/doc/diveintopython/olde.html share/doc/diveintopython/olde.html
share/doc/diveintopython/preface.html share/doc/diveintopython/preface.html
share/doc/diveintopython/regression_divein.html
share/doc/diveintopython/regression_path.html
share/doc/diveintopython/roman_bugs.html share/doc/diveintopython/roman_bugs.html
share/doc/diveintopython/roman_change.html share/doc/diveintopython/roman_change.html
share/doc/diveintopython/roman_divein.html share/doc/diveintopython/roman_divein.html
share/doc/diveintopython/roman_failure.html share/doc/diveintopython/roman_failure.html
share/doc/diveintopython/roman_getopt.html share/doc/diveintopython/roman_postscript.html
share/doc/diveintopython/roman_refactoring.html share/doc/diveintopython/roman_refactoring.html
share/doc/diveintopython/roman_romantest.html share/doc/diveintopython/roman_romantest.html
share/doc/diveintopython/roman_sanity.html share/doc/diveintopython/roman_sanity.html