new packages -gdbm (GNU DBM support) and -idle (split from -tools)

from new maintainer Aleksander Piotrowski
<aleksander dot piotrowski at nic dot com dot pl>

more to come
This commit is contained in:
sturm 2003-12-13 15:03:07 +00:00
parent 363266b247
commit 68a978a26f
31 changed files with 388 additions and 188 deletions

View File

@ -0,0 +1,7 @@
@NOSHARED@*shared*
# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
#
# First, look at Setup.config; configure may have set this for you.
gdbm gdbmmodule.c -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -lgdbm

3
lang/python/2.1/files/idle Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/env python@VERSION@ @LOCALBASE@/lib/python@VERSION@/Tools/idle/idle.py

View File

@ -0,0 +1,16 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL-idle,v 1.1 2003/12/13 15:03:08 sturm Exp $
#
# Clean up python symlink, if it was ours.
#
set -e
PATH=/bin
PREFIX=${PKG_PREFIX:-/usr/local}
if [ ${PREFIX}/bin/idle -ef ${PREFIX}/bin/idle2.1 ]
then
rm -f ${PREFIX}/bin/idle
fi

View File

@ -14,8 +14,10 @@ extension language for existing applications. See the
internal documentation for hints.
Flavors:
tk - builds tkinter module, depends on Tk
threads - build with thread support
no_tools - do not build tools package
WWW: ${HOMEPAGE}
no_expat - do not build expat package
no_gdbm - do not build gdbm package
no_idle - do not build idle package
no_mpz - do not build mpz package
no_tests - do not build tests package
no_tkinter - do not build tkinter package
no_tools - do not build tools package

View File

@ -12,6 +12,3 @@ Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains support for the expat XML parser.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,14 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains support for the GNU DBM library.

View File

@ -0,0 +1,14 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains an IDE for Python.

View File

@ -13,6 +13,3 @@ applications. See the internal documentation for hints.
This package contains mpz, the GNU arbitrary magnitude integer
module.
WWW: ${HOMEPAGE}

View File

@ -12,5 +12,3 @@ Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains the Python testsuite.
WWW: ${HOMEPAGE}

View File

@ -13,5 +13,3 @@ applications. See the internal documentation for hints.
This package contains the Tkinter module, for using the tk toolkit
in Python.
WWW: ${HOMEPAGE}

View File

@ -12,5 +12,3 @@ Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains extra tools that Python users may find useful.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,30 @@
#!/bin/sh
#
# $OpenBSD: INSTALL-idle,v 1.1 2003/12/13 15:03:08 sturm Exp $
#
# Set us up as the default python if there is not one already.
#
set -e
PATH=/bin
PREFIX=${PKG_PREFIX:-/usr/local}
if [ x$2 = xPOST-INSTALL ]
then
if [ ! -e ${PREFIX}/bin/idle ]
then
cd ${PREFIX}/bin
ln -s idle2.1 idle
else
cat <<EOT
+---------------
| ${PREFIX}/bin/idle already exists. If you want to use this
| package as your system default idle, make ${PREFIX}/bin/idle a
| symlink to ${PREFIX}/bin/idle2.1.
+---------------
EOT
fi
fi

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-gdbm,v 1.1 2003/12/13 15:03:08 sturm Exp $
@option no-default-conflict
@pkgcfl python-gdbm-2.1*
lib/python2.1/lib-dynload/gdbmmodule.so

View File

@ -0,0 +1,76 @@
@comment $OpenBSD: PLIST-idle,v 1.1 2003/12/13 15:03:08 sturm Exp $
@option no-default-conflict
@pkgcfl python-idle-2.1*
bin/idle2.1
lib/python2.1/Tools/idle/AutoExpand.py
lib/python2.1/Tools/idle/AutoIndent.py
lib/python2.1/Tools/idle/Bindings.py
lib/python2.1/Tools/idle/BrowserControl.py
lib/python2.1/Tools/idle/CallTipWindow.py
lib/python2.1/Tools/idle/CallTips.py
lib/python2.1/Tools/idle/ChangeLog
lib/python2.1/Tools/idle/ClassBrowser.py
lib/python2.1/Tools/idle/ColorDelegator.py
lib/python2.1/Tools/idle/Debugger.py
lib/python2.1/Tools/idle/Delegator.py
lib/python2.1/Tools/idle/EditorWindow.py
lib/python2.1/Tools/idle/FileList.py
lib/python2.1/Tools/idle/FormatParagraph.py
lib/python2.1/Tools/idle/FrameViewer.py
lib/python2.1/Tools/idle/GrepDialog.py
lib/python2.1/Tools/idle/IOBinding.py
lib/python2.1/Tools/idle/Icons/folder.gif
lib/python2.1/Tools/idle/Icons/minusnode.gif
lib/python2.1/Tools/idle/Icons/openfolder.gif
lib/python2.1/Tools/idle/Icons/plusnode.gif
lib/python2.1/Tools/idle/Icons/python.gif
lib/python2.1/Tools/idle/Icons/tk.gif
lib/python2.1/Tools/idle/IdleConf.py
lib/python2.1/Tools/idle/IdleHistory.py
lib/python2.1/Tools/idle/MultiScrolledLists.py
lib/python2.1/Tools/idle/MultiStatusBar.py
lib/python2.1/Tools/idle/NEWS.txt
lib/python2.1/Tools/idle/ObjectBrowser.py
lib/python2.1/Tools/idle/OldStackViewer.py
lib/python2.1/Tools/idle/OutputWindow.py
lib/python2.1/Tools/idle/ParenMatch.py
lib/python2.1/Tools/idle/PathBrowser.py
lib/python2.1/Tools/idle/Percolator.py
lib/python2.1/Tools/idle/PyParse.py
lib/python2.1/Tools/idle/PyShell.py
lib/python2.1/Tools/idle/README.txt
lib/python2.1/Tools/idle/RemoteInterp.py
lib/python2.1/Tools/idle/ReplaceDialog.py
lib/python2.1/Tools/idle/ScriptBinding.py
lib/python2.1/Tools/idle/ScrolledList.py
lib/python2.1/Tools/idle/SearchBinding.py
lib/python2.1/Tools/idle/SearchDialog.py
lib/python2.1/Tools/idle/SearchDialogBase.py
lib/python2.1/Tools/idle/SearchEngine.py
lib/python2.1/Tools/idle/Separator.py
lib/python2.1/Tools/idle/StackViewer.py
lib/python2.1/Tools/idle/TODO.txt
lib/python2.1/Tools/idle/ToolTip.py
lib/python2.1/Tools/idle/TreeWidget.py
lib/python2.1/Tools/idle/UndoDelegator.py
lib/python2.1/Tools/idle/WidgetRedirector.py
lib/python2.1/Tools/idle/WindowList.py
lib/python2.1/Tools/idle/ZoomHeight.py
lib/python2.1/Tools/idle/__init__.py
lib/python2.1/Tools/idle/config-unix.txt
lib/python2.1/Tools/idle/config-win.txt
lib/python2.1/Tools/idle/config.txt
lib/python2.1/Tools/idle/eventparse.py
lib/python2.1/Tools/idle/extend.txt
lib/python2.1/Tools/idle/help.txt
lib/python2.1/Tools/idle/idle
lib/python2.1/Tools/idle/idle.bat
lib/python2.1/Tools/idle/idle.py
lib/python2.1/Tools/idle/idle.pyw
lib/python2.1/Tools/idle/idlever.py
lib/python2.1/Tools/idle/keydefs.py
lib/python2.1/Tools/idle/setup.py
lib/python2.1/Tools/idle/testcode.py
@dirrm lib/python2.1/Tools/idle/Icons
@dirrm lib/python2.1/Tools/idle
@dirrm lib/python2.1/Tools

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-tools,v 1.2 2002/03/23 04:34:23 matt Exp $
@comment $OpenBSD: PLIST-tools,v 1.3 2003/12/13 15:03:08 sturm Exp $
@option no-default-conflict
@pkgcfl python-tools-2.1*
lib/python2.1/Tools/README
@ -61,75 +61,6 @@ lib/python2.1/Tools/freeze/win32.html
lib/python2.1/Tools/freeze/winmakemakefile.py
lib/python2.1/Tools/i18n/msgfmt.py
lib/python2.1/Tools/i18n/pygettext.py
lib/python2.1/Tools/idle/AutoExpand.py
lib/python2.1/Tools/idle/AutoIndent.py
lib/python2.1/Tools/idle/Bindings.py
lib/python2.1/Tools/idle/BrowserControl.py
lib/python2.1/Tools/idle/CallTipWindow.py
lib/python2.1/Tools/idle/CallTips.py
lib/python2.1/Tools/idle/ChangeLog
lib/python2.1/Tools/idle/ClassBrowser.py
lib/python2.1/Tools/idle/ColorDelegator.py
lib/python2.1/Tools/idle/Debugger.py
lib/python2.1/Tools/idle/Delegator.py
lib/python2.1/Tools/idle/EditorWindow.py
lib/python2.1/Tools/idle/FileList.py
lib/python2.1/Tools/idle/FormatParagraph.py
lib/python2.1/Tools/idle/FrameViewer.py
lib/python2.1/Tools/idle/GrepDialog.py
lib/python2.1/Tools/idle/IOBinding.py
lib/python2.1/Tools/idle/Icons/folder.gif
lib/python2.1/Tools/idle/Icons/minusnode.gif
lib/python2.1/Tools/idle/Icons/openfolder.gif
lib/python2.1/Tools/idle/Icons/plusnode.gif
lib/python2.1/Tools/idle/Icons/python.gif
lib/python2.1/Tools/idle/Icons/tk.gif
lib/python2.1/Tools/idle/IdleConf.py
lib/python2.1/Tools/idle/IdleHistory.py
lib/python2.1/Tools/idle/MultiScrolledLists.py
lib/python2.1/Tools/idle/MultiStatusBar.py
lib/python2.1/Tools/idle/NEWS.txt
lib/python2.1/Tools/idle/ObjectBrowser.py
lib/python2.1/Tools/idle/OldStackViewer.py
lib/python2.1/Tools/idle/OutputWindow.py
lib/python2.1/Tools/idle/ParenMatch.py
lib/python2.1/Tools/idle/PathBrowser.py
lib/python2.1/Tools/idle/Percolator.py
lib/python2.1/Tools/idle/PyParse.py
lib/python2.1/Tools/idle/PyShell.py
lib/python2.1/Tools/idle/README.txt
lib/python2.1/Tools/idle/RemoteInterp.py
lib/python2.1/Tools/idle/ReplaceDialog.py
lib/python2.1/Tools/idle/ScriptBinding.py
lib/python2.1/Tools/idle/ScrolledList.py
lib/python2.1/Tools/idle/SearchBinding.py
lib/python2.1/Tools/idle/SearchDialog.py
lib/python2.1/Tools/idle/SearchDialogBase.py
lib/python2.1/Tools/idle/SearchEngine.py
lib/python2.1/Tools/idle/Separator.py
lib/python2.1/Tools/idle/StackViewer.py
lib/python2.1/Tools/idle/TODO.txt
lib/python2.1/Tools/idle/ToolTip.py
lib/python2.1/Tools/idle/TreeWidget.py
lib/python2.1/Tools/idle/UndoDelegator.py
lib/python2.1/Tools/idle/WidgetRedirector.py
lib/python2.1/Tools/idle/WindowList.py
lib/python2.1/Tools/idle/ZoomHeight.py
lib/python2.1/Tools/idle/__init__.py
lib/python2.1/Tools/idle/config-unix.txt
lib/python2.1/Tools/idle/config-win.txt
lib/python2.1/Tools/idle/config.txt
lib/python2.1/Tools/idle/eventparse.py
lib/python2.1/Tools/idle/extend.txt
lib/python2.1/Tools/idle/help.txt
lib/python2.1/Tools/idle/idle
lib/python2.1/Tools/idle/idle.bat
lib/python2.1/Tools/idle/idle.py
lib/python2.1/Tools/idle/idle.pyw
lib/python2.1/Tools/idle/idlever.py
lib/python2.1/Tools/idle/keydefs.py
lib/python2.1/Tools/idle/setup.py
lib/python2.1/Tools/idle/testcode.py
lib/python2.1/Tools/modulator/EXAMPLE.py
lib/python2.1/Tools/modulator/README
lib/python2.1/Tools/modulator/ScrolledListbox.py
@ -251,8 +182,6 @@ lib/python2.1/Tools/world/world
@dirrm lib/python2.1/Tools/pynche
@dirrm lib/python2.1/Tools/modulator/Templates
@dirrm lib/python2.1/Tools/modulator
@dirrm lib/python2.1/Tools/idle/Icons
@dirrm lib/python2.1/Tools/idle
@dirrm lib/python2.1/Tools/i18n
@dirrm lib/python2.1/Tools/freeze
@dirrm lib/python2.1/Tools/faqwiz

View File

@ -0,0 +1,7 @@
@NOSHARED@*shared*
# Anthony Baxter's gdbm module. GNU dbm(3) will require -lgdbm:
#
# First, look at Setup.config; configure may have set this for you.
gdbm gdbmmodule.c -I${LOCALBASE}/include -L${LOCALBASE}/lib -lgdbm

3
lang/python/2.2/files/idle Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
/usr/bin/env python@VERSION@ @LOCALBASE@/lib/python@VERSION@/Tools/idle/idle.py

View File

@ -0,0 +1,16 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL-idle,v 1.1 2003/12/13 15:03:08 sturm Exp $
#
# Clean up python symlink, if it was ours.
#
set -e
PATH=/bin
PREFIX=${PKG_PREFIX:-/usr/local}
if [ ${PREFIX}/bin/idle -ef ${PREFIX}/bin/idle2.2 ]
then
rm -f ${PREFIX}/bin/idle
fi

View File

@ -12,7 +12,10 @@ Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
Flavors:
no_tkinter do not build Tkinter (requires tk)
no_mpz do not build mpz (requires gmp)
WWW: ${HOMEPAGE}
no_expat - do not build expat package
no_gdbm - do not build gdbm package
no_idle - do not build idle package
no_mpz - do not build mpz package
no_tests - do not build tests package
no_tkinter - do not build tkinter package
no_tools - do not build tools package

View File

@ -12,6 +12,3 @@ Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains support for the expat XML parser.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,14 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains support for the GNU DBM library.

View File

@ -0,0 +1,14 @@
Python is an interpreted, interactive, object-oriented programming
language that combines remarkable power with very clear syntax. For
an introduction to programming in Python you are referred to the
Python Tutorial. The Python Library Reference documents built-in
and standard types, constants, functions and modules. Finally, the
Python Reference Manual describes the syntax and semantics of the
core language in (perhaps too) much detail.
Python's basic power can be extended with your own modules written
in C or C++. On most systems such modules may be dynamically loaded.
Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains an IDE for Python.

View File

@ -13,6 +13,3 @@ applications. See the internal documentation for hints.
This package contains mpz, the GNU arbitrary magnitude integer
module.
WWW: ${HOMEPAGE}

View File

@ -12,5 +12,3 @@ Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains the Python testsuite.
WWW: ${HOMEPAGE}

View File

@ -13,5 +13,3 @@ applications. See the internal documentation for hints.
This package contains the Tkinter module, for using the tk toolkit
in Python.
WWW: ${HOMEPAGE}

View File

@ -12,5 +12,3 @@ Python is also adaptable as an extension language for existing
applications. See the internal documentation for hints.
This package contains extra tools that Python users may find useful.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,30 @@
#!/bin/sh
#
# $OpenBSD: INSTALL-idle,v 1.1 2003/12/13 15:03:08 sturm Exp $
#
# Set us up as the default IDLE if there is not one already.
#
set -e
PATH=/bin
PREFIX=${PKG_PREFIX:-/usr/local}
if [ x$2 = xPOST-INSTALL ]
then
if [ ! -e ${PREFIX}/bin/idle ]
then
cd ${PREFIX}/bin
ln -s idle2.2 idle
else
cat <<EOT
+---------------
| ${PREFIX}/bin/idle already exists. If you want to use this
| package as your system default IDLE, make ${PREFIX}/bin/idle a
| symlink to ${PREFIX}/bin/idle2.2.
+---------------
EOT
fi
fi

View File

@ -0,0 +1,4 @@
@comment $OpenBSD: PLIST-gdbm,v 1.1 2003/12/13 15:03:08 sturm Exp $
@option no-default-conflict
@pkgcfl python-gdbm-2.2*
lib/python2.2/lib-dynload/gdbmmodule.so

View File

@ -0,0 +1,76 @@
@comment $OpenBSD: PLIST-idle,v 1.1 2003/12/13 15:03:08 sturm Exp $
@option no-default-conflict
@pkgcfl python-idle-2.2*
bin/idle2.2
lib/python2.2/Tools/idle/AutoExpand.py
lib/python2.2/Tools/idle/AutoIndent.py
lib/python2.2/Tools/idle/Bindings.py
lib/python2.2/Tools/idle/CallTipWindow.py
lib/python2.2/Tools/idle/CallTips.py
lib/python2.2/Tools/idle/ChangeLog
lib/python2.2/Tools/idle/ClassBrowser.py
lib/python2.2/Tools/idle/ColorDelegator.py
lib/python2.2/Tools/idle/Debugger.py
lib/python2.2/Tools/idle/Delegator.py
lib/python2.2/Tools/idle/EditorWindow.py
lib/python2.2/Tools/idle/FileList.py
lib/python2.2/Tools/idle/FormatParagraph.py
lib/python2.2/Tools/idle/FrameViewer.py
lib/python2.2/Tools/idle/GrepDialog.py
lib/python2.2/Tools/idle/IOBinding.py
lib/python2.2/Tools/idle/Icons/folder.gif
lib/python2.2/Tools/idle/Icons/minusnode.gif
lib/python2.2/Tools/idle/Icons/openfolder.gif
lib/python2.2/Tools/idle/Icons/plusnode.gif
lib/python2.2/Tools/idle/Icons/python.gif
lib/python2.2/Tools/idle/Icons/tk.gif
lib/python2.2/Tools/idle/IdleConf.py
lib/python2.2/Tools/idle/IdleHistory.py
lib/python2.2/Tools/idle/MultiScrolledLists.py
lib/python2.2/Tools/idle/MultiStatusBar.py
lib/python2.2/Tools/idle/NEWS.txt
lib/python2.2/Tools/idle/ObjectBrowser.py
lib/python2.2/Tools/idle/OldStackViewer.py
lib/python2.2/Tools/idle/OutputWindow.py
lib/python2.2/Tools/idle/ParenMatch.py
lib/python2.2/Tools/idle/PathBrowser.py
lib/python2.2/Tools/idle/Percolator.py
lib/python2.2/Tools/idle/PyParse.py
lib/python2.2/Tools/idle/PyShell.py
lib/python2.2/Tools/idle/README.txt
lib/python2.2/Tools/idle/RemoteInterp.py
lib/python2.2/Tools/idle/ReplaceDialog.py
lib/python2.2/Tools/idle/ScriptBinding.py
lib/python2.2/Tools/idle/ScrolledList.py
lib/python2.2/Tools/idle/SearchBinding.py
lib/python2.2/Tools/idle/SearchDialog.py
lib/python2.2/Tools/idle/SearchDialogBase.py
lib/python2.2/Tools/idle/SearchEngine.py
lib/python2.2/Tools/idle/Separator.py
lib/python2.2/Tools/idle/StackViewer.py
lib/python2.2/Tools/idle/TODO.txt
lib/python2.2/Tools/idle/ToolTip.py
lib/python2.2/Tools/idle/TreeWidget.py
lib/python2.2/Tools/idle/UndoDelegator.py
lib/python2.2/Tools/idle/WidgetRedirector.py
lib/python2.2/Tools/idle/WindowList.py
lib/python2.2/Tools/idle/ZoomHeight.py
lib/python2.2/Tools/idle/__init__.py
lib/python2.2/Tools/idle/config-mac.txt
lib/python2.2/Tools/idle/config-unix.txt
lib/python2.2/Tools/idle/config-win.txt
lib/python2.2/Tools/idle/config.txt
lib/python2.2/Tools/idle/eventparse.py
lib/python2.2/Tools/idle/extend.txt
lib/python2.2/Tools/idle/help.txt
lib/python2.2/Tools/idle/idle
lib/python2.2/Tools/idle/idle.bat
lib/python2.2/Tools/idle/idle.py
lib/python2.2/Tools/idle/idle.pyw
lib/python2.2/Tools/idle/idlever.py
lib/python2.2/Tools/idle/keydefs.py
lib/python2.2/Tools/idle/setup.py
lib/python2.2/Tools/idle/testcode.py
@dirrm lib/python2.2/Tools/idle/Icons
@dirrm lib/python2.2/Tools/idle
@dirrm lib/python2.2/Tools

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-tools,v 1.2 2002/03/23 04:34:23 matt Exp $
@comment $OpenBSD: PLIST-tools,v 1.3 2003/12/13 15:03:08 sturm Exp $
@option no-default-conflict
@pkgcfl python-tools-2.2*
lib/python2.2/Tools/README
@ -51,75 +51,6 @@ lib/python2.2/Tools/freeze/win32.html
lib/python2.2/Tools/freeze/winmakemakefile.py
lib/python2.2/Tools/i18n/msgfmt.py
lib/python2.2/Tools/i18n/pygettext.py
lib/python2.2/Tools/idle/AutoExpand.py
lib/python2.2/Tools/idle/AutoIndent.py
lib/python2.2/Tools/idle/Bindings.py
lib/python2.2/Tools/idle/CallTipWindow.py
lib/python2.2/Tools/idle/CallTips.py
lib/python2.2/Tools/idle/ChangeLog
lib/python2.2/Tools/idle/ClassBrowser.py
lib/python2.2/Tools/idle/ColorDelegator.py
lib/python2.2/Tools/idle/Debugger.py
lib/python2.2/Tools/idle/Delegator.py
lib/python2.2/Tools/idle/EditorWindow.py
lib/python2.2/Tools/idle/FileList.py
lib/python2.2/Tools/idle/FormatParagraph.py
lib/python2.2/Tools/idle/FrameViewer.py
lib/python2.2/Tools/idle/GrepDialog.py
lib/python2.2/Tools/idle/IOBinding.py
lib/python2.2/Tools/idle/Icons/folder.gif
lib/python2.2/Tools/idle/Icons/minusnode.gif
lib/python2.2/Tools/idle/Icons/openfolder.gif
lib/python2.2/Tools/idle/Icons/plusnode.gif
lib/python2.2/Tools/idle/Icons/python.gif
lib/python2.2/Tools/idle/Icons/tk.gif
lib/python2.2/Tools/idle/IdleConf.py
lib/python2.2/Tools/idle/IdleHistory.py
lib/python2.2/Tools/idle/MultiScrolledLists.py
lib/python2.2/Tools/idle/MultiStatusBar.py
lib/python2.2/Tools/idle/NEWS.txt
lib/python2.2/Tools/idle/ObjectBrowser.py
lib/python2.2/Tools/idle/OldStackViewer.py
lib/python2.2/Tools/idle/OutputWindow.py
lib/python2.2/Tools/idle/ParenMatch.py
lib/python2.2/Tools/idle/PathBrowser.py
lib/python2.2/Tools/idle/Percolator.py
lib/python2.2/Tools/idle/PyParse.py
lib/python2.2/Tools/idle/PyShell.py
lib/python2.2/Tools/idle/README.txt
lib/python2.2/Tools/idle/RemoteInterp.py
lib/python2.2/Tools/idle/ReplaceDialog.py
lib/python2.2/Tools/idle/ScriptBinding.py
lib/python2.2/Tools/idle/ScrolledList.py
lib/python2.2/Tools/idle/SearchBinding.py
lib/python2.2/Tools/idle/SearchDialog.py
lib/python2.2/Tools/idle/SearchDialogBase.py
lib/python2.2/Tools/idle/SearchEngine.py
lib/python2.2/Tools/idle/Separator.py
lib/python2.2/Tools/idle/StackViewer.py
lib/python2.2/Tools/idle/TODO.txt
lib/python2.2/Tools/idle/ToolTip.py
lib/python2.2/Tools/idle/TreeWidget.py
lib/python2.2/Tools/idle/UndoDelegator.py
lib/python2.2/Tools/idle/WidgetRedirector.py
lib/python2.2/Tools/idle/WindowList.py
lib/python2.2/Tools/idle/ZoomHeight.py
lib/python2.2/Tools/idle/__init__.py
lib/python2.2/Tools/idle/config-mac.txt
lib/python2.2/Tools/idle/config-unix.txt
lib/python2.2/Tools/idle/config-win.txt
lib/python2.2/Tools/idle/config.txt
lib/python2.2/Tools/idle/eventparse.py
lib/python2.2/Tools/idle/extend.txt
lib/python2.2/Tools/idle/help.txt
lib/python2.2/Tools/idle/idle
lib/python2.2/Tools/idle/idle.bat
lib/python2.2/Tools/idle/idle.py
lib/python2.2/Tools/idle/idle.pyw
lib/python2.2/Tools/idle/idlever.py
lib/python2.2/Tools/idle/keydefs.py
lib/python2.2/Tools/idle/setup.py
lib/python2.2/Tools/idle/testcode.py
lib/python2.2/Tools/modulator/EXAMPLE.py
lib/python2.2/Tools/modulator/README
lib/python2.2/Tools/modulator/ScrolledListbox.py
@ -246,8 +177,6 @@ lib/python2.2/Tools/world/world
@dirrm lib/python2.2/Tools/pynche
@dirrm lib/python2.2/Tools/modulator/Templates
@dirrm lib/python2.2/Tools/modulator
@dirrm lib/python2.2/Tools/idle/Icons
@dirrm lib/python2.2/Tools/idle
@dirrm lib/python2.2/Tools/i18n
@dirrm lib/python2.2/Tools/freeze
@dirrm lib/python2.2/Tools/faqwiz

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.9 2003/06/02 15:13:42 brad Exp $
# $OpenBSD: Makefile.inc,v 1.10 2003/12/13 15:03:07 sturm Exp $
# IMPORTANT! If you make any changes to the Python ports, be sure
# to also update files/CHANGES.OpenBSD for your change. This is a
@ -6,11 +6,13 @@
# Python itself.
COMMENT= "interpreted object-oriented programming language"
COMMENT-tests= "Python test suite"
COMMENT-tools= "extra tools for Python"
COMMENT-mpz= "GNU arbitrary magnitude integer module for Python"
COMMENT-tkinter="tk GUI module for Python"
COMMENT-expat= "expat module for Python"
COMMENT-gdbm= "GNU dbm module for Python"
COMMENT-idle= "IDE for Python"
COMMENT-mpz= "GNU arbitrary magnitude integer module for Python"
COMMENT-tests= "Python test suite"
COMMENT-tkinter="tk GUI module for Python"
COMMENT-tools= "extra tools for Python"
PKGNAME= python-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
DISTNAME= Python-${VERSION}${PATCHLEVEL}
@ -23,6 +25,8 @@ EXTRACT_SUFX= .tgz
HOMEPAGE= http://www.python.org/
MAINTAINER= Aleksander Piotrowski <aleksander.piotrowski@nic.com.pl>
# PSF license <http://www.python.org/${VERSION}/license.html>
# A summary of changes to Python is required to be distributed
PERMIT_PACKAGE_CDROM= Yes
@ -30,7 +34,7 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= no_mpz no_tkinter no_expat
FLAVORS= no_expat no_gdbm no_idle no_mpz no_tkinter
FLAVOR?=
MULTI_PACKAGES= -tests -tools
@ -47,6 +51,30 @@ RUN_DEPENDS= ::lang/python/${VERSION}
# in the final package names. On architectures without shared libs,
# no_xxx flavors dictate what gets linked into the Python binary.
.if empty(FLAVOR:L:Mno_gdbm)
BUILD_DEPENDS+= ::databases/gdbm
SETUP_LOCAL+= Setup.gdbm
. if !defined(NO_SHARED_LIBS) || ${NO_SHARED_LIBS:U} != YES
MULTI_PACKAGES+= -gdbm
. else
LIB_DEPENDS+= gdbm.3::databases/gdbm
. endif
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-gdbm"
LIB_DEPENDS+= gdbm.3::databases/gdbm
.endif
.if empty(FLAVOR:L:Mno_idle) && empty(FLAVOR:L:Mno_tkinter)
. if !defined(NO_SHARED_LIBS) || ${NO_SHARED_LIBS:U} != YES
MULTI_PACKAGES+= -idle
. endif
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-idle"
RUN_DEPENDS+= ::lang/python/${VERSION},-tkinter
.endif
.if empty(FLAVOR:L:Mno_tkinter)
BUILD_DEPENDS+= ::x11/tk/8.3
SETUP_LOCAL+= Setup.tkinter
@ -98,14 +126,16 @@ LIB_DEPENDS+= expat::textproc/expat
# building the "monster" Python for platforms without shared libraries.
.if !defined(NO_SHARED_LIBS) || ${NO_SHARED_LIBS:U} != YES
FULLPKGNAME=${PKGNAME}${FLAVOR_EXT:S/-no_mpz//:S/-no_tkinter//:S/-no_expat//}
FULLPKGNAME=${PKGNAME}${FLAVOR_EXT:S/-no_expat//:S/-no_gdbm//:S/-no_idle//:S/-no_mpz//:S/-no_tkinter//}
.endif
FULLPKGNAME-tests= python-tests-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-tools= python-tools-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-mpz= python-mpz-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-tkinter= python-tkinter-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-expat= python-expat-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-gdbm= python-gdbm-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-idle= python-idle-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-mpz= python-mpz-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-tests= python-tests-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-tkinter= python-tkinter-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
FULLPKGNAME-tools= python-tools-${VERSION}${PATCHLEVEL}${PKG_PATCHLEVEL}
CONFIGURE_STYLE= autoconf dest
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
@ -151,6 +181,9 @@ post-configure:
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/pydoc ${PREFIX}/bin/pydoc${VERSION}
@sed -e "s,@VERSION@,${VERSION},g" -e "s,@LOCALBASE@,${LOCALBASE},g" \
${FILESDIR}/idle > ${WRKSRC}/idle
${INSTALL_SCRIPT} ${WRKSRC}/idle ${PREFIX}/bin/idle${VERSION}
@strip ${PREFIX}/bin/python
@cd ${WRKSRC}; tar -cf - Tools | (cd ${PREFIX}/lib/python${VERSION}; \
tar -xf -)