1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00

Import piddle, a 2D drawing library for python.

PR:		17071
Submitted by:	Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
This commit is contained in:
Thomas Gellekum 2000-04-06 09:06:21 +00:00
parent d44c1a7d3d
commit 3a0e552ef8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27368
6 changed files with 194 additions and 0 deletions

View File

@ -117,6 +117,7 @@
SUBDIR += pgperl
SUBDIR += pgplot
SUBDIR += photopc
SUBDIR += piddle
SUBDIR += pixmap
SUBDIR += plotmtv
SUBDIR += plotutils

47
graphics/piddle/Makefile Normal file
View File

@ -0,0 +1,47 @@
# Ports collection makefile for: piddle
# Version required: 1.0b1
# Date created: 29 Feb 2000
# Whom: dom@myrddin.demon.co.uk
#
# $FreeBSD$
#
DISTNAME= piddle-1.0b1-5
PKGNAME= piddle-1.0b1
CATEGORIES= graphics python
MASTER_SITES= http://download.sourceforge.net/piddle/
EXTRACT_SUFX= .tgz
MAINTAINER= dom@myrddin.demon.co.uk
RUN_DEPENDS= python:${PORTSDIR}/lang/python
WRKSRC= ${WRKDIR}/${PKGNAME}
NO_BUILD= yes
PYTHON?= ${LOCALBASE}/bin/python
PYTHONLIBDIR?= ${LOCALBASE}/lib/python1.5
PIDDLEDIR= ${PYTHONLIBDIR}/site-packages/piddle
PIDDLEDOCDIR= ${PREFIX}/share/doc/piddle
PIDDLEEGDIR= ${PREFIX}/share/examples/piddle
post-extract:
@${ECHO} "===> Removing DOS line endings."
.for file in pdfdoc.py pdfgen.py pdfgeom.py pdfmetrics.py pdfutils.py piddlePDF.py
@${TR} -d '\r' < ${WRKSRC}/${file} > ${WRKSRC}/${file}.new
@${MV} ${WRKSRC}/${file}.new ${WRKSRC}/${file}
.endfor
do-install:
${MKDIR} ${PIDDLEDIR}
${INSTALL_DATA} ${WRKSRC}/*.py ${PIDDLEDIR}
${ECHO} 'piddle' > ${PIDDLEDIR}.pth
@${PYTHON} ${PYTHONLIBDIR}/compileall.py ${PIDDLEDIR}
@${PYTHON} -O ${PYTHONLIBDIR}/compileall.py ${PIDDLEDIR}
${MKDIR} ${PIDDLEDOCDIR}
(cd ${WRKSRC}/docs ; tar cf - *) | \
(cd ${PIDDLEDOCDIR} ; tar xf -)
${MKDIR} ${PIDDLEEGDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${PIDDLEEGDIR}
.include <bsd.port.mk>

1
graphics/piddle/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (piddle-1.0b1-5.tgz) = 011b4b33d8d2c67da3ca6587523738a0

View File

@ -0,0 +1 @@
Graphical Drawing library for Python

14
graphics/piddle/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
PIDDLE - Plug-In Drawing, Does Little Else
------------------------------------------
PIDDLE is a Python module for creating two-dimensional graphics in a
manner that is both cross-platform and cross-media; that is, it can
support screen graphics (e.g. QuickDraw, Windows, Tk) as well as file
output (PostScript, PDF, GIF, etc.). It makes use of the native 2D
drawing calls of each backend, for maximum efficiency and quality. It
works by defining a base class (piddle.Canvas) with methods for all
supported drawing primitives. A particular drawing context is provided
in the form of a derived class. PIDDLE applications will be able to
automatically select an appropriate backend for the user's environment.
WWW: http://piddle.sourceforge.net/

130
graphics/piddle/pkg-plist Normal file
View File

@ -0,0 +1,130 @@
lib/python1.5/site-packages/piddle.pth
lib/python1.5/site-packages/piddle/PixMapWrapper.py
lib/python1.5/site-packages/piddle/PixMapWrapper.pyc
lib/python1.5/site-packages/piddle/PixMapWrapper.pyo
lib/python1.5/site-packages/piddle/aigen.py
lib/python1.5/site-packages/piddle/aigen.pyc
lib/python1.5/site-packages/piddle/aigen.pyo
lib/python1.5/site-packages/piddle/discipline.py
lib/python1.5/site-packages/piddle/discipline.pyc
lib/python1.5/site-packages/piddle/discipline.pyo
lib/python1.5/site-packages/piddle/pagesizes.py
lib/python1.5/site-packages/piddle/pagesizes.pyc
lib/python1.5/site-packages/piddle/pagesizes.pyo
lib/python1.5/site-packages/piddle/pdfdoc.py
lib/python1.5/site-packages/piddle/pdfdoc.pyc
lib/python1.5/site-packages/piddle/pdfdoc.pyo
lib/python1.5/site-packages/piddle/pdfgen.py
lib/python1.5/site-packages/piddle/pdfgen.pyc
lib/python1.5/site-packages/piddle/pdfgen.pyo
lib/python1.5/site-packages/piddle/pdfgeom.py
lib/python1.5/site-packages/piddle/pdfgeom.pyc
lib/python1.5/site-packages/piddle/pdfgeom.pyo
lib/python1.5/site-packages/piddle/pdfmetrics.py
lib/python1.5/site-packages/piddle/pdfmetrics.pyc
lib/python1.5/site-packages/piddle/pdfmetrics.pyo
lib/python1.5/site-packages/piddle/pdfutils.py
lib/python1.5/site-packages/piddle/pdfutils.pyc
lib/python1.5/site-packages/piddle/pdfutils.pyo
lib/python1.5/site-packages/piddle/piddle.py
lib/python1.5/site-packages/piddle/piddle.pyc
lib/python1.5/site-packages/piddle/piddle.pyo
lib/python1.5/site-packages/piddle/piddleAI.py
lib/python1.5/site-packages/piddle/piddleAI.pyc
lib/python1.5/site-packages/piddle/piddleAI.pyo
lib/python1.5/site-packages/piddle/piddleGL.py
lib/python1.5/site-packages/piddle/piddleGL.pyc
lib/python1.5/site-packages/piddle/piddleGL.pyo
lib/python1.5/site-packages/piddle/piddlePDF.py
lib/python1.5/site-packages/piddle/piddlePDF.pyc
lib/python1.5/site-packages/piddle/piddlePDF.pyo
lib/python1.5/site-packages/piddle/piddlePIL.py
lib/python1.5/site-packages/piddle/piddlePIL.pyc
lib/python1.5/site-packages/piddle/piddlePIL.pyo
lib/python1.5/site-packages/piddle/piddlePS.py
lib/python1.5/site-packages/piddle/piddlePS.pyc
lib/python1.5/site-packages/piddle/piddlePS.pyo
lib/python1.5/site-packages/piddle/piddleQD.py
lib/python1.5/site-packages/piddle/piddleQD.pyc
lib/python1.5/site-packages/piddle/piddleQD.pyo
lib/python1.5/site-packages/piddle/piddleTK.py
lib/python1.5/site-packages/piddle/piddleTK.pyc
lib/python1.5/site-packages/piddle/piddleTK.pyo
lib/python1.5/site-packages/piddle/piddleVCR.py
lib/python1.5/site-packages/piddle/piddleVCR.pyc
lib/python1.5/site-packages/piddle/piddleVCR.pyo
lib/python1.5/site-packages/piddle/piddleWX.py
lib/python1.5/site-packages/piddle/piddleWX.pyc
lib/python1.5/site-packages/piddle/piddleWX.pyo
lib/python1.5/site-packages/piddle/piddleWxDc.py
lib/python1.5/site-packages/piddle/piddleWxDc.pyc
lib/python1.5/site-packages/piddle/piddleWxDc.pyo
lib/python1.5/site-packages/piddle/piddletest.py
lib/python1.5/site-packages/piddle/piddletest.pyc
lib/python1.5/site-packages/piddle/piddletest.pyo
lib/python1.5/site-packages/piddle/stringformat.py
lib/python1.5/site-packages/piddle/stringformat.pyc
lib/python1.5/site-packages/piddle/stringformat.pyo
share/doc/piddle/README
share/doc/piddle/index.html
share/doc/piddle/notesAI/PiddifyAI/Icon_
share/doc/piddle/notesAI/PiddifyAI/PiddifyAI.py
share/doc/piddle/notesAI/PiddifyAI/vcrExtra.py
share/doc/piddle/notesAI/Sample1.ai
share/doc/piddle/notesAI/Sample1.ai.gif
share/doc/piddle/notesAI/Sample1.py
share/doc/piddle/notesAI/Sample2.ai
share/doc/piddle/notesAI/Sample2.ai.gif
share/doc/piddle/notesAI/Sample2.py
share/doc/piddle/notesPDF/00readme.txt
share/doc/piddle/notesPDF/PythonPowered.a85
share/doc/piddle/notesPDF/PythonPowered.gif
share/doc/piddle/notesPDF/api.html
share/doc/piddle/notesPDF/index.html
share/doc/piddle/notesPDF/testpdfgen.pdf
share/doc/piddle/notesPDF/testpdfgen.py
share/doc/piddle/notesPIL/buildmetrics.py
share/doc/piddle/notesPIL/test1.py
share/doc/piddle/notesPIL/trouble.txt
share/doc/piddle/notesPiddle/discipline.txt
share/doc/piddle/notesPiddle/history.txt
share/doc/piddle/notesPiddle/license.html
share/doc/piddle/notesPiddle/stringformat.txt
share/doc/piddle/notesQD/PixMapWrapper.py
share/doc/piddle/notesQD/QDRotate.sit.hqx
share/doc/piddle/notesQD/readme.txt
share/doc/piddle/omt.gif
share/doc/piddle/piddleQD.html
share/doc/piddle/reference.html
share/doc/piddle/rottest-pil.gif
share/doc/piddle/rottest-qd.gif
share/doc/piddle/rottest-small.gif
share/doc/piddle/rottest.html
share/doc/piddle/sample.gif
share/doc/piddle/sample1-small.gif
share/doc/piddle/sample1.gif
share/doc/piddle/sample1.html
share/doc/piddle/sample2-small.gif
share/doc/piddle/sample2.html
share/doc/piddle/sample2.jpg
share/doc/piddle/stringtest-small.gif
share/doc/piddle/stringtest.gif
share/doc/piddle/stringtest.html
share/doc/piddle/white-paper.html
share/examples/piddle/HTMLPiddler.py
share/examples/piddle/README
share/examples/piddle/basics.py
share/examples/piddle/formatted-strings.py
share/examples/piddle/piddleWxDcDemo.py
share/examples/piddle/textClasses.py
share/examples/piddle/using-piddleTK.py
share/examples/piddle/using-piddleWX.py
@dirrm lib/python1.5/site-packages/piddle
@dirrm share/doc/piddle/notesAI/PiddifyAI
@dirrm share/doc/piddle/notesAI
@dirrm share/doc/piddle/notesPDF
@dirrm share/doc/piddle/notesPIL
@dirrm share/doc/piddle/notesPiddle
@dirrm share/doc/piddle/notesQD
@dirrm share/doc/piddle
@dirrm share/examples/piddle/