re-import of pygtk2 as py-gtk2
This was requested by Lubomir Sedlacik <salo@Xtrmntr.org> to match pkgsrc's naming scheme for Python pkgs. This archive contains modules that allow you to use gtk in Python programs. At present, it is a fairly complete set of bindings. Despite the low version number, this piece of software is quite useful, and is usable to write moderately complex programs. (see the examples directory for some examples of the simpler programs you could write).
This commit is contained in:
parent
63087a3b07
commit
d2d4b38577
6 changed files with 168 additions and 0 deletions
6
py-gtk2/DESCR
Normal file
6
py-gtk2/DESCR
Normal file
|
@ -0,0 +1,6 @@
|
|||
This archive contains modules that allow you to use gtk in Python
|
||||
programs. At present, it is a fairly complete set of bindings.
|
||||
Despite the low version number, this piece of software is quite
|
||||
useful, and is usable to write moderately complex programs. (see the
|
||||
examples directory for some examples of the simpler programs you could
|
||||
write).
|
39
py-gtk2/Makefile
Normal file
39
py-gtk2/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2003/04/05 20:40:55 marc Exp $
|
||||
#
|
||||
|
||||
DISTNAME= pygtk-1.99.16
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/pygtk/gtk2/}
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/1.99/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
MAINTAINER= marc@informatik.uni-bremen.de
|
||||
HOMEPAGE= http://www.gnome.org/
|
||||
COMMENT= Python bindings for GTK+2
|
||||
|
||||
CONFLICTS= ${PYPKGPREFIX}-gtk-*
|
||||
|
||||
PY_PATCHPLIST= YES
|
||||
USE_BUILDLINK2= YES
|
||||
USE_LIBTOOL= YES
|
||||
LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
|
||||
PKGCONFIG_OVERRIDE+= ${WRKSRC}/pygtk-2.0.pc.in
|
||||
GNU_CONFIGURE= YES
|
||||
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
||||
|
||||
PYTHON_VERSION_REQD>= 22
|
||||
|
||||
.include "../../mk/pthread.buildlink2.mk"
|
||||
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "native")
|
||||
CONFIGURE_ARGS+= --enable-thread
|
||||
.endif
|
||||
|
||||
.include "../../devel/libglade2/buildlink2.mk"
|
||||
.include "../../lang/python/application.mk"
|
||||
.include "../../lang/python/extension.mk"
|
||||
.include "../../math/py-Numeric/buildlink2.mk"
|
||||
.include "../../x11/gtk2/buildlink2.mk"
|
||||
|
||||
.include "../../wip/gtkglarea2/buildlink2.mk"
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
91
py-gtk2/PLIST
Normal file
91
py-gtk2/PLIST
Normal file
|
@ -0,0 +1,91 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2003/04/05 20:40:56 marc Exp $
|
||||
bin/pygtk-codegen-2.0
|
||||
include/pygtk-2.0/pygobject.h
|
||||
include/pygtk-2.0/pygtk/pygtk.h
|
||||
lib/pkgconfig/pygtk-2.0.pc
|
||||
${PYSITELIB}/gtk-2.0/atkmodule.a
|
||||
${PYSITELIB}/gtk-2.0/atkmodule.la
|
||||
${PYSITELIB}/gtk-2.0/atkmodule.so
|
||||
${PYSITELIB}/gtk-2.0/gobjectmodule.a
|
||||
${PYSITELIB}/gtk-2.0/gobjectmodule.la
|
||||
${PYSITELIB}/gtk-2.0/gobjectmodule.so
|
||||
${PYSITELIB}/gtk-2.0/gtk/__init__.py
|
||||
${PYSITELIB}/gtk-2.0/gtk/__init__.pyc
|
||||
${PYSITELIB}/gtk-2.0/gtk/__init__.pyo
|
||||
${PYSITELIB}/gtk-2.0/gtk/_gtkmodule.a
|
||||
${PYSITELIB}/gtk-2.0/gtk/_gtkmodule.la
|
||||
${PYSITELIB}/gtk-2.0/gtk/_gtkmodule.so
|
||||
${PYSITELIB}/gtk-2.0/gtk/compat.py
|
||||
${PYSITELIB}/gtk-2.0/gtk/compat.pyc
|
||||
${PYSITELIB}/gtk-2.0/gtk/compat.pyo
|
||||
${PYSITELIB}/gtk-2.0/gtk/glademodule.a
|
||||
${PYSITELIB}/gtk-2.0/gtk/glademodule.la
|
||||
${PYSITELIB}/gtk-2.0/gtk/glademodule.so
|
||||
${PYSITELIB}/gtk-2.0/gtk/glmodule.a
|
||||
${PYSITELIB}/gtk-2.0/gtk/glmodule.la
|
||||
${PYSITELIB}/gtk-2.0/gtk/glmodule.so
|
||||
${PYSITELIB}/gtk-2.0/gtk/keysyms.py
|
||||
${PYSITELIB}/gtk-2.0/gtk/keysyms.pyc
|
||||
${PYSITELIB}/gtk-2.0/gtk/keysyms.pyo
|
||||
${PYSITELIB}/gtk-2.0/pangomodule.a
|
||||
${PYSITELIB}/gtk-2.0/pangomodule.la
|
||||
${PYSITELIB}/gtk-2.0/pangomodule.so
|
||||
${PYSITELIB}/pygtk.pth
|
||||
${PYSITELIB}/pygtk.py
|
||||
${PYSITELIB}/pygtk.pyc
|
||||
${PYSITELIB}/pygtk.pyo
|
||||
share/pygtk/2.0/codegen/__init__.py
|
||||
share/pygtk/2.0/codegen/__init__.pyc
|
||||
share/pygtk/2.0/codegen/__init__.pyo
|
||||
share/pygtk/2.0/codegen/argtypes.py
|
||||
share/pygtk/2.0/codegen/argtypes.pyc
|
||||
share/pygtk/2.0/codegen/argtypes.pyo
|
||||
share/pygtk/2.0/codegen/codegen.py
|
||||
share/pygtk/2.0/codegen/codegen.pyc
|
||||
share/pygtk/2.0/codegen/codegen.pyo
|
||||
share/pygtk/2.0/codegen/definitions.py
|
||||
share/pygtk/2.0/codegen/definitions.pyc
|
||||
share/pygtk/2.0/codegen/definitions.pyo
|
||||
share/pygtk/2.0/codegen/defsparser.py
|
||||
share/pygtk/2.0/codegen/defsparser.pyc
|
||||
share/pygtk/2.0/codegen/defsparser.pyo
|
||||
share/pygtk/2.0/codegen/docextract.py
|
||||
share/pygtk/2.0/codegen/docextract.pyc
|
||||
share/pygtk/2.0/codegen/docextract.pyo
|
||||
share/pygtk/2.0/codegen/docgen.py
|
||||
share/pygtk/2.0/codegen/docgen.pyc
|
||||
share/pygtk/2.0/codegen/docgen.pyo
|
||||
share/pygtk/2.0/codegen/h2def.py
|
||||
share/pygtk/2.0/codegen/h2def.pyc
|
||||
share/pygtk/2.0/codegen/h2def.pyo
|
||||
share/pygtk/2.0/codegen/mergedefs.py
|
||||
share/pygtk/2.0/codegen/mergedefs.pyc
|
||||
share/pygtk/2.0/codegen/mergedefs.pyo
|
||||
share/pygtk/2.0/codegen/mkskel.py
|
||||
share/pygtk/2.0/codegen/mkskel.pyc
|
||||
share/pygtk/2.0/codegen/mkskel.pyo
|
||||
share/pygtk/2.0/codegen/override.py
|
||||
share/pygtk/2.0/codegen/override.pyc
|
||||
share/pygtk/2.0/codegen/override.pyo
|
||||
share/pygtk/2.0/codegen/scmexpr.py
|
||||
share/pygtk/2.0/codegen/scmexpr.pyc
|
||||
share/pygtk/2.0/codegen/scmexpr.pyo
|
||||
share/pygtk/2.0/defs/atk-types.defs
|
||||
share/pygtk/2.0/defs/atk.defs
|
||||
share/pygtk/2.0/defs/gdk-types.defs
|
||||
share/pygtk/2.0/defs/gdk.defs
|
||||
share/pygtk/2.0/defs/gtk-extrafuncs.defs
|
||||
share/pygtk/2.0/defs/gtk-types.defs
|
||||
share/pygtk/2.0/defs/gtk.defs
|
||||
share/pygtk/2.0/defs/gtkgl.defs
|
||||
share/pygtk/2.0/defs/libglade.defs
|
||||
share/pygtk/2.0/defs/pango-types.defs
|
||||
share/pygtk/2.0/defs/pango.defs
|
||||
@dirrm share/pygtk/2.0/defs
|
||||
@dirrm share/pygtk/2.0/codegen
|
||||
@dirrm share/pygtk/2.0
|
||||
@unexec ${RMDIR} %D/share/pygtk 2>/dev/null || ${TRUE}
|
||||
@dirrm ${PYSITELIB}/gtk-2.0/gtk
|
||||
@dirrm ${PYSITELIB}/gtk-2.0
|
||||
@dirrm include/pygtk-2.0/pygtk
|
||||
@dirrm include/pygtk-2.0
|
1
py-gtk2/TODO
Normal file
1
py-gtk2/TODO
Normal file
|
@ -0,0 +1 @@
|
|||
Find a sane way to coexist with pygtk1, if it's a requirement for the pkg to be imported to pkgsrc.
|
27
py-gtk2/buildlink2.mk
Normal file
27
py-gtk2/buildlink2.mk
Normal file
|
@ -0,0 +1,27 @@
|
|||
# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/04/05 20:40:56 marc Exp $
|
||||
|
||||
.if !defined(PYGTK2_BUILDLINK2_MK)
|
||||
PYGTK2_BUILDLINK2_MK= # defined
|
||||
|
||||
.include "../../lang/python/pyversion.mk"
|
||||
|
||||
BUILDLINK_PACKAGES+= pygtk2
|
||||
BUILDLINK_DEPENDS.pygtk2?= ${PYPKGPREFIX}-gtk2>=1.99.16
|
||||
BUILDLINK_PKGSRCDIR.pygtk2?= ../../wip/py-gtk2
|
||||
|
||||
EVAL_PREFIX+= BUILDLINK_PREFIX.pygtk2=${PYPKGPREFIX}-gtk2
|
||||
BUILDLINK_PREFIX.pygtk2_DEFAULT= ${LOCALBASE}
|
||||
BUILDLINK_FILES.pygtk2+= include/pygtk-2.0/pygtk/pygtk.h
|
||||
BUILDLINK_FILES.pygtk2+= include/pygtk-2.0/pygobject.h
|
||||
BUILDLINK_FILES.pygtk2+= lib/pkgconfig/pygtk-2.0.pc
|
||||
|
||||
.include "../../devel/libglade2/buildlink2.mk"
|
||||
.include "../../math/py-Numeric/buildlink2.mk"
|
||||
.include "../../x11/gtk2/buildlink2.mk"
|
||||
.include "../../wip/gtkglarea2/buildlink2.mk"
|
||||
|
||||
BUILDLINK_TARGETS+= pygtk2-buildlink
|
||||
|
||||
pygtk2-buildlink: _BUILDLINK_USE
|
||||
|
||||
.endif # PYGTK2_BUILDLINK2_MK
|
4
py-gtk2/distinfo
Normal file
4
py-gtk2/distinfo
Normal file
|
@ -0,0 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2003/04/05 20:40:56 marc Exp $
|
||||
|
||||
SHA1 (pygtk-1.99.16.tar.bz2) = b9291e2a7fc0fbd7c874cafc69d51cec69b2cba6
|
||||
Size (pygtk-1.99.16.tar.bz2) = 470299 bytes
|
Loading…
Reference in a new issue