mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
add diveintopython
A free Python tutorial book that is "not For Dummies(tm)" PR: 26697 Submitted by: Johann Visagie <johann@egenetics.com>
This commit is contained in:
parent
45fd61e26b
commit
03cf8c13fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41970
@ -19,6 +19,7 @@
|
||||
SUBDIR += compaq-cc
|
||||
SUBDIR += crossgo32-f77
|
||||
SUBDIR += cu-prolog
|
||||
SUBDIR += diveintopython
|
||||
SUBDIR += dylan
|
||||
SUBDIR += egcs
|
||||
SUBDIR += eiffel
|
||||
|
57
lang/diveintopython/Makefile
Normal file
57
lang/diveintopython/Makefile
Normal file
@ -0,0 +1,57 @@
|
||||
# New ports collection makefile for: py-diveintopython
|
||||
# Date created: 15 March 2001
|
||||
# Whom: Johann Visagie <johann@egenetics.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= diveintopython
|
||||
PORTVERSION= 3.1.1
|
||||
CATEGORIES= lang python
|
||||
MASTER_SITES= http://diveintopython.org/download/
|
||||
DISTNAME= ${PORTNAME}
|
||||
DISTFILES= ${DISTNAME}-html-${VERSIONSTR}.tgz \
|
||||
${DISTNAME}-html-flat-${VERSIONSTR}.tgz \
|
||||
${DISTNAME}-pdf-${VERSIONSTR}.tgz \
|
||||
${DISTNAME}-text-${VERSIONSTR}.tgz \
|
||||
${DISTNAME}-xml-${VERSIONSTR}.tgz
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
EXTRACT_ONLY= ${DISTNAME}-html-${VERSIONSTR}.tgz \
|
||||
${DISTNAME}-html-flat-${VERSIONSTR}.tgz \
|
||||
${DISTNAME}-pdf-${VERSIONSTR}.tgz \
|
||||
${DISTNAME}-text-${VERSIONSTR}.tgz
|
||||
|
||||
MAINTAINER= johann@egenetics.com
|
||||
|
||||
NO_BUILD= YES
|
||||
DIPDIR= ${PREFIX}/share/doc/diveintopython
|
||||
DIPDLDIR= ${DIPDIR}/download
|
||||
CPIO= cpio --quiet -pdum -R
|
||||
# Is there a way of doing this without using a temporary variable?
|
||||
VERSIONTMP= ${PORTVERSION:S|.|-|g}
|
||||
VERSIONSTR= ${VERSIONTMP:S|-|.|}
|
||||
|
||||
post-patch:
|
||||
@ ${PERL} -pi.orig -e \
|
||||
's#<td><a[^>]*>(Windows|Mac ?OS)</a></td>##g; \
|
||||
s#UNIX</a>#compressed</a>#g;s#for UNIX \(#(#g; \
|
||||
s#<tr>(.(?!<tr>))*(Microsoft Word|Windows Help)(.(?!</tr>))*.</tr>##g; \
|
||||
s#<td>(.(?!<td>))*cn/(.(?!</td>))*.</td>##g' \
|
||||
${WRKSRC}/index.html
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} ${DIPDLDIR}
|
||||
@ cd ${WRKSRC} && find *.html *.css images \
|
||||
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DIPDIR}
|
||||
.for format in html pdf txt
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/${format}/${PORTNAME}.${format} \
|
||||
${DIPDLDIR}
|
||||
.endfor
|
||||
.for format in html html-flat pdf text xml
|
||||
@ ${INSTALL_DATA} \
|
||||
${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}-${format}-${VERSIONSTR}.tgz \
|
||||
${DIPDLDIR}
|
||||
.endfor
|
||||
@ cd ${WRKDIR} && ${TAR} czf ${DIPDLDIR}/examples.tgz py/*
|
||||
|
||||
.include <bsd.port.mk>
|
5
lang/diveintopython/distinfo
Normal file
5
lang/diveintopython/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
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
|
1
lang/diveintopython/pkg-comment
Normal file
1
lang/diveintopython/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A free Python tutorial book that is "not For Dummies(tm)"
|
10
lang/diveintopython/pkg-descr
Normal file
10
lang/diveintopython/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
"Dive Into Python" is a Python tutorial for experienced programmers.
|
||||
|
||||
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
|
||||
number of languages.
|
||||
|
||||
Author: Mark Pilgrim <f8dy@diveintopython.org>
|
||||
WWW: http://diveintopython.org/
|
||||
|
||||
-- Johann Visagie <johann@egenetics.com>
|
104
lang/diveintopython/pkg-plist
Normal file
104
lang/diveintopython/pkg-plist
Normal file
@ -0,0 +1,104 @@
|
||||
share/doc/diveintopython/about.html
|
||||
share/doc/diveintopython/abstracts.html
|
||||
share/doc/diveintopython/apihelper_alltogether.html
|
||||
share/doc/diveintopython/apihelper_andor.html
|
||||
share/doc/diveintopython/apihelper_builtin.html
|
||||
share/doc/diveintopython/apihelper_divein.html
|
||||
share/doc/diveintopython/apihelper_filter.html
|
||||
share/doc/diveintopython/apihelper_getattr.html
|
||||
share/doc/diveintopython/apihelper_lambda.html
|
||||
share/doc/diveintopython/apihelper_optional.html
|
||||
share/doc/diveintopython/apihelper_summary.html
|
||||
share/doc/diveintopython/chef.html
|
||||
share/doc/diveintopython/dialect_basehtml.html
|
||||
share/doc/diveintopython/dialect_dialectizer.html
|
||||
share/doc/diveintopython/dialect_dictsub.html
|
||||
share/doc/diveintopython/dialect_divein.html
|
||||
share/doc/diveintopython/dialect_extract.html
|
||||
share/doc/diveintopython/dialect_locals.html
|
||||
share/doc/diveintopython/dialect_quoting.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.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
|
||||
share/doc/diveintopython/fdl_applicability.html
|
||||
share/doc/diveintopython/fdl_collections.html
|
||||
share/doc/diveintopython/fdl_combining.html
|
||||
share/doc/diveintopython/fdl_copying.html
|
||||
share/doc/diveintopython/fdl_copyinginquantity.html
|
||||
share/doc/diveintopython/fdl_future.html
|
||||
share/doc/diveintopython/fdl_howto.html
|
||||
share/doc/diveintopython/fdl_modifications.html
|
||||
share/doc/diveintopython/fdl_termination.html
|
||||
share/doc/diveintopython/fdl_translation.html
|
||||
share/doc/diveintopython/fileinfo_alltogether.html
|
||||
share/doc/diveintopython/fileinfo_class.html
|
||||
share/doc/diveintopython/fileinfo_classattributes.html
|
||||
share/doc/diveintopython/fileinfo_divein.html
|
||||
share/doc/diveintopython/fileinfo_exception.html
|
||||
share/doc/diveintopython/fileinfo_files.html
|
||||
share/doc/diveintopython/fileinfo_for.html
|
||||
share/doc/diveintopython/fileinfo_fromimport.html
|
||||
share/doc/diveintopython/fileinfo_instantiation.html
|
||||
share/doc/diveintopython/fileinfo_modules.html
|
||||
share/doc/diveintopython/fileinfo_morespecial.html
|
||||
share/doc/diveintopython/fileinfo_os.html
|
||||
share/doc/diveintopython/fileinfo_private.html
|
||||
share/doc/diveintopython/fileinfo_specialmethods.html
|
||||
share/doc/diveintopython/fileinfo_summary.html
|
||||
share/doc/diveintopython/fileinfo_userdict.html
|
||||
share/doc/diveintopython/fudd.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/images/callouts/1.png
|
||||
share/doc/diveintopython/images/callouts/10.png
|
||||
share/doc/diveintopython/images/callouts/2.png
|
||||
share/doc/diveintopython/images/callouts/3.png
|
||||
share/doc/diveintopython/images/callouts/4.png
|
||||
share/doc/diveintopython/images/callouts/5.png
|
||||
share/doc/diveintopython/images/callouts/6.png
|
||||
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/important.png
|
||||
share/doc/diveintopython/images/note.png
|
||||
share/doc/diveintopython/images/tip.png
|
||||
share/doc/diveintopython/images/warning.png
|
||||
share/doc/diveintopython/index.html
|
||||
share/doc/diveintopython/odbchelper_dict.html
|
||||
share/doc/diveintopython/odbchelper_divein.html
|
||||
share/doc/diveintopython/odbchelper_docstring.html
|
||||
share/doc/diveintopython/odbchelper_funcdef.html
|
||||
share/doc/diveintopython/odbchelper_indenting.html
|
||||
share/doc/diveintopython/odbchelper_join.html
|
||||
share/doc/diveintopython/odbchelper_list.html
|
||||
share/doc/diveintopython/odbchelper_map.html
|
||||
share/doc/diveintopython/odbchelper_multiassign.html
|
||||
share/doc/diveintopython/odbchelper_objects.html
|
||||
share/doc/diveintopython/odbchelper_stringformatting.html
|
||||
share/doc/diveintopython/odbchelper_summary.html
|
||||
share/doc/diveintopython/odbchelper_testing.html
|
||||
share/doc/diveintopython/odbchelper_tuple.html
|
||||
share/doc/diveintopython/odbchelper_vardef.html
|
||||
share/doc/diveintopython/olde.html
|
||||
share/doc/diveintopython/preface.html
|
||||
share/doc/diveintopython/tips.html
|
||||
share/doc/diveintopython/toc.html
|
||||
@dirrm share/doc/diveintopython/images/callouts
|
||||
@dirrm share/doc/diveintopython/images
|
||||
@dirrm share/doc/diveintopython/download
|
||||
@dirrm share/doc/diveintopython
|
Loading…
Reference in New Issue
Block a user