diff options
-rw-r--r-- | lang/diveintopython/Makefile | 5 | ||||
-rw-r--r-- | lang/diveintopython/distinfo | 10 | ||||
-rw-r--r-- | lang/diveintopython/pkg-plist | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/lang/diveintopython/Makefile b/lang/diveintopython/Makefile index 992b0b5d6965..cd23ad4cd784 100644 --- a/lang/diveintopython/Makefile +++ b/lang/diveintopython/Makefile @@ -6,8 +6,7 @@ # PORTNAME= diveintopython -PORTVERSION= 3.9.1 -PORTREVISION= 1 +PORTVERSION= 4.0.1 CATEGORIES= lang python MASTER_SITES= http://diveintopython.org/download/ DISTNAME= ${PORTNAME} @@ -32,7 +31,7 @@ PLIST_SUB+= VERSION=${VERSIONSTR} post-patch: @ ${PERL} -pi.orig -e \ 's#<div class="selfad"(.(?!</div>))*.</div>##; \ - s#<tr[^>]*>(.(?!<tr[^>]*>))*(Microsoft|Windows)(.(?!</tr>))*.</tr>##g; \ + s#<li[^>]*>(.(?!<li[^>]*>))*(Microsoft|Windows)(.(?!</li>))*.</li>##g; \ s#<td>(.(?!<td>))*/(cn/|(es|fr)/[^"]|kr/)(.(?!</td>))*.</td>##g' \ ${WRKSRC}/index.html @ ${PERL} -pi -e \ diff --git a/lang/diveintopython/distinfo b/lang/diveintopython/distinfo index b8486e0e374d..0a9c4c56e062 100644 --- a/lang/diveintopython/distinfo +++ b/lang/diveintopython/distinfo @@ -1,5 +1,5 @@ -MD5 (diveintopython/diveintopython-html-3.9-1.zip) = e514afe1866b921cd29c4e36e4d2b721 -MD5 (diveintopython/diveintopython-html-flat-3.9-1.zip) = 6fefa9ea15be355d1e07ce9efe65c480 -MD5 (diveintopython/diveintopython-pdf-3.9-1.zip) = 23c4d62ac33c637635dfbc0b31a07ef3 -MD5 (diveintopython/diveintopython-text-3.9-1.zip) = 6d3be27455568708705ba1d22cce1781 -MD5 (diveintopython/diveintopython-examples-3.9-1.zip) = 1b6cd7c2dbc8dea106f4ed58e43dc8a6 +MD5 (diveintopython/diveintopython-html-4.0-1.zip) = 908851e27deae29225fd88f1153394de +MD5 (diveintopython/diveintopython-html-flat-4.0-1.zip) = c77cd46cf6eadf00f89a0cca4af099c6 +MD5 (diveintopython/diveintopython-pdf-4.0-1.zip) = a74eb0fc6ddaa1ea90c78debf8f86634 +MD5 (diveintopython/diveintopython-text-4.0-1.zip) = 956e258069dda4a6fdb871e399f2661f +MD5 (diveintopython/diveintopython-examples-4.0-1.zip) = 5ed86dab526a0c7fab6d08f84d8bcafe diff --git a/lang/diveintopython/pkg-plist b/lang/diveintopython/pkg-plist index b3d793bbeae8..4c5bd122f87d 100644 --- a/lang/diveintopython/pkg-plist +++ b/lang/diveintopython/pkg-plist @@ -70,6 +70,7 @@ share/doc/diveintopython/images/callouts/7.png share/doc/diveintopython/images/callouts/8.png share/doc/diveintopython/images/callouts/9.png share/doc/diveintopython/images/caution.png +share/doc/diveintopython/images/diveintopython.png share/doc/diveintopython/images/dot.png share/doc/diveintopython/images/important.png share/doc/diveintopython/images/note.png @@ -153,6 +154,9 @@ share/examples/diveintopython/kgptest.py share/examples/diveintopython/makerealworddoc.py share/examples/diveintopython/odbchelper.py share/examples/diveintopython/odbchelpertest.py +share/examples/diveintopython/parsephone.py +share/examples/diveintopython/piglatin.py +share/examples/diveintopython/plural.py share/examples/diveintopython/pyfontify.py share/examples/diveintopython/regression.py share/examples/diveintopython/roman.py |